Commit Graph

1272 Commits

Author SHA1 Message Date
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
Nick O'Leary 53184715bc
Fix menu padding to handle both icons and submenus
Fixes #3683
2022-06-16 23:18:02 +01:00
Nick O'Leary 1844633ff1
Include scroll offset when positioning quick-add dialog
Fixes #3684
2022-06-16 22:57:23 +01:00
Nick O'Leary ad32677263
Fix lint errors in contextMenu 2022-06-16 14:37:48 +01:00
Nick O'Leary 0eba4bdd61
Add right-click context menu to workspace 2022-06-16 13:59:14 +01:00
Nick O'Leary 28238eb5a7
Allow typeSearch to list actions
A proof-of-concept which needs a bit more UI polish, but capturing the
current code for the future. We do not add actions to the list, so the code
is unused.
2022-06-16 13:57:50 +01:00
Nick O'Leary cce4f6f7f7
Add onpre/postselect, direction opts to menu and make id optional 2022-06-16 13:50:05 +01:00
Nick O'Leary 6bea3dabbb
Allow popover position to be set via absolute pos rather than relative 2022-06-16 13:49:25 +01:00
Nick O'Leary ea46947054
Add RED.actions.getLabel to retrieve action i18n label 2022-06-16 13:48:36 +01:00
Nick O'Leary e50ecd613f
Merge pull request #3671 from node-red-hitachi/fix-disable-junction
Fix disable junction
2022-06-16 11:20:18 +01:00
Nick O'Leary 8093ae8570
Merge pull request #3643 from node-red/fix-drag-hidden
Reset mouse state when switching tabs
2022-06-16 11:09:29 +01:00
Hiroyasu Nishiyama 3ab93ecdd4 fix disable junction 2022-06-16 00:00:02 +09:00
Hiroyasu Nishiyama 2b91edeb74 fix uncorrect fix of junction to subflow conversion 2022-06-14 16:49:14 +09:00
Nick O'Leary 6c49d1aa3f
Merge pull request #3653 from node-red-hitachi/fix-undo-junction-to-subflow
Fix undoing junction to subflow
2022-06-13 21:09:20 +01:00
Nick O'Leary f07f086d62
Merge pull request #3652 from node-red-hitachi/fix-junction-to-subflow
Fix conversion of junction to subflow
2022-06-13 21:09:11 +01:00
Nick O'Leary c28862f8c7
Merge pull request #3650 from node-red-hitachi/fix-export-junction
Fix to include junction to exported nodes
2022-06-13 21:06:33 +01:00
Nick O'Leary 53f453bf34
Merge pull request #3647 from node-red-hitachi/fix-subflow-category-name
Fix to extend escaped subflow category characters
2022-06-13 21:04:13 +01:00
Nick O'Leary a16032a8ed
Track mouse release outside workspace so current action completes 2022-06-13 21:01:34 +01:00
Hiroyasu Nishiyama 6f6f67829b fix undoing junction to subflow 2022-06-13 14:12:04 +09:00
Hiroyasu Nishiyama 94471b6d07 fix conversion of junction to subflow 2022-06-13 08:47:41 +09:00
Hiroyasu Nishiyama 7eed9c0584 include junction to exported nodes 2022-06-12 10:08:13 +09:00
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
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
Nick O'Leary b985de6df2
Merge pull request #3595 from Steve-Mcl/fix-project-switching
Fix project switching when junctions are present
2022-05-05 20:48:54 +01:00
Steve-Mcl 11f6491889 fix project switching when junctions are present
fixes #3588
2022-05-05 16:56:28 +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