Skip to content

fix: ensure dashboard editor URL is correctly constructed when Node-RED is running with a custom httpNodeRoot setting - #1929

Merged
Steve-Mcl merged 4 commits into
FlowFuse:mainfrom
f0lg0:main
Dec 9, 2025
Merged

Steve-Mcl merged 4 commits into
FlowFuse:mainfrom
f0lg0:main

Conversation

@f0lg0

@f0lg0 f0lg0 commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

More info here

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes issue #1927 by adding RED.settings.httpNodeRoot to the URL construction when opening the layout editor. The fix ensures that the dashboard editor URL is correctly constructed when Node-RED is running with a custom httpNodeRoot setting.

Key Changes

  • Updated URL construction in showDashboardWysiwygEditor to include httpNodeRoot in the path

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread nodes/config/ui_base.html Resolved
@Steve-Mcl

Copy link
Copy Markdown
Contributor

Just a heads up. I set copilot away on some dashboard PRs to give me a head start when i get around to reviewing and merging.

I appreciate the fact you guys are responding and debating the suggestions (even if they are nonsense) (should speed up my reviews - hopefully merged before start of next week)

@f0lg0

f0lg0 commented Dec 5, 2025

Copy link
Copy Markdown
Contributor Author

Just a heads up. I set copilot away on some dashboard PRs to give me a head start when i get around to reviewing and merging.

I appreciate the fact you guys are responding and debating the suggestions (even if they are nonsense) (should speed up my reviews - hopefully merged before start of next week)

actually I think that suggestion was correct and useful so I've accepted it, but I may be wrong because I don't remember the default value for RED.settings.httpNodeRoot if it is not set. Anyway, I think having that extra check suggested by Copilot doesn't harm anyone.

@Steve-Mcl Steve-Mcl changed the title fix: issue #1927 fix: ensure dashboard editor URL is correctly constructed when Node-RED is running with a custom httpNodeRoot setting Dec 7, 2025
Comment thread nodes/config/ui_base.html Resolved
Comment thread nodes/config/ui_base.html Resolved
@Steve-Mcl
Steve-Mcl merged commit 22bc783 into FlowFuse:main Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants