Nick O'Leary
abaebb329d
Merge branch 'dev' into edit-panes-2
2021-09-07 13:42:49 +01:00
Nick O'Leary
192b542fe4
Add menu options for align tools and show shortcuts on menu
2021-09-07 11:47:04 +01:00
Nick O'Leary
e910f3915d
Initial refactor of edit dialogs to separate panes
2021-09-02 10:33:43 +01:00
Mauricio Bonani
f2a9887a12
Place close tab link in front of fade
2021-09-02 10:26:39 +01:00
Nick O'Leary
b36dd62c50
Remove console.log
2021-08-31 15:23:50 +01:00
Nick O'Leary
ed8e7afdf6
Add flow tab bar menu
2021-08-31 14:46:11 +01:00
Nick O'Leary
c880cc0987
Add core:hide-other-tabs and handle multiple tab selection
2021-08-27 11:46:30 +01:00
Nick O'Leary
7962278475
Allow tabs to be hidden via x-button on tab
2021-08-26 12:06:35 +01:00
Nick O'Leary
c8949f5eeb
Fix treeList gutter padding for outliner
2021-08-26 12:06:30 +01:00
Nick O'Leary
46e2ff1001
Allow tabs to be hidden
2021-08-26 12:06:15 +01:00
Mauricio Bonani
9e5218f6b4
Place close tab link in front of fade
2021-08-10 14:21:54 -04:00
Nick O'Leary
e7efa76e6d
Add a slight fade to tab labels that overflow
2021-07-08 12:23:15 +01:00
Nick O'Leary
844bf29de1
Add RED.view.annotations api
2021-06-24 17:40:26 +01:00
Nick O'Leary
1a27e60e55
Allow RED.popover.panel to specify a closeButton to ignore click events on
2021-06-16 11:44:40 +01:00
Nick O'Leary
a3a4fc0cc2
Fix label padding of toggleButton
2021-06-16 11:44:25 +01:00
Nick O'Leary
ae686bb15d
Give sidebar open tab a bit more room for its label
2021-06-16 11:44:20 +01:00
Nick O'Leary
9b46dbaff1
Switch editableList buttons from <a> to <button> elements
2021-06-08 10:56:04 +01:00
Steve-Mcl
e1c5764fbf
move new inject button to existing edit form
...
- revert refactoring of building editableList (not needed now)
- remove node button modifier click & tray.show feature
- add inject button to editableList [buttons] array
- add `id` option to editableList to permit DOM access after creation
- get the new inject button via its `id` and float it to the right
- removed the popup tray buttons i18n entries
2021-05-22 10:52:44 +01:00
Nick O'Leary
be9521f659
Revert some of #2967 to fix treeList gutter width calculation
2021-05-14 21:17:47 +01:00
Nick O'Leary
866f305686
Open subflow tab next to active tab rather than at the end
2021-05-13 13:57:29 +01:00
Nick O'Leary
ade318bb78
Support mousewheel scroll in tab bar
2021-05-11 15:58:01 +01:00
Nick O'Leary
9886af3cec
Fix jshint error in treeList
2021-04-29 14:09:21 +01:00
Daniele
a150d8e289
Update packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js
...
Thanks for the tip, I'll remember next time.
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2021-04-28 23:37:26 +02:00
GitHub
d47a8aa562
Fix remove item when depth=0 and wrong gutter calc
2021-04-28 17:25:26 +02:00
Nick O'Leary
1d12017f11
Sort context stores in TypedInput and ensure default first
...
Fixes #2954
2021-04-26 10:13:57 +01:00
Nick O'Leary
23a5cb1917
Ensure typedInput option is selected in dropdown menu
...
Part of #2945
2021-04-20 23:39:21 +01:00
Nick O'Leary
f8d5fef3c4
Ensure typedInput without value has focus class removed
...
Closes #2945
2021-04-20 23:25:56 +01:00
Nick O'Leary
9eb668ab30
Prevent TypedInput label overflowing element
...
Also adds title attribute to the button for the label so it gets a tooltip
2021-04-19 15:28:17 +01:00
Nick O'Leary
233a74c146
Remove TypedInput from tab focus when only one type available
2021-04-19 15:27:47 +01:00
Nick O'Leary
3f43dc1855
Fix jshint error
2021-04-19 10:43:01 +01:00
Nick O'Leary
4a4e7fc7cb
Make typedInput.disable more consistent in behaviour
...
Fixes #2942
2021-04-19 10:39:58 +01:00
Nick O'Leary
6a8cf1b768
Fix variable reference error in editableList
...
Fixes #2933
2021-04-13 13:24:54 +01:00
Nick O'Leary
f7a6a333e1
Show context store name on TypedInput flow/global types
...
Fixes #2793
2021-03-10 17:51:20 +00:00
Nick O'Leary
c37ea90206
Remember TypedInput selected sub option when switching types
...
Fixes #2896
2021-03-10 17:50:46 +00:00
Nick O'Leary
3d23d1de4f
Merge pull request #2873 from node-red/function-modules
...
Function node external modules
2021-03-01 21:35:31 +00:00
Nick O'Leary
5809a3af0d
Merge pull request #2881 from bartbutenaers/editableList-buttons
...
EditableList custom buttons
2021-02-25 15:58:23 +00:00
Nick O'Leary
5f8804c25c
Ensure TypedInput Change event is passed type/value properties
...
Fixes #2883
2021-02-25 13:03:31 +00:00
bartbutenaers
02d1369d5b
Escape all user input
2021-02-23 00:00:23 +01:00
bartbutenaers
0fef2ab509
Avoid innerHtml
2021-02-22 21:45:12 +01:00
bartbutenaers
ae7a3981c0
Pass evt to button handler
2021-02-21 23:24:40 +01:00
bartbutenaers
8b4aa3f5af
Custom buttons comment
2021-02-21 22:57:34 +01:00
bartbutenaers
60c8a2c598
Custom buttons
2021-02-21 22:55:19 +01:00
Nick O'Leary
45afd06047
Prevent rogue mouseup on tab from triggering tab change
2021-02-17 12:03:13 +00:00
Nick O'Leary
785c349adc
Prevent function module overwriting built-in sandbox properties
2021-02-16 13:58:59 +00:00
Nick O'Leary
9c09ee3b71
Rework Function node module integration
2021-02-12 18:14:13 +00:00
Nick O'Leary
df1eb631e1
Merge pull request #2752 from bartbutenaers/readonly-typedinput
...
Allow TypedInput to be disabled
2020-12-07 12:21:53 +00:00
Nick O'Leary
bed1d31bc8
Restore cursor position in TypedInput cred-mode
2020-11-16 11:37:04 +00:00
bartbutenaers
e149174696
Disable TypedInput
2020-11-06 08:45:50 +01:00
Nick O'Leary
15a600c763
Fix tab selection after sidebar tab reorder
2020-10-14 22:10:03 +01:00
Hiroyasu Nishiyama
13f046f310
fix unexpected line break of sidebar tab name popover
2020-10-07 09:57:34 +09:00
Nick O'Leary
103e212aee
Fix size of context sidebar refresh toggle buttons
2020-09-22 23:44:10 +01:00
Nick O'Leary
a48f0827ae
Detect importing duplicate nodes and help user resolve
2020-09-16 11:59:13 +01:00
Nick O'Leary
5686158245
Allow toggleButton icons to be optional
2020-09-16 11:59:13 +01:00
Nick O'Leary
3824cdde68
Allow treeList to have a header component
2020-09-16 11:59:13 +01:00
Nick O'Leary
4dd619b8c6
Merge branch 'master' into dev
2020-09-03 16:14:55 +01:00
Nick O'Leary
3b9065b057
Prevent Enter on search box from reloading page
...
Fixes #2678
2020-09-03 11:22:41 +01:00
Nick O'Leary
73d8dfe381
Allow sidebar tabs to be reordered
...
The sidebar tab buttons can now be dragged to reorder them.
Changes to the order are stored in user preferences.
2020-07-15 11:26:08 +01:00
Nick O'Leary
c9069d472f
Make color/icon/label-pos pickers keyboard navigable
2020-06-18 22:23:50 +01:00
Nick O'Leary
76728d1783
Move config nodes under type-level hierarchy in outline
...
Also adds user-count label and button to open search
2020-06-15 22:31:47 +01:00
Nick O'Leary
97fd34150f
EditableList/TreeList - defer adding elements to DOM
...
Whenever a DOM element is modified, it causes the browser to re-examine
the whole hierarchy around the element to see if anything needs to change.
This can cause a lot of extra work if an element is added to the DOM and
then a lot of updates are applied to the element.
It is much better to get the element as close to its final state as
possible *before* adding it to the DOM.
2020-06-10 00:42:11 +01:00
Nick O'Leary
d28b8b5e8d
Some performance improvements for TreeList
2020-06-08 17:13:05 +01:00
Nick O'Leary
a9fb50787b
Add search presets option to searchBox widget
2020-06-08 12:01:29 +01:00
Nick O'Leary
ce7d7a8e01
Add RED.popover.menu as a new type of menu widget
2020-06-08 12:01:05 +01:00
Nick O'Leary
d9502a6c00
Refresh outline filter whenever something changes
...
Fixes #2601
2020-06-05 22:19:46 +01:00
Nick O'Leary
7c2786969a
Preserve event handlers when moving outliner items
2020-06-05 09:55:36 +01:00
Nick O'Leary
139ae547c6
Add filter to link node
2020-06-03 15:54:51 +01:00
Nick O'Leary
2ce424b567
Add compact searchBox to status/catch/complete nodes
2020-06-01 21:09:58 +01:00
Steve-Mcl
9128b12960
Support setting title on typedInput option/ check
2020-06-01 11:25:42 +01:00
Nick O'Leary
38872049fd
Fix checkbox appearance on status/complete/catch/link nodes
2020-05-21 10:39:49 +01:00
Nick O'Leary
e674d9246b
[treeList] Ensure removed item is also removed from selected set
2020-05-19 00:15:51 +01:00
Nick O'Leary
fbd911ed27
[outliner] Keep outliner selection in sync with workspace
2020-05-14 22:08:25 +01:00
Nick O'Leary
f25e4ea520
[help-sidebar] Include subflow help in sidebar
2020-05-07 12:34:15 +01:00
Nick O'Leary
9f29149d87
[help-sidebar] Add help sidebar
2020-05-06 16:15:12 +01:00
Nick O'Leary
010e20989a
[popover] Allow hover-type popovers to contain buttons
2020-05-06 16:12:07 +01:00
Nick O'Leary
2af7066512
Merge branch 'dev' into outliner
2020-05-05 15:11:35 +01:00
Nick O'Leary
d7df20413d
Merge branch 'master' into dev
2020-05-04 11:41:44 +01:00
Nick O'Leary
fc2a9a85ff
[outline] Reveal selected item after clearing outline filter
2020-05-01 17:51:44 +01:00
Nick O'Leary
78c86880e4
[outline] Update information section of info sidebar
2020-05-01 17:39:54 +01:00
Nick O'Leary
aca61c0354
Modify RED.panels to use flexbox position
2020-05-01 17:38:23 +01:00
Nick O'Leary
597c4a2e4f
Add createNodeIcon and getDarkerColor to RED.utils
2020-05-01 17:37:15 +01:00
Nick O'Leary
d2d872f51c
TreeList updates for the outliner sidebar
...
All data items now get their `item.treeList` api added even if deferBuild is set.
This means the apis can be used regardless of whether the tree has built their
ui pieces.
Also adds a number of new api calls
Top-level methods:
- clearSelection - clears selection from the list
- filter(filterFunc) - filters the tree using the provided function
Data item functions:
- item.treeList.sortChildren(sortFunction)
- item.treeList.replaceElement(element)
2020-04-27 11:14:47 +01:00
Nick O'Leary
28418288e3
Allow RED.notify.popover to have a position offset
2020-04-27 11:05:32 +01:00
Nick O'Leary
0150769c17
EditableList api calls must not return nested list items
2020-04-27 11:04:41 +01:00
Nick O'Leary
e26eb85718
Fine tune typedInput flexbox handling on option-button
2020-04-08 17:06:11 +01:00
Nick O'Leary
24f7000918
[groups] Remove padStart because IE11
2020-04-02 23:23:41 +01:00
Nick O'Leary
6ff3286d78
Merge branch 'master' into dev
2020-04-02 16:52:55 +01:00
Nick O'Leary
f058de8bcd
Update TypedInput to use flexbox and remove resizing code
2020-04-02 16:49:58 +01:00
Nick O'Leary
294696daf5
Merge branch 'dev' into groups
2020-03-30 23:42:52 +01:00
Nick O'Leary
05fc3c5eca
Merge branch 'master' into dev
2020-03-30 23:41:33 +01:00
Nick O'Leary
20a8059758
[groups] Add style options for group label
2020-03-20 20:00:03 +00:00
Nick O'Leary
634a51635c
Battling Chrome Autocomplete, part 31: Wrap search input with form
2020-02-10 18:56:03 +00:00
Nick O'Leary
bffcaa1c17
Refocus credential typedInput when hide/show button clicked
2020-02-10 11:16:19 +00:00
Nick O'Leary
33cbb2ada8
Fixup typedInput cred css
2020-02-10 11:09:49 +00:00
Nick O'Leary
d08e77cf36
Add credential type to TypedInput
2020-02-10 11:09:49 +00:00
Nick O'Leary
9d4238e5cc
Re-enable jshint on editor and fixup issues
2020-01-22 11:53:41 +00:00
Kazuhito Yokoi
361dc194ee
Support ctrl key to select tabs for Windows
2019-10-31 14:46:29 +09:00
Thierry Le Gal
5056203023
Insert divider in menu by calling RED.menu.addItem('id', null);
2019-10-07 14:47:20 +02:00
Nick O'Leary
c09004dbc8
Fix error when setting typedInput to boolean true/false
2019-10-03 15:04:49 +01:00
Nick O'Leary
52373e5bef
Add click-on-tooltip to close
...
For the rare occasions a tooltip gets orphaned on the page
2019-09-29 16:47:18 +01:00
Nick O'Leary
7178c63e10
Fix tab access on touch screens
2019-09-20 12:58:21 +01:00