Commit Graph

1184 Commits

Author SHA1 Message Date
Hiroyasu Nishiyama 30d88bbe7e extend escaped subflow category characters 2022-06-11 09:50:28 +09:00
Nick O'Leary 551e73adef
Merge pull request #3646 from node-red-hitachi/fix-tab-name-sanitize
Fix to sanitize tab name
2022-06-10 06:56:40 -05:00
Hiroyasu Nishiyama 99d32c4758 sanitize tab name 2022-06-10 20:22:09 +09:00
Nick O'Leary b5d8d34718
Merge pull request #3633 from node-red-hitachi/fix-new-folder-save-to-library
Fix new folder menu of save to library dialog
2022-06-09 15:59:34 -05:00
Nick O'Leary deb9c4ecc0
Reset mouse state when switching tabs
Fixes #3639
2022-06-09 15:47:16 -05:00
Steve-Mcl 68331fc40c implement flows runtime stop/start API and UI 2022-06-08 21:56:17 +01:00
Hiroyasu Nishiyama c4332658ba place node dragged from palette within workspace 2022-06-08 09:36:32 +09:00
Hiroyasu Nishiyama 50e3da0849 fix new folder menu of save to library dialog 2022-05-28 20:16:53 +09:00
Steve-Mcl 7ec1d42808 Change slicing op to mouse button 0
fixes #3582
2022-05-13 16:43:27 +01:00
Nick O'Leary 3057035dec
Do not slice-junction link node wires 2022-05-12 14:57:16 +01:00
Nick O'Leary f6aee81651
Hide junction ports whilst dragging nodes 2022-05-12 10:02:35 +01:00
Nick O'Leary a22f569ca0
Rework Junctions to be more node like in their event handling 2022-05-11 23:13:12 +01:00
Nick O'Leary 8043f5d865
Merge pull request #3606 from node-red/dev
Merge minor dev branch fixes and "Search flow:active" V3 item into master
2022-05-10 11:19:03 +01:00
Stephen McLaughlin 2ef50ab71f
Merge pull request #3604 from node-red/fix-many-to-one-junction-slice
Handle many-to-one slicing of wires
2022-05-10 08:09:00 +01:00
Nick O'Leary d2fab7fddd
Remove duplicate history add of ungroup event
Fixes #3581
2022-05-09 20:51:17 +01:00
Nick O'Leary 1818b0281d
Handle many-to-one slicing of wires 2022-05-09 20:39:34 +01:00
Stephen McLaughlin 09973ba8cf
Update packages/node_modules/@node-red/editor-client/src/js/ui/search.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-05-09 17:41:41 +01:00
Stephen McLaughlin dd3174c40f
Update packages/node_modules/@node-red/editor-client/src/js/ui/search.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-05-09 17:41:33 +01:00
Steve-Mcl 5561e89201 remove unused var 2022-05-08 14:48:57 +01:00
Steve-Mcl 0f2420576a improve flashing of node
sometimes node highlight get stuck
2022-05-08 14:24:30 +01:00
Steve-Mcl d1b74675d9 change search term `is:thisflow` to `flow:active`
this also permits flow:<flow-id>
2022-05-08 14:23:47 +01:00
Nick O'Leary 7841fc6d3e
Merge pull request #3580 from bonanitech/typedinput-label
Fix typedInput label not visible on themes
2022-05-06 19:25:54 +01:00
Kazuhito Yokoi c5af71e0a2 Change icon path from png to svg 2022-05-05 20:38:55 +09:00
Steve-Mcl 531dbc5f83 Fix junction: ensure `sourcePort` is not undefined
fixes #3587
2022-05-05 09:37:32 +01:00
Stephen McLaughlin 851a925956
Merge pull request #3585 from Steve-Mcl/fix-flow-prop-tab
fix error initialising flow tab editor
2022-05-05 08:25:15 +01:00
Steve-Mcl bf8bfa582a fix error initialising flow tab editor
fixes #3577
2022-05-04 15:16:35 +01:00
Steve-Mcl 492d1ef30e declare undeclared loop var 2022-05-04 15:10:02 +01:00
Steve-Mcl bd19c203e1 Prevent error when `uses` search term is used
fixes #3578
2022-05-04 15:08:52 +01:00
Steve-Mcl 1141f9de86 Add ability to search in current flow
fixes #3419
2022-05-04 14:42:47 +01:00
Mauricio Bonani 7955a17a17 Fix typedInput label not visible 2022-05-04 06:37:52 -04:00
Nick O'Leary a2f750ed1a
Merge pull request #3567 from Steve-Mcl/notification-buttons
Add "search for" buttons to notifications
2022-05-03 09:23:21 +01:00
Steve-Mcl 3f776397d1 close parent notification on "search for..." click 2022-05-02 21:24:46 +01:00
Steve-Mcl 1ec75035ba declare missing var `notification` 2022-05-02 21:23:36 +01:00
Steve-Mcl 97b7b7b968 ensure space after search terms 2022-05-02 21:22:45 +01:00
Nick O'Leary f1bada7fd8
Ensure node validation tooltip is closed when field becomes valid 2022-05-02 20:56:01 +01:00
Steve-Mcl 8a972ee543 Add "search for" buttons to notifications 2022-05-01 16:48:04 +01:00
Nick O'Leary bd626899df
Fix linting error from merge 2022-04-28 11:17:32 +01:00
Nick O'Leary ff57de0753
Merge branch 'dev' into diagnostics 2022-04-27 22:30:13 +01:00
Stephen McLaughlin f04e3d5338
fix linting errors introduced in #3553 2022-04-27 15:31:14 +01:00
Nick O'Leary dc03d0b300
Merge pull request #3553 from Steve-Mcl/code-edit-ux-improvements
Code editor ux improvements around remembering state of each code editor in a flow
2022-04-27 14:35:43 +01:00
Steve-Mcl 3e16cc4912 Add i18n for json editor title when readonly 2022-04-27 12:52:41 +01:00
Steve-Mcl fcdf252f03 rename jsonButtons to toolbarButtons 2022-04-27 12:52:01 +01:00
Steve-Mcl b23fea9cb5 group json editor toolbar buttons 2022-04-27 12:50:45 +01:00
Stephen McLaughlin e714ff35c4
Merge branch 'dev' into diagnostics 2022-04-27 12:08:32 +01:00
Steve-Mcl 367f9b6232 i18n 2022-04-27 12:05:20 +01:00
Steve-Mcl 194eb4e266 code editor ux improvements
* Save and restore editor selection(s), cursor(s), scroll pos etc
* Improve focusing of editor at appropriate times
* Works with both ace and monaco
* Backwards compatible and (almost) fully functional with existing nodes
2022-04-27 11:23:13 +01:00
Nick O'Leary 0fec9c7c55
Apply i18n messages to diagnostics dialog 2022-04-26 16:24:13 +01:00
Nick O'Leary f8d0ed7ca6
Merge pull request #3515 from bonanitech/svg-icons
Make it easier to apply themes on SVG icons
2022-04-26 16:22:47 +01:00
Nick O'Leary f4bb62adbc
Merge branch 'dev' into pr_3438 2022-04-26 13:53:35 +01:00
Nick O'Leary 48a528a4b8
Ensure property validation is backwards compatible 2022-04-26 13:45:14 +01:00
Nick O'Leary 5aba66ea78
Merge branch 'master' into dev 2022-04-26 09:14:51 +01:00
Nick O'Leary 15958cd4a3
Fix recording removed links in edit history
Fixes #3546
2022-04-26 09:13:38 +01:00
Nick O'Leary 2fb9f62d0b
Merge branch 'dev' into fix-name-generator 2022-04-25 20:31:33 +01:00
Nick O'Leary 12a25c37aa
Merge branch 'master' into dev 2022-04-20 10:56:55 +01:00
Nick O'Leary 908f9562f6
Fix name auto-generator to leave blank names alone on copy/paste 2022-04-19 19:17:41 +01:00
Hiroyasu Nishiyama a2c0e53f87 fix out of scope reference of hasUnusedConfig variable 2022-04-18 08:36:19 +09:00
Hiroyasu Nishiyama ace5f81a17 fix validation function argument check & eliminate option of standard validation function 2022-04-11 23:06:26 +09:00
Steve-Mcl 8f013776df fix model markers
- monaco depreciated model.getModeId() replaced with model._languageId
2022-04-10 09:13:41 +01:00
Nick O'Leary 1be6e4565f
Merge pull request #3521 from Steve-Mcl/autocomplete-improvements
autocomplete improvements...
2022-04-05 23:44:13 +01:00
Steve-Mcl 475113838a autocomplete improvements...
* add minInput - fixes #3479
* Add missing entries for catch, status, tcp, udp, websocket
* corrections for http request
* match visibility improvements (mono font + match color)
* match to variable source as well as variable name
2022-04-05 14:00:14 +01:00
Steve-Mcl 780e41d6a6 Prevent shortcut deploy when deploy button shaded
fixes #3509
2022-04-04 17:06:29 +01:00
Mauricio Bonani c9fa5c7284 Make typedInput themeable 2022-04-03 18:11:24 -04:00
Mauricio Bonani e97f4c4054 Make tab icon themeable 2022-04-03 18:09:08 -04:00
Dave Conway-Jones 77e2e44abc
Fix markdown editor to mark up orderedlists correctly
to close #3513
2022-03-31 13:45:07 +01:00
Steve-Mcl 5633c5224e Add system info UI 2022-03-29 20:59:35 +01:00
Steve-Mcl 5e197713ff Fix down arrow triggering menu in search box
fixes #3491
2022-03-24 11:28:24 +00:00
Steve-Mcl b918b75414 Merge remote-tracking branch 'upstream/master' into dev 2022-03-23 11:16:18 +00:00
ralphwetzel fad1325427
Fix: Sidebar "Configuration" filter button tooltip
"Configuration" sidebar shows wrong tooltip for filter button "All". Fixed.
2022-03-20 23:59:24 +01:00
Nick O'Leary 3649f10600
Merge pull request #3478 from node-red/auto-gen-name
Allow node name to be auto-generated when added
2022-03-14 19:35:58 +00:00
Nick O'Leary 49e69a54bd
Merge pull request #3481 from Steve-Mcl/fix-node-val-changed
do JSON comparison of old value/new value
2022-03-14 18:52:25 +00:00
Nick O'Leary a0acc89fcb
Merge pull request #3405 from Steve-Mcl/continuous-search
Add feature: Continuous search tools (search previous, search next)
2022-03-14 18:38:04 +00:00
Nick O'Leary 2396e28479
Add 'juntion' to quick-add type search 2022-03-14 18:31:23 +00:00
Nick O'Leary db1ad0df63
Add Junctions 2022-03-14 18:16:24 +00:00
Stephen McLaughlin 73ff852648
backward compatible equality testing of immutables
- make non object equality tests non strict
- this aligns with prior condition
2022-03-10 11:22:59 +00:00
Nick O'Leary 3c0b74005b
Add core:generate-node-names action 2022-03-09 11:32:37 +00:00
Nick O'Leary 93ff667df1
Add RED.utils.getPaletteLabel 2022-03-09 11:29:51 +00:00
Stephen McLaughlin 10f77fdf1a
permit non strict comparison of string or number 2022-03-08 23:13:41 +00:00
Steve-Mcl 99d824a999 Merge 2022-03-08 16:19:28 +00:00
Steve-Mcl 97d2b5df15 close search toolbar on escape 2022-03-08 16:09:05 +00:00
Steve-Mcl 84a9cf7adf handle errors by circ refs, undefined, BigInt etc 2022-03-08 14:20:12 +00:00
Steve-Mcl a49927f173 do JSON comparison of old value/new value
fixes #3475
2022-03-08 14:07:03 +00:00
Steve-Mcl c948573c2d fix PR 'split wire with link nodes' #3416 2022-03-07 20:23:06 +00:00
Stephen McLaughlin 5233bc501c
Merge branch 'dev' into continuous-search 2022-03-07 20:04:59 +00:00
Steve-Mcl ad96c6f838 fix search counter glitch 2022-03-07 20:01:24 +00:00
Nick O'Leary 0e92f68b4a
Merge pull request #3399 from Steve-Mcl/split-wire-to-links
Add feature: split-wire-to-links
2022-03-07 12:57:49 +00:00
Steve-Mcl fce4f0c116 resolve PR issues...
- change default keymap to `ALT-L L`
- Move `RED.nodes.createNode` to `RED.view.createNode`
- replace `selectedLinks` with `selection().links`
2022-03-05 11:06:13 +00:00
Steve-Mcl cf1424976f Improve scroll into view
- if a node is behind scrollbar, it is not scrolled into view
- jQuery `.width()` & `.width()` actually includes the scroll bar.
- using native `clientWidth` and `clientHeight` fixes this
2022-03-04 16:08:29 +00:00
Steve-Mcl 94e8fce40a improve contineous search
- rename action core:search-prev for  core:search-previous
- Ensure search counter in toolbar is i18n ready
- remember (and display in toolbar) the search term
- recall the search term when magnifier clicked
- esnure currently flashing node is cancelled before flashing next node
- Add "flash" for flow tabs revealed by a search
- Fix "flash" for config nodes revealed by a search
2022-03-04 16:00:02 +00:00
Nick O'Leary c75bebfc90
Merge pull request #3390 from node-red/copy-node-props
Copy node props
2022-03-03 21:57:00 +00:00
Nick O'Leary c07eddbd97
Merge branch 'dev' into search-options 2022-03-03 21:52:52 +00:00
Nick O'Leary 0533c08438
Merge branch 'master' into dev 2022-02-18 22:02:30 +00:00
Nick O'Leary 4573b65639
Merge pull request #3444 from node-red/keyboard-filter-case
Handle mixed-cased filter terms in keyboard shortcut dialog
2022-02-14 23:18:16 +00:00
Nick O'Leary 99c053f86b
Merge pull request #3440 from Steve-Mcl/monaco-env-suggestions
Coding help for recently added node-red Predefined Environment Variables
2022-02-14 23:02:55 +00:00
Nick O'Leary f2dde705ef
Handle mixed-cased filter terms in keyboard shortcut dialog
Fixes #3400
2022-02-14 20:59:43 +00:00
Steve-Mcl 4d84926ed2 Update monaco for Predefined Environment Variables
- add Predefined Environment Variables to snippet suggestions
- update jsdoc for `env.get`
2022-02-14 13:38:37 +00:00
Hiroyasu Nishiyama 9f98b4b082 add support of property validation message 2022-02-14 10:40:49 +09:00
Steve-Mcl b3f1401ab4 Dont add wires to undo buffer twice
Fixes #3433
2022-02-13 16:56:26 +00:00
Nick O'Leary 2eff7da171
Merge pull request #3397 from node-red-hitachi/fix-config-node-validation
fix node validation to be applied to config node
2022-02-09 19:47:23 +00:00
Steve-Mcl fe47b07229 Add feature: search next, search previous 2022-02-09 11:00:09 +00:00
Hiroyasu Nishiyama dc73997be3 fix not to use hasOwnProperty 2022-02-08 09:21:52 +09:00
Steve-Mcl 62315fd478 Add feature: split-wire-to-links 2022-02-07 12:25:09 +00:00
Hiroyasu Nishiyama fb81121bd3 fix node validation to be applied to config node 2022-02-04 17:45:00 +09:00
Steve-Mcl c6104195f6 add search options dropdown to regular search 2022-02-03 10:26:50 +00:00
Steve-Mcl 6431c43d0e Add ability to find modified nodes/flows 2022-02-02 17:21:23 +00:00
Hiroyasu Nishiyama 7959d18248 hide tooltip after removing subflow tab 2022-02-02 11:34:58 +09:00
Nick O'Leary 2f66915a9f
Update node info table based on selection of outliner 2022-01-31 21:14:07 +00:00
Nick O'Leary a508177e21
Add copy-value button to entries in Node Props table of info sidebar 2022-01-31 20:35:42 +00:00
Nick O'Leary 3304ebe9d3
Merge pull request #3382 from node-red-hitachi/fix-subflow-update
fix opening/closing subflow template not to make subflow changed
2022-01-27 09:30:26 +00:00
Hiroyasu Nishiyama b06049d5a3 fix opening/closing subflow template not to make subflow changed 2022-01-27 12:57:37 +09:00
Nick O'Leary a4fd63cd44
Merge pull request #3380 from Steve-Mcl/search-find-filenode
Pallet Label (if different to type) should be indexed for search
2022-01-26 17:00:47 +00:00
Steve-Mcl fdc4219b68 palletLabel (if different) should be indexed
for search - fixes #3297
2022-01-26 16:14:34 +00:00
Nick O'Leary 4173625fca
Merge pull request #3243 from node-red/delete-global-context
Clear context contents when switching projects
2022-01-26 11:28:34 +00:00
Nick O'Leary 283e8d3c08
Merge pull request #3373 from Steve-Mcl/merge-fix
bug: merge issue. fixes #3364
2022-01-26 11:01:35 +00:00
Nick O'Leary 42a7165596
Merge pull request #3372 from Steve-Mcl/use-paletteLabel-in-help
Use a nodes palette label in help tree
2022-01-26 11:00:53 +00:00
Steve-Mcl 8b85f6e0a6 ensure help search is case insensitive 2022-01-25 18:27:47 +00:00
Nick O'Leary 42358419ad
Fix vertical align of subflow port labels 2022-01-25 17:08:04 +00:00
Nick O'Leary ab2ced5c37
Merge pull request #3352 from ralphwetzel/dev
Subflow: Add labels to OUTPUT nodes
2022-01-25 17:07:12 +00:00
Steve-Mcl faf31be0dc Ensure label is shown in help tree 2022-01-25 16:30:30 +00:00
Steve-Mcl 10b133db02 bug: merge issue. fixes #3364 2022-01-25 14:47:36 +00:00
Nick O'Leary f0bf607b43
Merge pull request #3359 from node-red-hitachi/fix-action-list-i18n
fix to make actions list i18n ready and Japanese translation
2022-01-25 14:47:18 +00:00
Hiroyasu Nishiyama 2da9161f29
Update packages/node_modules/@node-red/editor-client/src/js/ui/actions.js
Oh, I'm sorry about this.

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-01-25 21:21:39 +09:00
Nick O'Leary f67aafa8d3
Merge pull request #3361 from node-red/zoom-level
Remember Zoom level and Sidebar tab selection between sessions
2022-01-24 23:21:31 +00:00
Nick O'Leary e0d4ecf835
Merge branch 'master' into dev 2022-01-24 23:18:25 +00:00
Nick O'Leary d679b02658
Add option to remember zoom and scroll position in localStorage 2022-01-24 21:04:27 +00:00
Nick O'Leary dbefe6a560
Revert copy-text change and apply alternative fix
Reverts PR #3331 and applies the alternative fix originally proposed
in PR #3329
2022-01-18 09:27:15 +00:00
Nick O'Leary a2e0074061
Update marked to latest 2022-01-18 09:20:52 +00:00
Nick O'Leary 5fc920087b
Store user zoom level in localStorage 2022-01-17 21:27:48 +00:00
Nick O'Leary 085233ab9b
Remember last sidebar tab between editor sessions 2022-01-17 21:27:21 +00:00
Hiroyasu Nishiyama 6657b2629f move i18n code to action list according to PR comment 2022-01-16 12:10:19 +09:00
Hiroyasu Nishiyama 58f3a76da7 fix to make actions list i18n ready and Japanese translation 2022-01-15 20:39:05 +09:00
Hiroyasu Nishiyama a2c9458b1b aligin start of property error tooltip messages 2022-01-15 13:11:56 +09:00
ralphwetzel eb1b8b577f
Merge branch 'node-red:dev' into dev 2022-01-13 23:36:23 +01:00
ralphwetzel 28f91685ce Subflow: Add labels to OUTPUT nodes 2022-01-13 23:33:06 +01:00
Nick O'Leary 81a4fe59d9
Update changelog/welcome tour for 2.2 2022-01-13 15:16:16 +00:00
Nick O'Leary 51f45293b8
Merge branch 'master' into dev 2022-01-13 10:52:36 +00:00
Nick O'Leary 1e5ed2a2e3
Merge pull request #3331 from kazuhitoyokoi/master-fixcopybutton2
Fix copy buttons on the debug window (another method)
2022-01-13 09:50:27 +00:00
Kazuhito Yokoi cf613aafb2
Update packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2022-01-13 10:35:12 +09:00
Nick O'Leary 47c912c25b
Merge pull request #3345 from node-red/jsonata-compat-mode-fix
Improve jsonata legacy mode detection regex
2022-01-12 22:54:05 +00:00
Nick O'Leary df70c8a800
Fix generating flow name with incrementing number
Fixes #3295
2022-01-12 22:45:18 +00:00
Nick O'Leary 0cf9b5f3df
Improve jsonata legacy mode detection regex
Fixes #3290
2022-01-12 21:56:38 +00:00
Nick O'Leary 8b43b31c64
Add checkbox on project-open screen to clear context 2022-01-12 21:05:47 +00:00
Nick O'Leary f86e743cce
Merge branch 'master' into dev 2022-01-12 17:59:26 +00:00
Nick O'Leary cb96fb735e
Merge pull request #3289 from node-red/snap-grid
Snap nodes on grid using either edge as reference
2022-01-12 17:57:26 +00:00
Nick O'Leary 459a52d31d
Merge pull request #3340 from node-red/cut-wires
Add wire-slice mode to delete wires with Ctrl-RHClick-Drag
2022-01-12 17:52:54 +00:00
Nick O'Leary 44ef9a13d6
Merge pull request #3338 from node-red/detach-action
Detach action
2022-01-12 17:52:32 +00:00
Nick O'Leary 0bb3652a63
Merge pull request #3323 from node-red/highlight-links
Highlight links when selecting nodes
2022-01-12 17:52:03 +00:00
Nick O'Leary 6a82d683a9
Merge pull request #3262 from node-red/search-history
Add search history to main search box
2022-01-12 17:51:46 +00:00
Nick O'Leary fad708e8de
Merge pull request #3294 from node-red/multi-select-links
Allow multiple links to be selected by ctrl-click
2022-01-12 17:51:15 +00:00
Nick O'Leary af949c62c2
Allow 'escape' to cancel wire-slicing 2022-01-12 17:24:25 +00:00
Nick O'Leary f3997128b9
Add wire-slice mode to delete wires with Ctrl-RHClick-Drag 2022-01-11 19:49:40 +00:00