-
Notifications
You must be signed in to change notification settings - Fork 583
Description
Describe the feature
Create a dedicated dashboard-frontend cleanup workstream so the route shell, config/overview pages, and large interaction containers stop collapsing unrelated responsibilities into the same hotspots.
Primary files and seams:
dashboard/frontend/src/App.tsxdashboard/frontend/src/pages/DashboardPage.tsxdashboard/frontend/src/pages/ConfigPage.tsxdashboard/frontend/src/pages/SetupWizardPage.tsxdashboard/frontend/src/pages/BuilderPage.tsxdashboard/frontend/src/components/ChatComponent.tsxdashboard/frontend/src/components/ExpressionBuilder.tsx
Primary layer
global level
Why this layer?
This is a route-shell/page/container architecture cleanup across the dashboard frontend. It does not map cleanly to signal or plugin logic.
Why do you need this feature?
The current repo audit confirmed that the non-OpenClaw dashboard frontend still relies on a handful of oversized orchestration hotspots:
App.tsxowns route shell, auth/setup gating, config-section routing, and repeated layout compositionDashboardPage.tsx,ConfigPage.tsx, andSetupWizardPage.tsxremain broad route-level hotspotsChatComponent.tsxstill sits at 1110 lines in the currentstructure_checkoutputExpressionBuilder.tsx,DashboardPage.tsx,ConfigPage.tsx, andSetupWizardPage.tsxstill trigger shared size warnings
This gap is tracked in docs/agent/tech-debt/td-030-dashboard-frontend-config-and-interaction-slice-collapse.md and execution planning already exists in docs/agent/plans/pl-0010-extproc-response-and-dashboard-frontend-boundary-ratchet.md, but there is currently no dedicated GitHub issue for external contributors.
Additional context
Suggested acceptance criteria:
- new dashboard features no longer require reopening
App.tsxplus one large page or interaction container for unrelated responsibilities - route-shell/auth gating, page-level data shaping, and display-only fragments move into clearer sibling modules
- large containers such as
ChatComponent.tsxandExpressionBuilder.tsxkeep orchestration separate from rendering/helpers - validation includes
make dashboard-checkand the relevant agent gates for touched files
Relevant local rules:
dashboard/frontend/src/AGENTS.mddashboard/frontend/src/pages/AGENTS.mddashboard/frontend/src/components/AGENTS.md
This is a strong help wanted issue, but not a good first issue: the work spans routing, auth/setup gating, config UX, and large interaction containers.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status