feat: multi-project dashboard with autosave indicators#79
feat: multi-project dashboard with autosave indicators#79MrZang101 wants to merge 3 commits intoshrimbly:developfrom
Conversation
Adds a project dashboard overlay that shows all saved projects with the ability to open, create, delete, and switch between them. Replaces the old WelcomeModal as the initial view. - Extend WorkflowSaveConfig with createdAt, updatedAt, nodeCount, edgeCount - Add deleteSaveConfig and getAllProjectsForDashboard localStorage helpers - Create /api/workflow-load POST route to load workflow JSON from disk - Add showDashboard state, openProject, deleteProject to Zustand store - Create ProjectCard and ProjectDashboard components - Wire dashboard into WorkflowCanvas (replaces quickstart) and Header (grid icon) Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Widen dashboard to max-w-5xl with more spacious padding and typography - Add nodeTypeSummary and primaryModel to WorkflowSaveConfig, computed at save time - Show node type pills (Generate, Video, LLM, etc.) with icons on project cards - Derive workflow type badge (Image Gen, Video, 3D, Audio, LLM) from node composition - Show primary model, edge count, and cost in card meta row - Add project stats panel (total projects/nodes) in left sidebar - Highlight New Project button with blue accent color - Add "Back to project" close button with return arrow icon - Bigger empty state with icon box and helpful text Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Show green dot next to save time when auto-save is enabled - Show yellow pulsing dot while actively saving - Add floating "Projects" button at bottom-left of canvas for quick access to dashboard without going to the header Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hey @MrZang101 - if you're adding new UI changes, could you please include screenshots of the changes? Just saves me a bit of time |
Summary
/api/workflow-loadto load workflow JSON from disk by path (enables opening projects from the dashboard)WorkflowSaveConfigwithcreatedAt,updatedAt,nodeCount,edgeCount,nodeTypeSummary,primaryModelmetadata — all computed automatically on each saveFiles changed (8 files, +832 lines)
src/types/workflow.tsWorkflowSaveConfigwith dashboard metadata fieldssrc/store/utils/localStorage.tsdeleteSaveConfig,getAllProjectsForDashboard,DashboardProjectinterfacesrc/app/api/workflow-load/route.tssrc/store/workflowStore.tsshowDashboard,openProject,deleteProjectstate/actions; enriched save metadatasrc/components/dashboard/ProjectCard.tsxsrc/components/dashboard/ProjectDashboard.tsxsrc/components/WorkflowCanvas.tsxsrc/components/Header.tsxTest plan
🤖 Generated with Claude Code