rspace-online/backlog/tasks/task-143 - Customizable-Das...

2.4 KiB

id title status assignee created_date updated_date labels dependencies references priority
TASK-143 Customizable Dashboard with Persistent Home Icon Done
2026-04-11 03:18 2026-04-11 03:18
dashboard
ux
tab-bar
shared/components/rstack-tab-bar.ts
shared/components/rstack-user-dashboard.ts
server/dashboard-routes.ts
server/shell.ts
shared/tab-cache.ts
server/index.ts
medium

Description

Add always-visible home button in tab bar and customizable widget dashboard system. Persistent home icon toggles dashboard overlay even with tabs open. 8 widget cards (tasks, calendar, activity, members, tools, quick actions, wallet, flows) with toggle/reorder customization persisted to localStorage. Dashboard summary API aggregates data from multiple modules in a single endpoint.

Acceptance Criteria

  • #1 Home icon always visible in tab bar, even with tabs open
  • #2 Click home icon toggles dashboard overlay on/off
  • #3 Dashboard shows when all tabs closed (existing behavior preserved)
  • #4 8 widget cards: tasks, calendar, activity, members, tools, quick actions, wallet, flows
  • #5 Customize mode with toggle checkboxes and reorder arrows
  • #6 Widget config persisted to localStorage per space
  • #7 Dashboard summary API at /api/dashboard-summary/:space
  • #8 Auth-gated widgets (activity, wallet) show sign-in prompts when logged out

Final Summary

Implemented persistent home icon in tab bar and full widget-based dashboard system.\n\nFiles modified:\n- rstack-tab-bar.ts: Permanent home button with home-click event and home-active observed attribute\n- rstack-user-dashboard.ts: Full refactor with widget registry, config persistence, customize mode, 8 widget cards with per-widget data loading\n- server/shell.ts: home-click listener for dashboard overlay toggle, home-active tracking on layer-switch and dashboard-navigate\n- shared/tab-cache.ts: Clear home-active on popstate back-to-tab\n- server/dashboard-routes.ts (NEW): GET /api/dashboard-summary/:space aggregation endpoint\n- server/index.ts: Mount dashboard routes\n\nCommit: e632858\nDeployed to rspace.online and verified API returns tasks/calendar/flows data.