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
Nick O'Leary
2601cc898c
Fix undefined reference loading on mobile
2019-09-20 12:58:21 +01:00
Nick O'Leary
ec01f8f54b
Move context sidebar auto-refresh option to individual sections
2019-09-10 17:10:22 +01:00
Nick O'Leary
880757fb5d
Rework Subflow Instance property UI ( #2236 )
...
* Add support of Subflow UI definition
* new UI definition for env var
* fix label
* fixed value obtaining
* fixed label width
* fix checkbox
* fix subflow info
* remove old subflow ui tests
* add tests
* merge ui new changes
* fix initial open button
* fix environment variable edit tab
* WIP: cp-1
* Rework subflow ui property
* Restrict SF value type according to input selection
* Move subflow property UI code to subflow.js
* Update subflow ui type select appearance
* Present subflow instance properties as table rather than generated UI
* Move subflow instance properties to separate tab
* Fix subflow property ui element layout issues
2019-08-12 15:01:54 +01:00
Nick O'Leary
8b3b541a56
Improve typedInput label width calculation
...
If the label contains an img, the width calculation needs
to wait for the img to be loaded. This fix is a bit hacky
as it doesn't actually tie into the onload event, but should
be good enough
2019-07-01 11:17:36 +01:00
Nick O'Leary
93c811ab70
Update typedInput icons to svg
...
Map any request for one of our pngs to its svg replacement
2019-06-21 21:45:14 +01:00
Nick O'Leary
3ff861099a
Move deploy icons to svg
2019-06-21 16:08:43 +01:00
Nick O'Leary
d645fbff2f
Merge branch 'master' into dev
2019-06-19 10:11:51 +01:00
Nick O'Leary
8486f4d43a
Copy data-i18n attribute on TypedInput
...
Fixes #2211
2019-06-19 10:10:17 +01:00
Nick O'Leary
41a0af032c
Enable individual flow nodes to be disabled
2019-06-14 22:12:47 +01:00
Nick O'Leary
14f6788ab9
Set autocomplete to disabled in form input elements
2019-06-14 11:17:49 +01:00
Nick O'Leary
8abc5b3889
Add actions to change deploy type
2019-06-12 10:06:58 +01:00
Nick O'Leary
cc0933eee4
Rename commandPrompt to actionList
2019-06-11 22:43:28 +01:00
Nick O'Leary
ea0526f29a
Add insertItemAt doc to editableList
2019-06-11 17:12:31 +01:00
Nick O'Leary
e3e0378857
Add visual json editor
2019-06-11 14:44:44 +01:00
Nick O'Leary
eed3a749db
Fix undefined error on typedInput due to valueLabel used before being added
2019-06-07 14:34:35 +01:00
Hiroyasu Nishiyama
cf8faac7ef
fix width calculation of typedInput
2019-05-31 22:20:54 +09:00
Nick O'Leary
b1b4b3fb63
Ensure tooltip popover doesn't replace normal popover
2019-05-28 13:25:03 +01:00
Nick O'Leary
d360f30af6
Ensure library list has an item selected when opened
2019-05-28 11:23:03 +01:00
Nick O'Leary
390b86cd8e
Revert treeList children function signature change
2019-05-27 21:11:50 +01:00
Nick O'Leary
749a080397
Fix typedInput option selection
...
Fixes #2174
2019-05-25 21:19:31 +01:00
Nick O'Leary
b105a12505
Fix palette node id handling so search works
...
Fixes #2173
2019-05-24 22:13:21 +01:00
Nick O'Leary
245e06f026
Merge branch 'master' into dev
2019-05-24 10:22:14 +01:00
Nick O'Leary
a71d4223ff
Add node-select to typedInput
2019-05-23 23:38:42 +01:00
Nick O'Leary
cae003d4fa
Add RED.view.selectNodes api for node selection whilst editing
2019-05-23 16:39:06 +01:00
Nick O'Leary
42b60aef4e
Fix library/clipboard import/export issues
2019-05-21 22:58:56 +01:00
Nick O'Leary
5ab7380ad1
Add auto-refresh toggle to context sidebar
2019-05-21 17:19:39 +01:00
Nick O'Leary
5f3e9a19ea
Introduce toggleButton and move flow-disabled to use it
2019-05-21 15:25:38 +01:00
Nick O'Leary
6a57d25f4a
Trigger change evnt on typedInput when type changes and options present
...
Fixes #2160
2019-05-17 11:45:16 +01:00
Nick O'Leary
98a001a8ca
Deprecate editor-button css class
2019-05-17 10:42:43 +01:00
Nick O'Leary
0d75ff336d
Found some more ids and classes to namespace
2019-05-16 22:32:28 +01:00
Nick O'Leary
3a257e1e00
Fix typedInput styling and allow option list to scroll
2019-05-16 10:28:01 +01:00
Nick O'Leary
2bf9a353a6
Fix panel/tray size calculation on resize
2019-05-15 16:29:06 +01:00
Nick O'Leary
4418f8bfce
Better CSS namespace of base form elements
2019-05-09 19:22:40 +01:00
Nick O'Leary
b98e85016a
Namespace type editors CSS
2019-05-07 16:48:05 +01:00
Nick O'Leary
3f1c4b4117
Namespace dropdown menu CSS
2019-05-07 14:46:44 +01:00
Nick O'Leary
67f8ec7f87
Append node configs to div rather than body
2019-05-03 21:32:12 +01:00
Nick O'Leary
ad77565508
Namespace CSS for Debug, Keyboard, Clipboard, Settings
2019-05-02 22:33:29 +01:00
Nick O'Leary
5b1defad9f
Simplify index.mst to a single div to insert the editor
2019-05-02 16:09:13 +01:00
Nick O'Leary
a2632fdcc8
Namespace all palette css
2019-04-29 22:38:14 +01:00
Nick O'Leary
b5da6f9c74
Upgrade to jq 3.3.1 / jq-ui 1.12.1
...
Uses jquery-migrate-3.0.1.min.js to keep things working.
2019-04-29 11:50:15 +01:00
Nick O'Leary
337dfba2b8
Add keyboard nav to treeList
2019-04-26 16:21:35 +01:00
Nick O'Leary
5e43a02cd3
Move remaining library dialogs to new style
2019-04-24 11:50:24 +01:00
Nick O'Leary
6f37d5ca5c
Move type-library dialogs to new treeList style
2019-04-23 15:46:15 +01:00
Nick O'Leary
3263008379
Move library import/export to single dialog
2019-04-23 14:23:17 +01:00
Nick O'Leary
43f21fc7aa
Add list-flows action and button
2019-03-04 22:37:51 +00:00
JeanCarl
97e789538e
Transfer placeholder and type to generated TypedInput field
2019-02-15 14:40:19 -08:00
Nick O'Leary
be1b9c0e43
Handle treeList labels as text not html
2019-02-11 16:15:25 +00:00
Nick O'Leary
37b3601c47
Link Node - scroll to current flow in node list
2019-02-06 15:38:35 +00:00
Nick O'Leary
f26b9feeaf
Change default dropdown appearance and sidebar tab menu handling
2019-01-10 23:30:51 +00:00
Nick O'Leary
6031f146aa
Add TreeList common widget
2018-12-20 13:15:31 +00:00
Nick O'Leary
64df557423
Allow sections to toggle in 2-element stack
2018-12-18 10:56:54 +00:00
Nick O'Leary
6201247875
Tidy up markdown toolbar handling across all editors
...
Any editor for the markdown mode will now automatically get
the markdown toolbar added.
The comment node has been updated to handle this properly and
to not add two copies of its content to the sidebar.
2018-12-10 15:24:27 +00:00
Nick O'Leary
bfd98f3767
Add ability to delete context values from sidebar
2018-11-12 17:04:22 +00:00
Nick O'Leary
c0d8f904b3
Support ctrl-click selection of flow tabs
2018-10-30 22:18:16 +00:00
Nick O'Leary
5cfc52ea18
Support dbl-click in tab bar to add new flow in position
2018-10-26 23:09:41 +01:00
Nick O'Leary
70fb181b7b
Add more ui tooltips
2018-10-24 22:57:16 +01:00
Nick O'Leary
09abec15b1
Show error details when trying to import invalid json
2018-10-23 23:07:31 +01:00
Nick O'Leary
bb8e491856
Merge branch 'master' into dev
2018-10-22 11:02:23 +01:00
Nick O'Leary
2816b3edae
Add tooltip to flow add button
2018-10-17 13:45:57 +01:00
Nick O'Leary
422109868d
Add markdown toolbar to node description editor
2018-10-06 23:14:04 +01:00
Nick O'Leary
bcc7834650
Add markdown formatting toolbar
2018-10-05 17:56:54 +01:00
Nick O'Leary
1161e4f6c1
Add tooltips to debug elements
2018-10-05 17:56:42 +01:00
Nick O'Leary
cdcf39fe82
Update tooltip style and add to some editor buttons
2018-10-03 14:02:07 +01:00
Nick O'Leary
80a15089b4
Add markdown-preview to expandable editor for ndoe descriptions
2018-09-21 17:21:04 +01:00
Nick O'Leary
55d71659f8
Merge branch 'master' into repackage
2018-08-29 09:55:40 +01:00
Nick O'Leary
e57d8ba0ef
pull out editor-client and editor-api
2018-08-17 22:10:54 +01:00