You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[dashboard] No way for consumer modules to contribute cards/widgets to the bundled dashboard #203
The bundled dashboard module renders a fixed set of cards (stats.py returns a hardcoded dict; module.py exposes only register_routes + register_menu_items). There's no registry or lifecycle hook for a consumer module to contribute a dashboard card/widget, so any app-specific dashboard content must be a separate page.
Environment
Framework checkout: v0.0.17-5-g2b079c9; smpy / published simple_module_* / @simple-module-py/*: 0.0.17
Python 3.12.3, uv 0.11.7, node v24.15.0, Linux (Ubuntu)
Found while building a real consumer app (Invoice Manager) on the framework.
Impact
For this Invoice Manager I had to build a separate per-currency dashboard inside the invoices module rather than contributing tiles to the bundled one. A register_dashboard_cards(registry) style hook (mirroring register_menu_items/register_permissions) would let modules add cards to the shared dashboard.
Suggestion
Add a dashboard card/widget contribution registry + lifecycle hook, or document that the bundled dashboard is intentionally non-extensible and consumers should build their own.
Resolved by design in #209 (v0.0.19) — the bundled dashboard is intentionally non-extensible; consumers build their own dashboard page. Documented in docs/modules/dashboard.md.
Activity
Resolve GH #199, #200, #203, #206 (background_tasks beat, test fixtur…
antosubash commentedon Jun 16, 2026
Resolved by design in #209 (v0.0.19) — the bundled dashboard is intentionally non-extensible; consumers build their own dashboard page. Documented in docs/modules/dashboard.md.