Add 'Open in new tab' option to Editor split button dropdown

Open Beginner friendly
#6,682 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start in frontend/src/pages/instance/components/EditorLink.vue and inspect the dropdownOptions computed property. Trace how the immersive editor route and fallback standard editor URL are determined, then add the requested dropdown option using the existing behavior as a guide. Done means the dropdown exposes “Open in new tab” and opens the appropriate editor URL in a new browser tab.

Written by the indexing model from the issue text.

Description

Follow-up from #6670 feedback.

Users might not know about middle-click/Ctrl+click to open the immersive editor in a new tab. While this is standard browser behavior, not all users are aware of it. Add an explicit "Open in new tab" option to the split button dropdown so it's discoverable for all users.

The dropdown in EditorLink.vue would become:

  • Open in new tab — opens immersive editor in a new browser tab
  • Open Direct URL — existing behavior
Potential solution

Add a new entry to the dropdownOptions computed property in frontend/src/pages/instance/components/EditorLink.vue that calls window.open() with the immersive editor route (or the fallback standard editor URL for older Node-RED versions).

Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 22h
Merged PRs (30d)
147

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FlowFuse/flowfuse

All issues in FlowFuse/flowfuse

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.