From a3a12999a90fbafd3b6816ff208cba61c7b2a5cc Mon Sep 17 00:00:00 2001 From: orkhanart <88044120+orkhanart@users.noreply.github.com> Date: Sat, 29 Nov 2025 06:48:33 -0800 Subject: [PATCH] feat(workspace): Add Recents/Trash pages and move Linear/Node buttons to header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add RecentsView with recently accessed items list - Add TrashView with multi-select, restore, and delete actions - Add Recents and Trash menu items to workspace sidebar - Move Linear/Node buttons from sidebar to page headers (right side) - Add Linear/Node buttons to all workspace views (Dashboard, Workflows, Assets, Models) - Remove Create section from sidebar navigation - Add routes for recents and trash pages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- ComfyUI_vibe/src/components.d.ts | 2 + .../components/linear/LinearHistoryPanel.vue | 345 +++++++++--------- .../components/linear/LinearIconSidebar.vue | 1 - .../src/components/linear/LinearTopBar.vue | 170 +++++++++ ComfyUI_vibe/src/components/linear/index.ts | 1 + .../components/v2/layout/WorkspaceSidebar.vue | 20 +- .../v2/workspace/WorkspaceViewHeader.vue | 46 ++- ComfyUI_vibe/src/router.ts | 10 + ComfyUI_vibe/src/views/linear/LinearView.vue | 49 +-- .../src/views/v2/workspace/AssetsView.vue | 28 +- .../src/views/v2/workspace/DashboardView.vue | 32 +- .../src/views/v2/workspace/ModelsView.vue | 28 +- .../src/views/v2/workspace/RecentsView.vue | 78 ++++ .../src/views/v2/workspace/TrashView.vue | 171 +++++++++ .../src/views/v2/workspace/WorkflowsView.vue | 28 +- 15 files changed, 759 insertions(+), 250 deletions(-) create mode 100644 ComfyUI_vibe/src/components/linear/LinearTopBar.vue create mode 100644 ComfyUI_vibe/src/views/v2/workspace/RecentsView.vue create mode 100644 ComfyUI_vibe/src/views/v2/workspace/TrashView.vue diff --git a/ComfyUI_vibe/src/components.d.ts b/ComfyUI_vibe/src/components.d.ts index bd3c9d69a..247f7e18b 100644 --- a/ComfyUI_vibe/src/components.d.ts +++ b/ComfyUI_vibe/src/components.d.ts @@ -30,6 +30,8 @@ declare module 'vue' { LinearStepCard: typeof import('./components/linear/LinearStepCard.vue')['default'] LinearTemplateCard: typeof import('./components/linear/LinearTemplateCard.vue')['default'] LinearTemplateSelector: typeof import('./components/linear/LinearTemplateSelector.vue')['default'] + LinearTopBar: typeof import('./components/linear/LinearTopBar.vue')['default'] + LinearTopNavbar: typeof import('./components/linear/LinearTopNavbar.vue')['default'] LinearWorkflowSidebar: typeof import('./components/linear/LinearWorkflowSidebar.vue')['default'] LinearWorkspace: typeof import('./components/linear/LinearWorkspace.vue')['default'] ModelsTab: typeof import('./components/v2/workspace/ModelsTab.vue')['default'] diff --git a/ComfyUI_vibe/src/components/linear/LinearHistoryPanel.vue b/ComfyUI_vibe/src/components/linear/LinearHistoryPanel.vue index e4e7b7a06..bb804cb93 100644 --- a/ComfyUI_vibe/src/components/linear/LinearHistoryPanel.vue +++ b/ComfyUI_vibe/src/components/linear/LinearHistoryPanel.vue @@ -1,215 +1,234 @@