Commit Graph

2677 Commits (master)

Author SHA1 Message Date
Nick O'Leary 0f012a4465
Merge branch 'dev' into export-module-info 2025-04-28 16:11:14 +01:00
Nick O'Leary 7eb0e6bb51
Merge pull request #4955 from node-red/add-doc-annotation
Add a node annotation if the info property is set
2025-04-28 16:10:15 +01:00
Joe Pavitt 0be14f390f
Update packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2025-04-28 09:52:31 +01:00
Joe Pavitt fc42e9f083
Update packages/node_modules/@node-red/editor-client/locales/en-US/editor.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2025-04-28 09:52:25 +01:00
Joe Pavitt 214fe51a47
Update packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2025-04-28 09:52:18 +01:00
Nick O'Leary 833687fd55
Merge pull request #5106 from node-red/5090-fix-label-action
Handle link nodes with show/hide label action
2025-04-25 17:44:16 +01:00
Nick O'Leary 3a3571b37e
Consolidate update widgets 2025-04-25 15:51:10 +01:00
Nick O'Leary 0d4854a079
Fix linting 2025-04-24 13:35:06 +01:00
Nick O'Leary 350ab52b99
Update consent message 2025-04-24 11:39:56 +01:00
Nick O'Leary 6220f990c4
Add update available widget 2025-04-23 17:35:58 +01:00
Nick O'Leary 86558126ab
Add telemetry settings to user settings dialog 2025-04-23 17:35:24 +01:00
Nick O'Leary 36f533f390
Add telemetry consent dialog 2025-04-23 17:34:52 +01:00
Nick O'Leary bd244027c6
Move 4.0 tour to archive and reset for 4.1 2025-04-23 17:33:38 +01:00
Nick O'Leary 9921f2d5ba
Add RED.popover.dialog api 2025-04-23 17:30:14 +01:00
Steve-Mcl 0a450b2207 updates monaco to latest. Includes fix for action widget sizing 2025-04-17 09:00:35 +01:00
Joe Pavitt a2cb730a52 Handle no info.downloads use case for custom catalogues 2025-04-15 17:11:25 +01:00
Joe Pavitt ea25406d00 Sort by downloads when doing a search of modules 2025-04-15 14:26:47 +01:00
Nick O'Leary b3ee7b4ca0
Merge pull request #5103 from joepavitt/hex-logo
Update the Node-RED logo to use the hex variant
2025-04-14 14:17:51 +01:00
Nick O'Leary debd71d1e1
Merge pull request #4922 from bonanitech/fix-sass-deprecation-warnings
Fix Sass deprecation warnings
2025-04-14 12:00:03 +01:00
Nick O'Leary 20fae98ecd
Merge branch 'master' into dev 2025-04-14 11:04:06 +01:00
Nick O'Leary 2c71e11fbf
Handle link nodes with show/hide label action 2025-04-14 10:36:51 +01:00
Nick O'Leary 71501dd6aa
Merge pull request #5088 from node-red/5084-bump-i18next
Bump i18next to 24.x and auto-migrate message catalog format
2025-04-14 10:07:02 +01:00
Joe Pavitt 9650ef2cbc Update the Node-RED logo to use the hex variant 2025-04-11 17:32:41 +01:00
Nick O'Leary a5383f4064
Bump i18next to 24.x and auto-migrate message catalog format 2025-03-24 17:38:21 +00:00
Nick O'Leary 5251e848b9
Properly handle scale factor in getLinksAtPoint for firefox 2025-03-24 16:34:01 +00:00
Nick O'Leary b8f0e13cd6
Merge branch 'dev' into export-module-info 2025-03-17 16:51:44 +00:00
Nick O'Leary 7285244e8d
Add user setting for showing the node info icon 2025-03-17 16:21:14 +00:00
Nick O'Leary ba7eec44fa
Add a node annotation if there info property set 2025-03-17 16:08:25 +00:00
Nick O'Leary 686efc4720
Merge branch 'master' into dev 2025-03-17 16:07:46 +00:00
Nick O'Leary a976f48be1
Merge pull request #5079 from node-red/5068-improve-error-object-debug
Improve debug display of error objects
2025-03-11 16:46:08 +00:00
Nick O'Leary 6a38808fbb
Merge pull request #5078 from node-red/5077-typedInput-border
Add a border to better distinguish typedInput type/option dropdowns
2025-03-11 16:07:48 +00:00
Nick O'Leary 5eea8b6b60
Improve debug display of error objects 2025-03-10 17:43:06 +00:00
Nick O'Leary af6e33d4ec
Add a border to better distinguish typedInput type/option dropdowns 2025-03-10 16:29:48 +00:00
Nick O'Leary 7e512c94fe
Merge pull request #5012 from GogoVega/fix-subflow-dialog
Fix undo of subflow color change not applying to instances
2025-03-10 15:51:33 +00:00
Nick O'Leary 336c73fd2a
Merge pull request #5073 from Rotzbua/chore_dompurify_flag
chore(editor): update `DOMPurify` flag
2025-03-06 09:43:11 +00:00
Nick O'Leary d847bce8b9
Merge pull request #5072 from node-red/5061-refresh-sidebar-on-lock-action
Refresh config node sidebar when changing lock state of a flow
2025-03-06 09:42:30 +00:00
Rotzbua 287c7f8da5
chore(editor): update `DOMPurify` flag
DOMPurify 2.1.0: Removed the SAFE_FOR_JQUERY flag (we are safe by default now for jQuery)
https://github.com/cure53/DOMPurify/releases/tag/2.1.0
2025-03-03 21:04:22 +01:00
Nick O'Leary f0d217e1c7
Merge pull request #5059 from node-red/update-drop-text
Update markdown drop-target appearance
2025-03-03 16:41:57 +00:00
Nick O'Leary ce23d89739
Refresh config node sidebar when changing lock state of a flow 2025-03-03 16:39:58 +00:00
Nick O'Leary 02d7d76d3b
Merge pull request #5061 from GogoVega/tab-config-category-disabled
Support for disabled categories in Sidebar Config
2025-03-03 16:39:02 +00:00
Rotzbua 263f6136e8
chore(editor)!: remove Internet Explorer polyfill
IE support was removed in node-red v3.
MS Edge does not use `msSaveBlob`.
2025-03-03 16:19:12 +01:00
GogoVega 6da890bf88
Manage badge locations with pure CSS + cleanup 2025-02-24 21:09:44 +01:00
GogoVega b8eeef182c
Add `changed` badge for category header + fix cropped badge 2025-02-24 21:09:11 +01:00
GogoVega 54e0de64a7
Add the `changed` badge for the config node 2025-02-24 21:08:43 +01:00
GogoVega 5d1fa49045
Support for disabled categories in sidebar config 2025-02-24 20:05:14 +01:00
Nick O'Leary 87b7fc69c7
Update markdown drop-target appearance 2025-02-24 16:51:51 +00:00
Nick O'Leary 71f8de94b0
Merge pull request #5056 from gorenje/master
Support text drag & drop into markdown editor
2025-02-24 16:26:19 +00:00
Gerrit Riessen 473b93f497
Support text drag & drop into markdown editor
Along with image drop, this change adds text drop into the editor. 

