Skip to content
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

add global environment variable feature #3941

Merged
merged 19 commits into from
Jan 1, 2023

Conversation

HiroyasuNishiyama
Copy link
Member

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

This PR add global environment variable feature discussed at:
node-red/designs#76

This implementation introduces new special configuration node global-config and adds Environment tab to User settings menu.

スクリーンショット 2022-11-04 19 04 51

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@coveralls
Copy link

coveralls commented Nov 4, 2022

Coverage Status

Coverage: 68.246% (+0.05%) from 68.198% when pulling 99bd957 on node-red-hitachi:global-env-var into 270eb56 on node-red:dev.

@knolleary knolleary added this to the 3.1 milestone Nov 7, 2022
Copy link
Member

@knolleary knolleary left a comment

Choose a reason for hiding this comment

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

Generally, this looks great.

I've made some proposed changes - a couple bugs and message updates.

One piece I'd like to look at again is the edit dialog for the global-config node. If a user manages to open it, I think it should help the user know what it contains and how to edit it.

I can create a more solid proposal this week.

HiroyasuNishiyama and others added 8 commits December 5, 2022 11:15
…nfig.html

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
…r.js

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
…global-config.html

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
…bal-config.html

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
HiroyasuNishiyama and others added 9 commits December 6, 2022 09:27
…r.json

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
…itor.json

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
…r.js

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
…nfig.html

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
@knolleary
Copy link
Member

@HiroyasuNishiyama happy to get this merged now. Can you resolve the merge conflict on this branch?

@HiroyasuNishiyama
Copy link
Member Author

@HiroyasuNishiyama happy to get this merged now. Can you resolve the merge conflict on this branch?

@knolleary Resolved the conflict.

@knolleary knolleary merged commit 928131c into node-red:dev Jan 1, 2023
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.

None yet

3 participants