node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

Plugin Hook for UI Configuration Modifications

Open cgjgh opened this issue 8 months ago • 4 comments

Description

Introduces a hook for plugins to dynamically modify the Node-RED Dashboard configuration before it is emitted to connected clients. This enhancement enables fine-grained control over per-user page visibility, access permissions, and per user custom page ordering to name a few use cases.

Related Issue(s)

Checklist

  • [X] I have read the contribution guidelines
  • [ ] Suitable unit/system level tests have been added and they pass
  • [X] Documentation has been updated
    • [ ] Upgrade instructions
    • [ ] Configuration details
    • [ ] Concepts
  • [ ] Changes flowforge.yml?
    • [ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • [ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • [ ] Includes a DB migration? -> add the area:migration label

cgjgh avatar May 07 '25 12:05 cgjgh

@joepavitt or @Steve-Mcl I'd greatly appreciate it if you could take a look at this, as some plugins I've developed depend on this functionality!

Thank you!

cgjgh avatar May 07 '25 12:05 cgjgh

@cgjgh happy to include this, my only request would be that you just add a little detail to the docs too please? The best file will be /docs/contributing/plugins/index.md, just detail the extra hook you've added in there, and I'll get it in a a release asap.

joepavitt avatar May 07 '25 14:05 joepavitt

@joepavitt Here you go, let me know if anything else is needed!

cgjgh avatar May 07 '25 18:05 cgjgh

Thanks, will review properly on Friday and hopefully get it into new release.

joepavitt avatar May 07 '25 18:05 joepavitt