Ensure consistent Open Editor behavior — always default to immersive experience#6670
Ensure consistent Open Editor behavior — always default to immersive experience#6670
Conversation
|
Does this still doesn't have a single click (no copy/paste) way to open the bare editor? if not it needs to add it. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6670 +/- ##
=======================================
Coverage 76.66% 76.66%
=======================================
Files 398 398
Lines 20103 20103
Branches 4841 4841
=======================================
Hits 15411 15411
Misses 4692 4692
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@hardillb working on this atm 👍. |
Swap ArrowLeftIcon for HomeIcon in both instance and device immersive editors, with a slightly larger size (18px) to improve visual clarity.
- Convert EditorLink from single button to split dropdown with HeadlessUI Menu: left half opens editor, chevron opens dropdown with "Open Instance" option that opens Node-RED URL directly - Add "Open Instance" as first item in InstanceTile kebab menu - Add hover/active backgrounds to immersive editor drawer header buttons (home icon, close button)
- Right-align split button dropdown with chevron toggle - Make chevron toggle square with larger icon and bolder text - Reduce action button padding for tighter layout - Remove icon margins on minimal (icon-only) editor button - Add kebab menu divider between Open Instance and Start - Fix kebab menu edge-to-edge alignment (reset ul padding) - Make drawer header home/close buttons fill full height on hover
Replace individual clickable elements (router-link for name, anchor for URL) with a single click handler on the tile root that navigates to the instance overview. The URL becomes display-only text. Action buttons remain independent via @click.stop propagation.
Match the kebab icon size to the editor button (20px), add indigo tertiary color with purple hover, and add a 4px gap between action buttons for visual breathing room.
- Bold instance name (font-weight 500) and reduce right padding on tile - Make Open Editor button primary and Actions button secondary - Add primary prop to EditorLink split button component
Make the editor button primary only when the editor is actually usable (running, not HA, editor not disabled). The actions button gets the inverse treatment — primary when the editor is not usable, guiding users toward Start/Restart. Rename "Editor" to "Default URL" in the overview info table for accuracy.
- Rename "Editor" to "Default URL" in overview info table - Make Default URL read-only with TextCopier and external link button - Replace link icons with chevron-right action buttons in info rows - Add copy-to-clipboard to Instance ID, Name, and Default URL in Settings - Add copy-to-clipboard to read-only env var names - Update TextCopier hover to use primary highlight color consistently - Rename "Open Instance" to "Open Default URL" in split button and kebab menu
503dc33 to
c3997de
Compare
- Stop click propagation on TextCopier to prevent row navigation - Stop click propagation on editor split button chevron toggle - Add transparent border to kebab menu button to match editor button height (34px) - Reset negative margin on icons inside buttons in data table cells - Fix row-hover background bleeding into button icons in table cells - Enable copy-to-clipboard on team Hosted Instances page - Add white-space: nowrap to editor button text - Show instance URL with copy-to-clipboard in DeploymentName cell - Wire ApplicationLink component for Application column - Polish dashboard section header alignment
- Add trailing newline to KebabMenu.vue (eol-last lint rule) - Remove stale [data-el="editor-link"] assertion from instances.spec.js (attribute was removed in dc2fe51 when Overview switched to TextCopier) - Replace .parent().parent().parent() with .closest('tr') in team/instances.spec.js (DeploymentName now wraps name in <span>)
|
Fixes pushed
|
…k navigation - Replace ChevronRightIcon with ArrowRightIcon (outline, 16px) in info table - Rename "Default URL" to "Direct URL" across Overview, Settings, EditorLink, and InstanceTile - Use navigateTo for Ctrl/Cmd+click new-tab support on editor and submenu links - Align editor dropdown right edge to trigger button and match 10px gap with Actions menu
|
The icon after the URL works as needed as well as the dropdown on the open editor button. |
… tabs Add optional target parameter to navigateTo so EditorLink can pass the instance ID as the window name instead of _blank.
cstns
left a comment
There was a problem hiding this comment.
There a couple of niggles on which i commented on, but functionaly it's in a really good state. Very nice iteration and a good UX improvement
…nd revert formatting - Rename editorUsable to isEditorUsable in ActionButton (boolean naming convention) - Replace raw HeadlessUI Menu with shared DropdownMenu component in EditorLink - Use navigation helper with named target instead of window.open in Overview - Remove unnecessary v-if guard on instance.url in Overview info table - Add TextCopier to InstanceTile URL for copy-to-clipboard consistency - Revert formatting-only changes in RecentlyModifiedInstances
Description
Improve the consistency of "Open Editor" behavior across FlowFuse to always default to the immersive experience, and polish instance interactions across the platform.
Core changes
Editor & Actions button emphasis
The editor and actions buttons use mutually exclusive primary styling based on whether the editor is actually usable. This applies in both the instance page header and the immersive editor drawer.
UI polish
.stopprevents row navigation; editor chevron.stopprevents row navigationwhite-space: nowrapto editor button textRelated Issue(s)
closes #6653
Checklist