Skip to content

Commit d1ee5c3

Browse files
committed
improvement(ui/ux): action bar, panel, tooltip, dragging, invite modal
1 parent 143e3d9 commit d1ee5c3

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/context-menu/pane-context-menu.tsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,33 @@ export function PaneContextMenu({
153153
Fit to View
154154
</PopoverItem>
155155

156+
{/* View actions */}
157+
<PopoverDivider />
158+
<PopoverItem
159+
onClick={() => {
160+
onZoomIn()
161+
onClose()
162+
}}
163+
>
164+
Zoom In
165+
</PopoverItem>
166+
<PopoverItem
167+
onClick={() => {
168+
onZoomOut()
169+
onClose()
170+
}}
171+
>
172+
Zoom Out
173+
</PopoverItem>
174+
<PopoverItem
175+
onClick={() => {
176+
onFitView()
177+
onClose()
178+
}}
179+
>
180+
Fit to View
181+
</PopoverItem>
182+
156183
{/* Navigation actions */}
157184
<PopoverDivider />
158185
<PopoverItem

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,6 @@ export function Panel() {
503503
Editor
504504
</Button>
505505
</div>
506-
<<<<<<< HEAD
507506

508507
{/* Canvas Mode Selector */}
509508
<Popover
@@ -557,8 +556,6 @@ export function Panel() {
557556
</PopoverItem>
558557
</PopoverContent>
559558
</Popover>
560-
=======
561-
>>>>>>> 72ae3be5c (feat(workflow-controls): added action bar for picker/hand/undo/redo/zoom workflow controls, added general setting to disable)
562559
</div>
563560

564561
{/* Tab Content - Keep all tabs mounted but hidden to preserve state */}

0 commit comments

Comments
 (0)