Uh oh!
There was an error while loading. Please reload this page.
improvement(sidebar): collapsed sidebar UX, quick-create, hover consistency, and UI polish - #3807
Conversation
…stency, and UI polish Made-with: Cursor
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Enhances the collapsed sidebar flyouts: adds primary “create” actions, makes the three-dots action button consistently visible when its menu is open, and replaces the previous collapsed-workflow context menu wiring with Radix Polishes UI across the app by standardizing hover/active styles in shared form components ( Written by Cursor Bugbot for commit e6c169e. Configure here. |
Greptile SummaryThis PR polishes the collapsed sidebar UX with a new Confidence Score: 4/5Safe to merge after addressing the hover-to-open regression in the controlled DropdownMenuSub One P1 finding: the apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/collapsed-sidebar-menu/collapsed-sidebar-menu.tsx — the DropdownMenuSub onOpenChange logic and FlyoutMoreButton focus styles Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User hovers collapsed\nWorkflows icon] --> B[CollapsedSidebarMenu\nDropdownMenu opens]
B --> C{Content type}
C --> D[CollapsedFolderItems\nDropdownMenuSub per folder]
C --> E[CollapsedWorkflowFlyoutItem\nroot-level workflows]
D --> F[Nested CollapsedWorkflowFlyoutItem\ninside folder sub-content]
E --> G{User interaction}
F --> G
G --> H[Right-click row\nonContextMenu → setActionsOpen true]
G --> I[Click ••• trigger\nonClick → toggle actionsOpen]
G --> J[Hover ••• trigger\nonOpenChange true → NOT HANDLED\nsub-menu stays closed]
H --> K[DropdownMenuSub opens\nOpen in new tab / Rename]
I --> K
K --> L[Select action]
L --> M{Action type}
M --> N[Open in new tab\nhandleCollapsedWorkflowOpenInNewTab]
M --> O[Rename\nhandleCollapsedWorkflowRename\nstarts workflowFlyoutRename]
Reviews (2): Last reviewed commit: "fix(sidebar): reset actionsOpen state be..." | Re-trigger Greptile |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Made-with: Cursor # Conflicts: # apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx
…inline lambdas Made-with: Cursor
…lapsed dropdown Made-with: Cursor
waleedlatif1
commented
Mar 27, 2026
waleedlatif1
commented
Mar 27, 2026
@cursor review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…stency, and UI polish (#3807) * improvement(sidebar): collapsed sidebar UX, quick-create, hover consistency, and UI polish Made-with: Cursor * fix(sidebar): use stable handlers for root workflow items instead of inline lambdas Made-with: Cursor * fix(sidebar): reset actionsOpen state before triggering rename in collapsed dropdown Made-with: Cursor

Summary
Type of Change
Testing
Tested manually
Checklist