Skip to content

Plugin Hook for UI Configuration Modifications #1694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cgjgh
Copy link
Contributor

@cgjgh cgjgh commented May 7, 2025

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

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • 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
Copy link
Contributor Author

cgjgh commented May 7, 2025

@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!

@joepavitt
Copy link
Collaborator

@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.

@cgjgh
Copy link
Contributor Author

cgjgh commented May 7, 2025

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

@joepavitt
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants