Commit Graph

1058 Commits

Author SHA1 Message Date
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
Nick O'Leary 154a4e23dd
Add delete-selection-and-reconnect action 2022-01-11 14:11:55 +00:00
Nick O'Leary 30f2b96c68
Pressing escape whilst DETACH_DRAGGING should revert change 2022-01-11 00:24:34 +00:00
Nick O'Leary 58c94b7773
Add core:detach-selected-nodes action 2022-01-11 00:16:24 +00:00
Nick O'Leary 6580b139c0
Merge pull request #3288 from node-red/wiring-shortcut
Wiring shortcut
2022-01-10 18:34:06 +00:00
Nick O'Leary 2743c7c6ac
Merge pull request #3304 from node-red-hitachi/dev-unknownconfig
Check availability of type of config node on deploy
2022-01-10 18:33:36 +00:00
Nick O'Leary ce98ed98a2
Merge pull request #3334 from Steve-Mcl/fix-monaco-expanded
load extralibs when expanding monaco. fixes #3319
2022-01-10 18:23:07 +00:00
Hiroyasu Nishiyama 931335220f resume focus after import/export dialog close 2022-01-09 23:34:08 +09:00
Steve-Mcl b5e48aa509 load extralibs when expanding monaco. fixes #3319 2022-01-08 19:29:49 +00:00
Kazuhito Yokoi ba794ba58c Use clipboard.writeText() instead of execCommand("copy") 2022-01-07 11:49:26 +09:00
Kazuhito Yokoi b00282590d Fix copy buttons on the debug window 2022-01-07 09:27:01 +09:00
Nick O'Leary 8974d8e4df
Merge pull request #3321 from node-red/fix-prev-tab-action
Fix findPreviousVisibleTab action
2022-01-04 18:58:45 +00:00
Nick O'Leary 699063cbb0
Merge pull request #3312 from node-red/hide-tabs-fix
Fix storing hidden tab state when not hidden via action
2022-01-04 18:58:32 +00:00
Nick O'Leary cb3fcb7bfa
Ctrl-Shift-Click on node should add to existing selection 2022-01-03 23:29:42 +00:00
Nick O'Leary bef641609e
Select links when nodes on either side selected 2022-01-03 23:29:12 +00:00
Nick O'Leary cf19d7f3ad
Fix findPreviousVisibleTab action
Fixes #3320
2022-01-03 21:20:23 +00:00
Nick O'Leary ebd62a4112
Fix storing hidden tab state when not hidden via action
Fixes #3305
2021-12-28 10:29:42 +00:00
Nick O'Leary 9af7357ca4
Avoid adding empty env properties to tabs/groups
Fixes #3306
2021-12-27 12:03:40 +00:00
Kunihiko Toumura 828888490a check availability of config node on deploy 2021-12-21 18:10:42 +09:00
Nick O'Leary 43651135f3
Replace selectedLinks array with wrapped Set object 2021-12-13 21:02:55 +00:00
Nick O'Leary ecaf866613
Fix serialisation of selection in view 2021-12-07 09:29:11 +00:00
Nick O'Leary 5ea3329b36
Allow multiple links to be selected by ctrl-click 2021-12-07 09:19:27 +00:00
Nick O'Leary 7bb7149f4c
Snap nodes on grid using either edge as reference 2021-12-05 23:23:57 +00:00
Nick O'Leary 5856d043ca
Add node wiring actions 2021-12-05 19:52:47 +00:00
Nick O'Leary a824b6910a
Add tooltips to tabs and close/hide buttons 2021-12-02 09:23:13 +00:00
Nick O'Leary dcea382b38
Change tab hide button icon to an eye and add search option 2021-12-01 17:54:17 +00:00
Nick O'Leary 17ffff685a
Trigger change event when autoComplete fills in input
Fixes #3271
2021-12-01 14:35:45 +00:00