mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
18552046c2
* feat: add right-click context menu to ObjectViewer Add a contextual menu to ObjectViewer.svelte that appears on right-click with three actions: - Copy value: copies the field's value to clipboard - Copy object key: copies the property key name - Copy entire object: copies the parent object as JSON Uses setContext/getContext to share the context menu handler across recursive ObjectViewer instances, rendering a single menu at the root level via Portal. Reuses existing contextMenuStyles for visual consistency. Closes #8177 Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> * Fix popover closing * Use existing ContextMenuItem patterns * hover style * close contextmenu on pointerdown outside * try catch for circular objects * Fix copying undefined not working --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> Co-authored-by: Diego Imbert <diego@windmill.dev> Co-authored-by: Diego Imbert <70353967+diegoimbert@users.noreply.github.com>