Commit Graph

222 Commits

Author SHA1 Message Date
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 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 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
Hiroyasu Nishiyama 99d32c4758 sanitize tab name 2022-06-10 20:22:09 +09:00
Mauricio Bonani 7955a17a17 Fix typedInput label not visible 2022-05-04 06:37:52 -04:00
Nick O'Leary f1bada7fd8
Ensure node validation tooltip is closed when field becomes valid 2022-05-02 20:56:01 +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 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 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 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
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
Steve-Mcl 5e197713ff Fix down arrow triggering menu in search box
fixes #3491
2022-03-24 11:28:24 +00:00
Hiroyasu Nishiyama 9f98b4b082 add support of property validation message 2022-02-14 10:40:49 +09:00
Hiroyasu Nishiyama 7959d18248 hide tooltip after removing subflow tab 2022-02-02 11:34:58 +09:00
Steve-Mcl 10b133db02 bug: merge issue. fixes #3364 2022-01-25 14:47:36 +00:00
Nick O'Leary cf19d7f3ad
Fix findPreviousVisibleTab action
Fixes #3320
2022-01-03 21:20:23 +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
Nick O'Leary fba6e801fc
Avoid redundant initialisation of TypedInput type 2021-11-16 14:32:09 +00:00
Nick O'Leary 84a237d3f5
Fix treeList gutter calculation to handle floating gutters
Fixes #3234
2021-10-28 10:44:50 +01:00
Nick O'Leary ba83be9062
Handle changing types of TypedInput repeatedly
Fixes #3222
2021-10-25 13:54:42 +01:00
Nick O'Leary ecfd61a822
Fix TypedInput initialisation handle 2021-10-24 22:53:22 +01:00
Nick O'Leary 2b220abdb7
Fix issue with old inject nodes that migrated topic to 'string' type 2021-10-22 09:01:24 +01:00
Nick O'Leary d695cf392e
Fix TypedInput validation of type without options
Fixes #3206
2021-10-21 14:44:15 +01:00
Nick O'Leary 7610353f07
Position popover properly on a scrolled page
Not needed in the core editor, but needed in the docs pages that can scroll
2021-10-19 22:22:53 +01:00
Nick O'Leary 0cc061196d
Handle changing value before type without reseting TypedInput 2021-10-19 10:11:37 +01:00
Nick O'Leary de882f5849
Fix saving link out node links 2021-10-18 09:32:00 +01:00
Nick O'Leary bed1be14ba
Allow toolip action/content to be updated 2021-10-12 17:24:46 +01:00
Nick O'Leary 7cd92faf0d
Separate 'focus' from 'selected' state in treeList 2021-10-12 17:24:41 +01:00
Nick O'Leary 764fc8477d
Merge pull request #3176 from node-red/long-module-names
Improve handling of long labels in TreeList
2021-10-08 15:52:05 +01:00
Nick O'Leary 904babdd13
Shift-click tab scroll arrows to jump to start/end 2021-10-08 15:45:17 +01:00
Nick O'Leary 154d3842a8
Improve handling of long labels in TreeList 2021-10-08 15:30:43 +01:00
Nick O'Leary a296b1c9c8
Merge pull request #3172 from node-red/tour-210
Update welcome tour for 2.1.0-beta.1
2021-10-07 09:34:52 +01:00
Nick O'Leary 4b0eb8475d
Fix updating shortcuts in menus after keyboard dialog closed 2021-10-06 13:51:38 +01:00
Nick O'Leary 3dc874b517
Update welcome tour for 2.1.0-beta.1 2021-10-06 12:05:49 +01:00
Nick O'Leary 42d90542b5
Merge pull request #3171 from node-red/auto-complete
Add autoComplete widget and add to TypedInput for msg. props
2021-10-06 11:40:20 +01:00
Nick O'Leary e2d7fcbfc2
Add lots of docs to RED.popover 2021-10-05 23:18:29 +01:00
Nick O'Leary 421d155586
Add some docs to autoComplete widget 2021-10-05 20:41:21 +01:00
Nick O'Leary 7f9e318214
Add autoComplete widget and add to TypedInput for msg. props 2021-10-05 17:59:44 +01:00
Nick O'Leary 6c96cde73c
Copy previous rule type when adding rule to switch node 2021-10-05 10:34:46 +01:00
Nick O'Leary 8a5eda9c1f
Ensure type select button is not focussable when TypedInput only has one type 2021-10-02 23:25:56 +01:00
Nick O'Leary da114fa3a5
Merge pull request #3152 from node-red/link-call
Add Link Call node
2021-10-01 15:59:43 +01:00
Nick O'Leary ac84b6fe3f
Do better remembering TypedInput values whilst switching types 2021-09-30 18:14:45 +01:00
Nick O'Leary 8bf69c598a
Ensure tab scroll handles are cleared when hide-all tabs run 2021-09-30 10:34:18 +01:00