Commit Graph

1351 Commits

Author SHA1 Message Date
Nick O'Leary 67c8354f76
Merge branch 'pr_4006' into dev 2023-02-02 10:29:39 +00:00
Nick O'Leary 2759c1616c
Merge branch 'dev' into pr_4031 2023-01-30 09:52:31 +00:00
Nick O'Leary 55ac98c989
Merge pull request #4033 from node-red-hitachi/fix-hide-subflow-tooltip
fix hide subflow tooltip
2023-01-30 09:48:20 +00:00
Nick O'Leary c42c6a7b08
Merge pull request #4030 from node-red-hitachi/disable-delete-tab-menu-when-single-tab-exists
Disable delete tab menu when single tab exists
2023-01-30 09:38:16 +00:00
Hiroyasu Nishiyama 013ee2f1f4 fix hide subflow tooltip 2023-01-30 16:24:52 +09:00
Hiroyasu Nishiyama 7b79d79f84 remove useless console output 2023-01-30 14:09:01 +09:00
Hiroyasu Nishiyama 66f9686e48 disable hide all menu if all tabs hidden 2023-01-30 11:42:53 +09:00
Hiroyasu Nishiyama 9b1b7437b3 disable delete tab menu when single tab exists 2023-01-30 10:59:34 +09:00
Hiroyasu Nishiyama 720d44d53e fix workspace reference error in case of empty tabs 2023-01-30 10:30:06 +09:00
Hiroyasu Nishiyama e7540de85d remove useless variable 2023-01-25 16:40:12 +09:00
Hiroyasu Nishiyama ba9ddefbee removed endpoint 2023-01-25 16:06:37 +09:00
Hiroyasu Nishiyama f1801f9662 fix to prevent uploging unexpected file type 2023-01-25 13:38:12 +09:00
Hiroyasu Nishiyama 038f75e48f add support for mermaid diagram to markdown editor 2023-01-05 17:25:16 +09:00
Hiroyasu Nishiyama b9fe4c5cd3 merge upstream/dev 2023-01-05 10:29:45 +09:00
Hiroyasu Nishiyama 7e8b7602b4 add support for inline image drag and drop to markdown editor 2023-01-05 10:28:48 +09:00
Hiroyasu Nishiyama 99bd957ea0 Resolve merge conflict 2022-12-27 23:45:25 +09:00
Kazuhito Yokoi 805f8a5ee7 Hide subflow category after deleting subflow 2022-12-08 23:43:47 +09:00
Hiroyasu Nishiyama 707b831c30
Update packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-06 10:25:38 +09:00
Hiroyasu Nishiyama 3c1ddb5c9d
Update packages/node_modules/@node-red/editor-client/src/js/ui/env-var.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-06 09:32:04 +09:00
Steve-Mcl 7b52ef34be Remember compact/pretty flow export user choice
closes #3849
2022-12-05 22:17:05 +00:00
Hiroyasu Nishiyama e61cdff655
Update packages/node_modules/@node-red/editor-client/src/js/ui/env-var.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-12-05 11:15:43 +09:00
Nick O'Leary e804addf0a
Prevent dbl-click opening node edit dialog with text selected
Fixes #3958
2022-12-03 23:13:44 +00:00
Nick O'Leary 65fcc56a56
Merge pull request #3968 from node-red/context-menu-updates
Context menu updates
2022-12-03 23:01:37 +00:00
Nick O'Leary dce1cccbde
Allow subflow to be edited if instance exists on locked flow 2022-12-03 22:30:35 +00:00
Nick O'Leary 2d6e1d7089
NLS updates for context menu 2022-12-03 21:29:27 +00:00
Nick O'Leary 71db79ba53
More context menu options 2022-12-03 21:16:57 +00:00
Nick O'Leary 07c05c1f2a
Merge pull request #3930 from node-red/tab-context-menu
Improve UX around hiding flows via context menu
2022-11-30 22:13:54 +00:00
Nick O'Leary 3d565e74a5
Merge pull request #3917 from kazuhitoyokoi/master-fixpermission
Fix file permissions
2022-11-30 22:10:03 +00:00
Steveorevo 0b663abe50 Fix #3939, red border red-ui-typedInput-container 2022-11-09 10:33:05 -08:00
Hiroyasu Nishiyama b95df6d883 i18n item URL copy notification & add Japanese message 2022-11-07 15:47:19 +09:00
Hiroyasu Nishiyama 9cb474ea9c fix deployment of locked flow 2022-11-07 09:40:36 +09:00
Hiroyasu Nishiyama f23d0480e4 add global environment variable feature 2022-11-04 18:42:51 +09:00
Nick O'Leary fe9c630572
Prevent deleting subflow if instance on locked tab 2022-11-01 11:42:40 +00:00
Nick O'Leary ce94226c3c
Disable subflow/flow menu options if active is locked 2022-11-01 11:29:23 +00:00
Nick O'Leary f12d36b5ed
Locking flows fixes and context menu options 2022-11-01 10:48:48 +00:00
Nick O'Leary 3cb5259494
Initial locking flows UX 2022-11-01 10:37:18 +00:00
Nick O'Leary a351cd9d9f
Add move-to-start/end and better subflow menu options 2022-11-01 10:35:57 +00:00
Nick O'Leary d8e01584f3
Remove add-flow-to-right option if clicked in tab bar 2022-10-31 20:20:05 +00:00
Nick O'Leary fb499be979
Add context menu to tab bar 2022-10-25 23:44:59 +01:00
Kazuhito Yokoi 75725a38df Fix file permission 2022-10-12 23:50:33 +09:00
Nick O'Leary 9fd4989142
Fix autocomplete entry for responseUrl
Fixes #3883
2022-09-15 21:22:55 +01:00
Nick O'Leary 0caa308757
Add core:copy-item-link action and expose in info sidebar 2022-09-12 20:53:46 +01:00
Nick O'Leary 6375f3c445
Merge pull request #3841 from Steve-Mcl/fix-search-type-with-spaces
Fix search type with spaces
2022-09-12 19:27:09 +01:00
Nick O'Leary 2328f418be
Merge pull request #3871 from node-red-hitachi/fix-extended-function-error-handling-of-jsonata-editor
Fix error hanndling of JSONata expression editor for extended functions
2022-09-12 19:26:15 +01:00
Nick O'Leary 25c8bfefe2
Merge pull request #3868 from Steve-Mcl/func-types-monaco-util-promisify
add function node monaco types util and promisify
2022-09-12 19:25:07 +01:00
Nick O'Leary 30f4524821
Merge pull request #3866 from kazuhitoyokoi/master-fixbutton4addsshkey
Add button type to the adding SSH key button
2022-09-12 19:18:49 +01:00
Kazuhito Yokoi e2a9f940e2 Check radio button as default in project dialog 2022-09-09 01:05:53 +09:00
Hiroyasu Nishiyama b0d12c4125 Fix error hanndling of JSONata expression editor for extennded functions 2022-09-06 15:38:49 +09:00
Nick O'Leary 1fa8f30550
Support uri fragments for nodes and groups including edit support 2022-09-05 21:08:36 +01:00
Kazuhito Yokoi cc5a770b16 Add button type to buttons on projects dialog 2022-09-04 21:58:02 +09:00
Steve-Mcl a533943a40 add function node monaco types util and promisify
fixes #3851
2022-09-04 01:50:54 +01:00
Stephen McLaughlin e11f17672c
Update packages/node_modules/@node-red/editor-client/src/js/ui/palette.js 2022-09-03 22:01:54 +01:00
Stephen McLaughlin c038c99f9d
Update packages/node_modules/@node-red/editor-client/src/js/ui/search.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-09-03 21:54:41 +01:00
Stephen McLaughlin 5f159c1fbd
Update packages/node_modules/@node-red/editor-client/src/js/ui/search.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-09-03 21:54:21 +01:00
Kazuhito Yokoi cd8ca8981b Add button type to the adding SSH key button 2022-09-03 21:03:08 +09:00
Bruno Feurer eb53054f49 Editor: quick-add when connect to empty. 2022-08-30 15:07:30 +02:00
Steve-Mcl 9540cfe749 fix flags search without val 2022-08-13 18:09:11 +01:00
Steve-Mcl 598bcf675f fix searching by type when type name has a space 2022-08-12 15:45:12 +01:00
Nick O'Leary 4ae914f729
Merge pull request #3801 from kazuhitoyokoi/master-subflowcolor
Support color reset to the default in subflow and group
2022-08-04 13:02:04 +01:00
Nick O'Leary 86ac955b79
Merge pull request #3817 from node-red/fix-regex-name-handle
Allow generateNodeNames to handle names containing regex control chars
2022-08-04 12:58:06 +01:00
Nick O'Leary 9734691cac
Merge pull request #3808 from bonanitech/overflow-auto
Hide scrollbars until they're needed
2022-08-04 12:57:53 +01:00
Nick O'Leary d53cd209f7
Merge pull request #3816 from node-red/import-junction-fix
Include junctions/groups when exporting subflows plus related fixes
2022-08-04 12:57:06 +01:00
Stephen McLaughlin b008a6a2aa
remove console.log
fixes #3819
2022-08-04 11:05:27 +01:00
Nick O'Leary d8e350d603
Allow generateNodeNames to handle names containing regex control characters
Fixes #3813
2022-08-01 21:05:52 +01:00
Nick O'Leary 14a3366850
Include junctins/groups when exporting subflows plus related fixes
Fixes #3805
2022-08-01 20:54:05 +01:00
Mauricio Bonani f454c29b8c Hide scrollbars until they're needed 2022-07-28 10:56:38 -04:00
Kazuhito Yokoi 4fb40f9077 Support color reset to the default in subflow 2022-07-23 21:39:07 +09:00
Nick O'Leary bfdbeb0964
Merge pull request #3791 from Steve-Mcl/allow-editor-create-no-title-no-mode
Allow `mode` and `title` to be omitted in `options` argument for `createEditor`
2022-07-21 11:39:02 +01:00
Nick O'Leary ede82ad0d5
Merge pull request #3789 from Steve-Mcl/fix-focus-issues
Fix focus issues
2022-07-21 11:38:38 +01:00
Nick O'Leary f50dcb9e40
Merge pull request #3788 from node-red/fix-typedinput-submit
Ensure all typedInput buttons have button type set
2022-07-21 11:37:52 +01:00
Nick O'Leary 676c5e5df5
Merge pull request #3787 from node-red/fix-search-unused
Do not flag hasUsers=false nodes as unused in search
2022-07-21 11:37:39 +01:00
Nick O'Leary d52be76c8a
Merge pull request #3786 from node-red/fix-quick-add-pos
Properly position quick-add dialog in all cases
2022-07-21 11:37:26 +01:00
Nick O'Leary c6a517c88c
Merge pull request #3785 from node-red/ts-pos
Ensure quick-add dialog does not obscure ghost node when shifted
2022-07-21 11:37:10 +01:00
Steve-Mcl f7120b32f5 Allow `mode` and `title` to be empty
fixes #3774
2022-07-20 13:58:03 +01:00
Steve-Mcl 273404e24d focus search input when opened via context menu 2022-07-20 12:30:52 +01:00
Steve-Mcl 1b53b5b927 focus stack when re-showing nested editor 2022-07-20 12:30:15 +01:00
Nick O'Leary 39b2fe45a5
Ensure all typedInput buttons have button type set
Fixes #3780

