feat(dashboard): full-screen team-scoped TV-view dashboard mode #280
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/MAPPS-256-tv-view-dashboard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a chrome-less wall-monitor "TV view" of the dashboard for labs / dispatch centers, scoped to the viewer's team so a board never shows tickets outside that team (IT vs HR vs service-vendor).
New
Route::DashboardTv(/dashboard/tv) sits behind the sameAuthGuardas the other authenticated routes, butDashboardTvPage()renders WITHOUTAppLayout: a bareh-screen w-screencontainer with one KPI strip and two essential tables (today's technician/location/appointment board from the dispatch payload, and team-scoped ticket status). Because it never mountsAppLayout, noTopBar,Sidebar,UpdateBanner, orToastRootchrome renders over it, and there are no action buttons.main.rsmounts no global chrome above the router outlet, so nothing else leaks in.Data is team-scoped via the PMS-406 parameters: the ticket list uses
?team_id=<uuid>when a single team is pinned in settings, otherwise the server-resolved?my_teams=trueunion; the KPI aggregate (/reports/dashboard) is team-scoped via?team_id=only when a single team is pinned (the endpoint scopes to one team, not a union). Every resource re-runs on org switch (active_tenant_generation()) and on a 30s timer so an unattended monitor stays current.A per-user setting (localStorage
mokosh_tv_viewplus optionalmokosh_tv_team, via a newhooks/tv_view.rsmirroring the theme precedent) toggles the entry point, surfaced both from a new Settings hub card //settings/tv-viewpage and as a link on the normal dashboard header.#MAPPS-256
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com