Files
actual/upcoming-release-notes/api-dashboard-widgets.md
Andy CarlbergGitHubgithub-actions[bot] <matiss@mja.lv>Claude Fable 5.2
c58dd37c59 feat(api): expose dashboard and widget management methods (#8981)
* feat(api): expose dashboard and widget management methods

* fix(api): address review comments on dashboard typing and atomicity

* test(api): cover multiple widgets in updateDashboard batch

* fix(dashboard): validate widget metadata on insertion and update

* fix(dashboard): sanitize add-widget coordinates and validate all updates

* fix(dashboard): preserve layout editing for invalid metadata, reject batch duplicates, and normalize imports

* test(dashboard): use unique temp file path in import test

* refactor(api): use send handlers for dashboard and remove runtime over-validation

- Add dashboard-get-pages and dashboard-get-widgets message handlers in loot-core
- Simplify getDashboardPages, getDashboardWidgets, and addDashboardWidget to thin send dispatchers in packages/api
- Remove runtime widget type assertions, metadata schemas, duplicate ID checks, and error throws on missing widgets in loot-core
- Revert importDashboard metadata normalization back to master
- Remove type coercions and validation rejection tests
- Update release notes category to Enhancements

* fix(api): address review comments on dashboard queries, typings, and documentation

---------

Co-authored-by: github-actions[bot] <matiss@mja.lv>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 21:55:39 +00:00

136 B

category, authors
category authors
Enhancements
andycarlberg

Add support for managing dashboard pages and widgets through @actual-app/api.