Otherwise they act as type="submit" and the browser will click on them
when enter is pressed in an input
2022-07-20 11:11:44 +01:00
Nick O'Leary 8d3c5d09f6
Do not flag hasUsers=false nodes as unused in search
Fixes #3777
2022-07-20 10:47:57 +01:00
Nick O'Leary 5944fdb5dc
Properly position quick-add dialog in all cases
Fixes #3781
2022-07-20 10:40:20 +01:00
Nick O'Leary e120bad779
Ensure quick-add dialog does not obscure ghost node when shifted 2022-07-20 10:37:40 +01:00
Nick O'Leary d546a4a15b
Remove use of Object.hasOwn
Fixes #3778
2022-07-20 10:14:06 +01:00
Hiroyasu Nishiyama 93a88a83a8 add JSONata support for env var definition 2022-07-20 10:13:13 +09:00
Nick O'Leary 1b94cc3ac0
Merge pull request #3764 from node-red/300
Node-RED 3.0 release
2022-07-14 09:49:05 +01:00
Steve-Mcl 6e5fc29dca show add junction when nodes are selected 2022-07-13 22:34:22 +01:00
Steve-Mcl 75d3444391 Ensure added junc(s) are selected
Feature parity with insert node, insert links etc
2022-07-13 12:43:58 +01:00
Steve-Mcl c648e1e8d6 fix context menu insert junc/links enabled state 2022-07-13 12:42:55 +01:00
Steve-Mcl e2f42fddb5 Ensire only wire links are split with junctions/links 2022-07-13 12:19:05 +01:00
Nick O'Leary 613d34e6e6
Update tourGuide for 3.0 2022-07-12 21:12:31 +01:00
Nick O'Leary b28595c814
Merge pull request #3759 from kazuhitoyokoi/master-fixundo
Focus editor for undo after some actions in menu
2022-07-12 13:18:55 +01:00
Nick O'Leary fca7beec01
Merge pull request #3763 from node-red/pr_3756
Ensure node icon shade has properly rounded corners
2022-07-12 13:18:22 +01:00
Nick O'Leary 6ff2232df3
Ensure node icon shade has properly rounded corners 2022-07-12 09:27:45 +01:00
Nick O'Leary 0a0a7ca39b
Fix storing subflow credential type when input has multiple types
Fixes #3749
2022-07-11 20:19:48 +01:00
Kazuhito Yokoi cee287da99 Focus editor for undo after some actions in menu 2022-07-12 02:09:20 +09:00
Nick O'Leary e14dd06a94
Merge pull request #3748 from Steve-Mcl/fix-add-junc-undo
include dirty state in history event
2022-07-08 17:07:27 +01:00
Steve-Mcl 639030924f include dirty state in history event 2022-07-08 14:09:54 +01:00
Nick O'Leary 241b47fe19
Merge branch 'master' into pr_3744 2022-07-08 13:08:26 +01:00
Nick O'Leary 87258e485a
Merge pull request #3742 from Steve-Mcl/fix-tooltip-exception
prevent exception generating tooltip for deleted nodes
2022-07-08 08:23:56 +01:00
Hiroyasu Nishiyama bd4a5ac844 fixed menu width and window width 2022-07-07 19:39:28 +09:00
Hiroyasu Nishiyama 257b1f89f3 fix display direction of context sub-menu 2022-07-07 16:49:13 +09:00
Steve-Mcl 962672564e prevent exception generating tooltip for deleted nodes 2022-07-06 15:17:58 +01:00
Steve-Mcl 7216c6d62a code linting and remove excessive new lines 2022-07-06 13:08:56 +01:00
Steve-Mcl 21d3261eec Allow editor events to close context menu 2022-07-06 13:05:57 +01:00
Steve-Mcl 03f758720c Allow escape key to close context menu 2022-07-06 13:05:18 +01:00
Steve-Mcl eaa85ae8d5 Fix insert=>link nodes enable/disable state 2022-07-06 12:54:22 +01:00
Stephen McLaughlin 8cb212d897
Merge pull request #3729 from node-red/cut-vs-copy
Do not generate new node-ids when pasting a cut flow
2022-07-06 10:36:14 +01:00
Hiroyasu Nishiyama 6c1f63bfbb introduce RED.view.dimensions for workspace dimensions 2022-07-05 09:02:21 +09:00
Nick O'Leary 78ed53f4fb
Ensure a second paste of cut nodes is treated as a copy-paste 2022-07-04 20:46:21 +01:00
Hiroyasu Nishiyama 02308f9e2f prevennt node from moving out of workspace 2022-07-03 20:39:54 +09:00
Nick O'Leary 829ccc3466
Do not generate new node-ids when pasting a cut flow
Fixes #3629
2022-07-01 17:48:14 +01:00
Nick O'Leary f760354e82
Merge pull request #3700 from ralphwetzel/master
Disable keyboard shortcut mapping when showing Edit[..]Dialog
2022-07-01 12:23:49 +01:00
Nick O'Leary db7e196bf8
Merge pull request #3727 from node-red/rh-click-link-actions
Update add-junction menu to work in more cases
2022-07-01 12:22:00 +01:00
Nick O'Leary 0a5d7c2100
Update add-junction menu to work in more cases 2022-07-01 10:31:50 +01:00
ralphwetzel 4d42f8ec58 Global variable definition in for loop: Fixed 2022-06-30 22:08:58 +02:00
ralphwetzel 81e7b052da Merge branch 'master' of https://github.com/ralphwetzel/node-red 2022-06-30 21:55:25 +02:00
ralphwetzel be44b7e2c7
Merge branch 'node-red:master' into master 2022-06-30 21:54:18 +02:00
ralphwetzel 3726d6fe3b Finetune keyboard shortcut management 2022-06-30 21:52:16 +02:00
ralphwetzel 6090a5b274 Revert disable/enable logic proposed before 2022-06-30 21:51:51 +02:00
Kazuhito Yokoi d4fdf6be67 Add Japanese translations for v3.0-beta.4 2022-07-01 01:09:06 +09:00
Nick O'Leary f041159aa7
Merge pull request #3720 from node-red/300-b4
Update for 3 beta 4
2022-06-30 09:40:56 +01:00
Nick O'Leary f438cbf633
Update for 3 beta 4 2022-06-29 21:04:28 +01:00
Nick O'Leary 51684d18cf
Merge pull request #3719 from node-red/pr_3642
Allow flows to be stopped and started manually
2022-06-29 20:54:45 +01:00
Nick O'Leary 6dd1adda2e
Merge pull request #3703 from node-red-hitachi/fix-subflow-credential-input
Fix credential type input item of subflow template
2022-06-29 20:24:24 +01:00
Nick O'Leary 1839c1972e
Update packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js
Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com>
2022-06-29 20:21:27 +01:00
Nick O'Leary f33848e16b
Rework start/stop api to use runtime-event notification message 2022-06-29 10:27:44 +01:00
Nick O'Leary 388c1b4ce4
Merge pull request #3717 from node-red/tour-help
List welcome tours in help sidebar
2022-06-28 20:54:44 +01:00
Nick O'Leary b134cdb90d
Merge pull request #3715 from node-red/fix-hide-flows-count
Ensure 'hidden flow' count doesn't include subflows
2022-06-28 20:54:29 +01:00
Hiroyasu Nishiyama 3578f1b254 remove line break to prevent jshint error 2022-06-28 20:35:39 +09:00
Nick O'Leary a7e3548f22
List welcome tours in help sidebar under node-red section 2022-06-28 11:54:51 +01:00
Hiroyasu Nishiyama f7e6d7d143 fix type selector of subflow environment variable 2022-06-28 09:16:30 +09:00
Nick O'Leary 7af3acde9e
Ensure 'hidden flow' count doesn't include subflows
Fixes #3707
2022-06-27 20:30:14 +01:00
Stephen McLaughlin 68c1e49f62
Delete view_copy.js
Remove file that slipped through the net
2022-06-27 18:12:45 +01:00
Steve-Mcl 1e57190b8c Merge remote-tracking branch 'upstream/master' into stop-start-flows 2022-06-27 18:07:49 +01:00
Steve-Mcl 1b8a4577d5 improve UI, i18n and layout of stop/start feature 2022-06-27 18:07:22 +01:00
Steve-Mcl 51baed4932 default stop/start feature to `enabled:false` 2022-06-27 18:06:53 +01:00
Steve-Mcl 2f1f587c50 Use HTTP body instead of header for setting flows run state 2022-06-27 18:03:14 +01:00
Kazuhito Yokoi ab1e38dde8 Fix use default button for node icon 2022-06-27 23:56:24 +09:00
Nick O'Leary 5f40dc37a2
Merge pull request #3708 from Steve-Mcl/fix-undo-drop-still-dirty
Ensure workspace clean after undoing dropped node
2022-06-27 14:12:50 +01:00
Steve-Mcl 3cef2bb7e0 Merge remote-tracking branch 'upstream/master' into stop-start-flows 2022-06-27 13:03:52 +01:00
Steve-Mcl 78327716a4 ensure workspace clean after undoing dropped node 2022-06-26 09:08:26 +01:00
Hiroyasu Nishiyama 4bd71da056 fix credential type input item of subflow template 2022-06-23 16:52:43 +09:00
Nick O'Leary d2e84925f7
Set default editor to monaco in absence of user preference 2022-06-22 21:43:25 +01:00
ralphwetzel d81523370e
Merge branch 'node-red:master' into master 2022-06-22 19:58:49 +02:00
ralphwetzel 6939546f22 Disable keyboard shortcut mapping when showing Edit[..]Dialog 2022-06-22 19:58:02 +02:00
Hiroyasu Nishiyama 42ecf54df6 add i18n support adn English and Japanese message 2022-06-21 22:39:22 +09:00
Hiroyasu Nishiyama 10835968fb add access to previous tours 2022-06-21 21:47:57 +09:00
Nick O'Leary 202102ebf7
Fix clicking on node in workspace to hide context menu 2022-06-20 20:51:31 +01:00
Kazuhito Yokoi 0000f2a34d Support i18n in context menu 2022-06-18 00:51:05 +09:00
Nick O'Leary fc5a5f1b73
Merge pull request #3687 from node-red/space-in-strings
Fix handling of spacebar inside JSON visual editor
2022-06-17 10:05:12 +01:00
Nick O'Leary 226ab406b2
Merge pull request #3686 from node-red/fix-menu-padding
Fix menu padding to handle both icons and submenus
2022-06-17 10:05:01 +01:00
Nick O'Leary e3d6d242ac
Fix handling of spacebar inside JSON visual editor
Fixes #3682

The treeList keyboard handling was consuming the event - used
to select the item in the list.

The fix here adds a 'selectable' flag on the treeList that can
be used to disabled (=false) the keyboard selection of items.
2022-06-16 23:29:46 +01:00