This is useful for highlighting text and then drag that text into the description of a node. Similar creating a mermaid diagram using a third-party tool and then drag the text into the description.

Also drop text files is also supported for longer texts.
2025-02-20 09:30:50 +01:00
GogoVega d9c5144fe2
Ignore state of disabled nodes/flows during deployment 2025-02-17 14:05:51 +01:00
Nick O'Leary e55301c073
Update for 4.0.9 2025-02-14 17:03:13 +00:00
GogoVega e1b591d761
Fix tooltip snapping based on input type 2025-02-13 13:59:06 +01:00
Stephen McLaughlin 4984af48f1
Update monaco.js for symbol error 2025-02-12 09:42:55 +00:00
Nick O'Leary 4605f01c5d
Merge pull request #5030 from matiseni51/add-editorTheme-custom-label-default-deploy-button
feat: Add custom label for default deploy button in settings.editorTheme
2025-02-10 16:51:45 +00:00
Nick O'Leary a0ddf96e03
Merge pull request #5042 from node-red/5028-improve-auto-complete-long-keys
Handle long auto-complete suggests
2025-02-10 16:51:31 +00:00
Nick O'Leary 77c4ccf8fb
Handle undefined username when generating user icon
Fixes #5036
2025-02-10 16:41:18 +00:00
Nick O'Leary 7d9e09f5a7
Handle long auto-complete suggests
Fixes #5028
2025-02-10 16:23:13 +00:00
matiseni51 f4c184af4d
Merge branch 'master' into add-editorTheme-custom-label-default-deploy-button 2025-02-03 20:52:23 +01:00
matiseni51 ca61efc986 feat: Add custom label for default deploy button in settings.editorTheme 2025-02-01 11:44:57 +01:00
GogoVega dd702d4020
Merge branch 'master' into fix-subflow-dialog 2025-01-31 15:20:00 +01:00
Nick O'Leary ffdbd94927
Handle dragging node into group and splicing link at same time
Fixes #5026
2025-01-29 14:22:44 +00:00
Nick O'Leary 21612a5215
Merge pull request #5021 from node-red/5008-remember-context-tree-state
Remember context sidebar tree state when refreshing
2025-01-27 15:58:43 +00:00
Nick O'Leary 756485e308
Merge pull request #5023 from node-red/5010-update-instance-envvars
Update sf instance env vars when removed from template
2025-01-27 15:58:30 +00:00
Nick O'Leary daa76e6e5f
Update sf instance env vars when removed from template 2025-01-22 10:25:24 +00:00
Nick O'Leary 48d2d269a5
Do not select group when triggering quick-add within it 2025-01-21 16:15:13 +00:00
Nick O'Leary 13cac1b5ef
Remember context sidebar tree state when refreshing
Closes #5008
2025-01-21 13:56:44 +00:00
Nick O'Leary 4cbf672b26
Fix library icon handling within library browser component
Closes #5004
2025-01-17 17:07:58 +00:00
GogoVega 37aacd3e84
Fix Subflow edit box and color change 2025-01-12 14:06:21 +01:00
Nick O'Leary 4845a1f7eb
Bump for 4.0.8 2024-12-20 11:06:08 +00:00
Nick O'Leary 7fa4e60c82
Fix config node sort order when importing 2024-12-20 09:54:13 +00:00
Nick O'Leary 100e5244c8
Bump for 4.0.7 2024-12-17 17:08:56 +00:00
Nick O'Leary ed0399b855
Merge pull request #4997 from GogoVega/fix-def-import
Fix def can be undefined if the type is missing
2024-12-17 17:04:52 +00:00
Nick O'Leary 27e9c18a4e
Merge pull request #4995 from GogoVega/fix-4994
Fix the user list of nested config node
2024-12-17 17:01:41 +00:00
GogoVega c6895713ed
Fix def can be undefined if the type is missing 2024-12-17 17:57:01 +01:00
GogoVega 7785ce0dc0
Fix the user list of nested config node 2024-12-17 15:36:51 +01:00
Nick O'Leary b7e96ce6bc
Support custom login message and button 2024-12-16 16:58:13 +00:00
Nick O'Leary e9d5d20e2d
Update for 4.0.6 2024-12-16 11:35:14 +00:00
Nick O'Leary 867a6ad2da
Merge pull request #4975 from node-red/gg-changes
Roll up various fixes on config node change history
2024-12-16 11:29:11 +00:00
Nick O'Leary 11c4277466
Update packages/node_modules/@node-red/editor-client/src/js/ui/editor.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-10 15:42:59 +00:00
Nick O'Leary 7d284ce157
Update packages/node_modules/@node-red/editor-client/src/js/ui/editor.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-10 15:42:42 +00:00
Nick O'Leary 89e40a0b8f
Rework saving of credentials to undo history 2024-12-06 16:15:37 +00:00
Nick O'Leary 66bd1feb47
Apply suggestions from code review
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-06 13:45:48 +00:00
Nick O'Leary dae4ba8044
Merge pull request #4964 from node-red/4962-import-warning-tidy
Validate json dropped into editor to avoid unhelpful error messages
2024-12-05 16:31:33 +00:00
Nick O'Leary fe22afea6a
Merge pull request #4974 from node-red/4969-fix-junction-insert-location
Fix junction insert position via context menu
2024-12-05 16:23:51 +00:00
Nick O'Leary 43a9a3c3b1
Apply zoom scale when calculating annotation positions
Fixes #4978
2024-12-05 15:34:24 +00:00
Nick O'Leary 4e61c54be5
Update packages/node_modules/@node-red/editor-client/src/js/ui/editor.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 15:49:39 +00:00
Nick O'Leary 39a85c721d
Update packages/node_modules/@node-red/editor-client/src/js/history.js 2024-12-04 13:10:48 +00:00
Nick O'Leary f9877f8d0b
Update packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 10:41:27 +00:00
Nick O'Leary 92dff4bacd
Apply suggestions from code review
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 10:41:10 +00:00
Nick O'Leary 338ddf17de
Update packages/node_modules/@node-red/editor-client/src/js/nodes.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-04 09:55:09 +00:00
Nick O'Leary 5f92bc83fd
Merge branch 'gg-changes' into fix-conf-type-env 2024-12-03 17:21:24 +00:00
Nick O'Leary 5e429f3be0
Merge pull request #4819 from GogoVega/validate-users-in-history
Validate user nodes into history when editing a config node
2024-12-03 17:14:32 +00:00
Nick O'Leary 2a71175cd4
Merge pull request #4807 from GogoVega/fix-user-count
Fix the config node users count
2024-12-03 17:14:20 +00:00
Nick O'Leary aee531bf16
Update packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
Co-authored-by: Gauthier Dandele <92022724+GogoVega@users.noreply.github.com>
2024-12-03 17:14:04 +00:00
Nick O'Leary 2c99909353
Merge pull request #4808 from GogoVega/fix-invalid-outputs
Fix a node with an invalid number of outputs
2024-12-03 14:56:46 +00:00
Nick O'Leary 50e821d5d7
Merge pull request #4793 from GogoVega/fix-creds-props-pane
Fix save and history of credentials for panes
2024-12-03 14:56:02 +00:00
Nick O'Leary 06f3f3c0be
Merge branch 'gg-changes' into validate-users-in-history 2024-12-03 14:54:50 +00:00
Nick O'Leary 0b09cf5fa9
Update packages/node_modules/@node-red/editor-client/src/js/nodes.js 2024-12-03 14:51:32 +00:00
Nick O'Leary 93102837dd
Merge pull request #4797 from GogoVega/config-node-history
Add config node to `RED.history` and handle `changed` prop
2024-12-03 14:48:23 +00:00
Nick O'Leary e8d81d814c
Apply scaleFactor when calculating junction slice positions 2024-12-03 10:15:59 +00:00
Nick O'Leary f6cf051282
Fix junction insert position via context menu 2024-12-02 17:03:14 +00:00
GogoVega 6a13d2d544
Remove logic of the topic truncation and fix the docs 2024-11-25 21:45:00 +01:00
GogoVega 6194285b6e
Add a guard to check if wires exist 2024-11-25 21:07:42 +01:00
Nick O'Leary bb01f26f06
Merge pull request #4924 from GogoVega/node-button-hotkey
Trigger button action of the selected nodes with new Hotkey
2024-11-25 16:28:43 +00:00
Nick O'Leary 5ce3cdb845
Merge branch 'master' into handle-bad-subflow 2024-11-25 16:27:41 +00:00
Nick O'Leary 3e0b5f2fe8
Merge pull request #4809 from GogoVega/fix-subflow-name
Fix updating the Subflow name during a copy
2024-11-25 16:22:31 +00:00
Nick O'Leary 94e3fdd7a9
Validate json dropped into editor to avoid unhelpful error messages
Fixes #4962
2024-11-18 17:12:28 +00:00
Nick O'Leary 4cb3ccc984
Rename variable to avoid confusion in view.js 2024-11-18 16:20:58 +00:00
鸿则 ad615a76c8
Change groups.length to groups.size
Fix wrong length attribute of Set
2024-11-14 16:31:36 +08:00
GogoVega 8dee431b3f
Cleanup global palette variables 2024-11-13 22:35:41 +01:00
GogoVega ef19457bda
Add the vertical marker to the palette hand 2024-11-12 18:05:12 +01:00
GogoVega 1cbc4fd9da
Remove the default key and rename the action
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-11-11 18:55:33 +01:00
Nick O'Leary 1d9586721e
Merge pull request #4948 from node-red/pr_4935
Add a new `update available` widget to statusBar
2024-11-11 13:37:20 +00:00
Nick O'Leary 4ff748c1c1
Simplify error reporting 2024-11-08 16:46:19 +00:00
Nick O'Leary 99b3b65304
Merge pull request #4930 from node-red/monaco_0_52_0
Monaco Latest (0.52.0)
2024-11-08 15:44:44 +00:00
Nick O'Leary a69a35aacf
Separate catalogue refresh logic from UI creation 2024-11-08 15:29:03 +00:00
Nick O'Leary 604c70ec04
Merge pull request #4946 from GogoVega/fix-quickAddDialog
Remove disabled node types from QuickAddDialog list
2024-11-08 13:46:19 +00:00
Gauthier Dandele 59a133cc13
Need to guard against subflows that doesn't have a set property
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-11-08 12:28:40 +01:00
GogoVega c8a02d53e8
Ensure the node added to config node users is the proxy object 2024-11-07 22:06:45 +01:00
GogoVega deccfdf654
Handle users of env config nodes when undo subflow node changes 2024-11-07 22:00:36 +01:00
GogoVega f2d72b1050
Handle users of env config nodes when saving subflow node config 2024-11-07 21:59:14 +01:00
GogoVega 3d9bc265dd
Handle users of env config nodes when adding/removing subflow node 2024-11-07 21:58:11 +01:00
GogoVega 83c4ac5f65
Refresh the update status after all catalogs have been loaded
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-11-07 15:45:22 +01:00
GogoVega 69e4a02b28
Change icon, remove the widget color and ensure updateStatus is called on events 2024-11-07 15:32:06 +01:00
GogoVega 3a27a756cc
Replace the CSS solution with a coded one for the msg string 2024-11-07 10:36:54 +01:00
GogoVega abe0b60bf7
Remove disabled node types from QuickAddDialog list 2024-11-06 17:28:51 +01:00
GogoVega a6f01d7085
Support for a module with nodes and plugins in the palette 2024-11-06 16:20:23 +01:00
GogoVega 53f204d8b9
Do not import `global-config` if it only contains modules 2024-11-01 14:25:45 +01:00
GogoVega c7fd2e3cdf
Add `opts.includeModuleConfig` to `createCompleteNodeSet` 2024-11-01 14:23:50 +01:00
GogoVega 443492d6eb
Fix `setModulePendingUpdated` with plugins 2024-10-31 17:12:13 +01:00
GogoVega d048d2cf41
Fix update status after module updated 2024-10-30 22:36:14 +01:00
GogoVega 2f2162d531
`startEvent` must be called in the processQueue 2024-10-30 17:10:03 +01:00
GogoVega 245761ea03
Fix typo - bad tab to open 2024-10-30 16:09:26 +01:00
GogoVega 2b77590402
Add a queue while installing or removing a module 2024-10-30 15:54:42 +01:00
GogoVega 4248cb6205
Refresh status when registry changes + cleanup 2024-10-29 19:00:04 +01:00
GogoVega 48894d6a95
Add a new `update available` widget to statusBar 2024-10-29 15:36:49 +01:00
GogoVega e5073cf374
Allow `RED.statusBar` to hide/show widget 2024-10-29 15:27:45 +01:00
GogoVega 70aed23ef0
Fix `envVarList` sortable value 2024-10-28 16:31:36 +01:00
Steve-Mcl 24c6f4d655 updates monaco to latest. Includes fix for action widget sizing 2024-10-28 11:03:29 +00:00
GogoVega 966064328f
Add `oneditsave` credentials changes to history 2024-10-25 23:33:19 +02:00
GogoVega 83696abf9d
Fixes and improvements with comments 2024-10-25 17:34:51 +02:00
GogoVega 702bf3d547
Truncate long debug messages 2024-10-23 23:10:09 +02:00
GogoVega 5a1c18de24
Trigger button action of the selected nodes with new Hotkey 2024-10-22 15:14:46 +02:00
Mauricio Bonani d8c56df45f Fix Sass deprecation warnings 2024-10-21 11:49:30 -04:00
Nick O'Leary c363f375b6
Merge pull request #4912 from GogoVega/improve-node-name
Improve the node name auto-generated with the first available number
2024-10-21 16:42:04 +01:00
GogoVega a7b1ce0cf8
Improve the node name auto-generated with the first available nb 2024-10-10 15:47:42 +02:00
Nick O'Leary fe9354d10b
Bump for 4.0.5 2024-10-10 11:05:08 +01:00
GogoVega 802b116b01
Refix link call node can call out of a subflow 2024-10-10 08:53:33 +02:00
Nick O'Leary 90ea3c15b3
Bump for 4.0.4 release 2024-10-09 10:56:14 +01:00
Nick O'Leary 35f35705a5
Merge pull request #4889 from GogoVega/fix-4888
Fix wrong unlock state when event is triggered after deployment
2024-10-09 10:28:17 +01:00
GogoVega 49a3eded59
Apply code review + add comments
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2024-10-08 18:10:28 +02:00