Repository navigation
chore(audit): delete unmounted dashboard skin - #2564
Conversation
Remove redirect-only pages and the canvas chain nothing mounts, and drop the store methods only that skin called. Co-authored-by: KK <kk-agent@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🔍 PR Validation |
|
Please add a See governance: #898 |
✅ E2E Test Results: ALL TESTS PASSED
Test Output |
Restore home-sell-surface and video-generator accessibility tests so this PR stays on the dashboard deletion. Co-authored-by: KK <kk-agent@users.noreply.github.com>
✅ E2E Test Results: ALL TESTS PASSED
Test Output |
✅ E2E Test Results: ALL TESTS PASSED
Test Output |
Related: #2328
Deletes the redirect-only dashboard skin and the store methods only that skin called.
next.config.jsredirects for/dashboard,/app,/prototype,/features, and/playgroundstay. No API route was deleted.OneLoopStudio.tsx,next.config.js,store/dashboard-types.ts, and the inventory docs were not edited.Findings
app/dashboard/page.tsx,dashboard/agents/page.tsx,app/app/page.tsx,app/prototype/page.tsx,prototype/layout.tsx,app/features/page.tsx,app/playground/page.tsx.rgon current main showed no other module imports them.auth-config-source.test.tsanduvai-surface-unification.test.tsnow assert the redirects innext.config.js.DashboardSplitView→DashboardCanvasView→panels.tsx, plusAgentDashboard,EventList,FeedbackWidget,TranscriptViewer,VideoCanvasStage, andInteractiveTranscript.rgfound no page or studio import.timestamp.tsnow importsTranscriptSegmentfrom@/lib/transcript-search, where that type already lived, thenInteractiveTranscript.tsxwas deleted.use-dashboard-detail.tsand its test. OnlyDashboardCanvasViewimported the hook.action-agent-store.tsand its test. Onlypanels.tsximported the store.feedback.tsandfeedback.test.ts. AfterFeedbackWidgetwas removed,submitFeedbackhad no caller and posted to/api/v1/feedback, which does not exist.dispatchToAgents,refreshAgentStatus,performSearch,extractEvents,resumeProcessingRuns, and the unreadactivities/addActivitylog plus its persistence fromdashboard-store.ts. Their tests were deleted. Persistence tests now expect videos only.library-contrast.test.ts,dashboard-search-accessibility.test.ts).studio-pipeline-status.test.tsno longer readspanels.tsx.searchQuery/searchResults/setSearchQueryremain becauseselectVideostill resets them.dashboard-analysis.tsremains because its own unit tests still import it./api/dashboard,/api/agents/*, and/api/video/search.Follow-up:
home-sell-surface.test.tsis restored. #2568 owns that assertion.video-generator-accessibility.test.tsis restored because #2559 deletes that file.Verification
npm ci --legacy-peer-depssucceeded.cd apps/web && npm run lintpassed.cd apps/web && npm run type-checkpassed.npm run build:webpassed (Next.js 16.4.3). The build route list has no/dashboard,/app,/prototype,/features, or/playgroundpages.home-sell-surface.test.tsis unchanged from main.No Python files changed, so local pytest was not run.
Closes #2582