Nick O'Leary
c6f6042271
Show config node details when selected in outliner
2021-07-08 12:03:20 +01:00
Nick O'Leary
87c9a1c06c
Include hasUser=false config nodes when exporting whole flow ( #3048 )
2021-07-01 21:40:57 +01:00
Nick O'Leary
2ce0e38827
Merge pull request #3040 from node-red/map-set-debug
...
Add support for Map/Set property types on Debug
2021-06-29 14:08:29 +01:00
Nick O'Leary
5b980e8c13
Merge pull request #3032 from node-red/view-annotations
...
Add RED.view.annotations api
2021-06-29 14:08:08 +01:00
Nick O'Leary
48ac50e1c9
Add support for Map/Set property types on Debug
2021-06-29 11:09:30 +01:00
Nick O'Leary
56df8d8bd3
Merge pull request #3031 from Steve-Mcl/monaco0252
...
Update Monaco Editor to V0.25.2 (latest)
2021-06-28 15:28:09 +01:00
Nick O'Leary
211ec104c2
Merge pull request #3015 from Steve-Mcl/monaco-beta-bug-fix
...
Patches for Monaco editor
2021-06-28 15:27:27 +01:00
Nick O'Leary
3255e11cfc
Limit annotations to badge type
2021-06-24 17:59:32 +01:00
Nick O'Leary
844bf29de1
Add RED.view.annotations api
2021-06-24 17:40:26 +01:00
Steve-Mcl
04d91d1422
prevent promise rejection when loading editor
2021-06-24 11:28:39 +01:00
Steve-Mcl
db90e1f801
remove unnecessary global uncaught promise handler
...
- monaco issue https://github.com/microsoft/monaco-editor/issues/2382
2021-06-24 11:27:24 +01:00
Nick O'Leary
d6f6efc189
Lower tray zIndex when overlay tray being opened
...
Fixes #3019
2021-06-23 14:34:52 +01:00
Steve-Mcl
0a8f7085f3
allow static private field to have initializer
2021-06-17 08:44:44 +01:00
Steve-Mcl
c908502644
add 2 ace compatible functions
...
- clearSelection - blocky node
- selectAll - obvious addition
2021-06-16 22:36:00 +01:00
Nick O'Leary
754a36fbc9
Merge branch 'master' into dev
2021-06-16 13:42:56 +01:00
Nick O'Leary
85dafc0b3c
Ensure RED.clipboard.import displays the right library
...
Fixes #3021
2021-06-16 13:41:58 +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
Steve-Mcl
1a73a27102
add diagnosticCodesToIgnore 2345
...
- handles issue with Intl.DateTimeFormat when `options` is a variable
2021-06-15 23:15:54 +01:00
Steve-Mcl
a9cf34ab56
prevent IE script error
...
- even though monaco does not work in EI, scripts must not fail to load
2021-06-15 21:02:30 +01:00
Steve-Mcl
46d17c3314
update code comments
2021-06-15 21:01:33 +01:00
Steve-Mcl
7d24e5b279
node.status snippet enums for fill and shape
2021-06-11 08:01:38 +01:00
Steve-Mcl
12253e23b5
Add setReadOnly support
2021-06-10 21:18:29 +01:00
Nick O'Leary
89c84522d2
Merge branch 'master' into dev
2021-06-10 14:19:24 +01:00
Nick O'Leary
98172764ac
Handle node icon paths for scoped modules
...
Fixes #3013
2021-06-10 14:15:43 +01:00
Nick O'Leary
4edea59ab1
Merge branch 'pr_2990' into dev
2021-06-08 10:56:57 +01:00
Nick O'Leary
9b46dbaff1
Switch editableList buttons from <a> to <button> elements
2021-06-08 10:56:04 +01:00
Steve-Mcl
db676ec223
add snippet for env.get
2021-06-05 12:34:47 +01:00
Nick O'Leary
e9e64f6a44
Add option to RED.nodes.createCompleteNodeSet to include node dimensions
...
This allows the linter to use a flow json with more than just position
information.
2021-06-04 13:53:01 +01:00
Nick O'Leary
bc17ebd90e
Fix css of node help table of contents elements
2021-05-24 10:23:00 +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
Steve-Mcl
bae6bfc32d
Add inject values without deploy feature
2021-05-20 21:12:32 +01:00
Nick O'Leary
a9164e63ab
Merge branch 'dev' into pr_2971
2021-05-18 16:30:13 +01:00
Nick O'Leary
6b43a23c4b
Merge branch 'master' into dev
2021-05-14 21:18:32 +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
fe64c6a841
Merge branch 'master' into dev
2021-05-13 14:30:02 +01:00
Nick O'Leary
2bbdc85a29
Prevent unknown node from breaking editor
...
If a node provides a .js file that registers a type
but its .html is empty, then the editor will know about
the type, but there will be no node definition.
This fix handles that in some of the utility functions
for generating node appearance.
This wasn't an exhaustive check for these things - just
some obvious candidates that I hit in testing 'bad' nodes
2021-05-13 14:28:01 +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
1a30fe4a1a
Improve red-ui-node-icon css and add red-ui-node-icon-small modifier class
2021-05-13 13:39:29 +01:00
Nick O'Leary
4ff991764e
Updates to encode/decode message when passed over debug comms link
2021-05-13 13:38:34 +01:00
Nick O'Leary
c47b553a8e
Add viewAddPort viewRemovePort viewAddNode viewRemoveNode hooks to view
2021-05-13 13:36:50 +01:00
Nick O'Leary
5dbaaae68e
Merge branch 'master' into dev
2021-05-12 16:00:36 +01:00
Nick O'Leary
8f7686cd7b
Handle sidebar tab that no longer exists when setting first active
2021-05-11 16:42:32 +01:00
Nick O'Leary
ade318bb78
Support mousewheel scroll in tab bar
2021-05-11 15:58:01 +01:00
Nick O'Leary
3e43597617
Prevent error whilst drag/drop importing from leaving dropTarget visible
...
Fixes #2982
2021-05-11 14:10:40 +01:00
Nick O'Leary
e641b0a965
Fix scaling issues when dragging nodes into scaled workspace
2021-05-10 21:03:27 +01:00
Kazuhito Yokoi
5c31bd54e4
Fix incorrect shortcut keys in info tips
2021-05-06 20:09:35 +09:00
Nick O'Leary
71ba73b38f
Merge branch 'master' into dev
2021-05-04 11:19:05 +01:00
Nick O'Leary
db0ff74857
Reduce code duplication around node/label generation
2021-05-04 11:12:55 +01:00
Steve-Mcl
1acb073737
add support for explicit calls to ace.setFontSize
...
- found node-red-contrib-ui-svg explicitly calling ace function
2021-05-04 10:34:29 +01:00
Steve-Mcl
251dda3652
missing editor destroy() calls
2021-05-04 09:04:13 +01:00
Steve-Mcl
22db24509d
Ensure monaco exists before attempting cleanup
2021-05-04 09:03:35 +01:00
Steve-Mcl
ffbd140a97
bug fix orphaned models and graphical tray glitch
...
- ensure models are disposed correctly
- clean up any orphaned models left after editor:close
- improve concurrent multiple instances javascript models
- fix graphical glitch
2021-05-03 16:19:01 +01:00
Steve-Mcl
dedf5c52d9
better support for multiple editors
...
- as the javascript model is singleton, need to disable
syntax checking when editor not focused
(support multiple instances of js editor (function node))
2021-05-02 23:11:29 +01:00
Steve-Mcl
10465c5d68
treat appcache files as shell (uibuilder support)
2021-05-02 23:00:35 +01:00
Steve-Mcl
0a80186a92
Merge branch 'dev' into monaco2
2021-05-01 21:56:45 +01:00
Nick O'Leary
635bdf15cb
Fix use of paletteLabel in help tab
...
Fixes #2973
2021-05-01 21:55:50 +01:00
Steve-Mcl
a72bdfdacc
Handle known bug (monaco-editor issue No 2382)
...
- handles "Uncaught (in promise) Canceled: Canceled"
2021-05-01 11:40:43 +01:00
Steve-Mcl
dc3e04456c
remove temporary debugging window variable
2021-05-01 11:01:04 +01:00
Nick O'Leary
b0e4fb7602
Fix infotip display following i18n update
2021-04-30 13:54:25 +01:00
Steve-Mcl
df7aa3339b
dont tokenise JSONata
...
- monaco has jsonata tokeniser
2021-04-29 18:11:47 +01:00
Steve-Mcl
cc7def89af
ensure monaco is correctly sized
2021-04-29 17:59:12 +01:00
Steve-Mcl
58da87898e
integrate monaco
...
- refactors createEditor out to own code files
- moves ace editor to own code file
- adds monaco editor to own code file
- add monaco bootstrap
- update mst to include monaco asset
- update grunt to include new files and integrate
2021-04-29 17:58:41 +01:00
Steve-Mcl
bded5490d2
add utility func getBrowserInfo
...
- prep for monaco - for slimming down monaco on mobile
- prep for monaco - needed to prevent monaco on IE
2021-04-29 17:35:11 +01:00
Steve-Mcl
c3715a2a3d
ensure editor is removed
...
- Fixes issue with left over HTML in the DOM
2021-04-29 17:32:44 +01:00
Steve-Mcl
abf084f6c2
Dont call to ACE, re-use createEditor instead
2021-04-29 17:31:38 +01:00
Steve-Mcl
37ba409dc3
ensure mode is set for event log viewer
2021-04-29 17:29:54 +01:00
Steve-Mcl
f29488b24f
prevent editor context menu being clipped by sidebar
...
- raise / lower tray z-index for correct slide animation
2021-04-29 17:03:17 +01:00
Steve-Mcl
71bdade7b9
prevent exception if ace is missing
2021-04-29 16:59:11 +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
8e7efd98b2
Don't let 'escape' whilst moving nodes interrupt things
...
Fixes #2960
2021-04-26 16:48:21 +01: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
b9ac8b42ea
Use paletteLabel if set in help sidebar
2021-04-19 21:07:44 +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
ff00afb5d7
Fix project credential secret reset handling
...
Part of #2868
2021-04-19 11:32:26 +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
b5fda5642f
Fix package semver comparison to allow >1 version increment
2021-04-14 18:06:59 +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
6087002562
Fix handling of user-provided keymap
...
Fixes #2926
2021-04-10 21:34:26 +01:00
Nick O'Leary
a688305572
Fix jshint errors
2021-03-31 23:53:53 +01:00
Nick O'Leary
8f424c063e
Merge pull request #2892 from node-red/view-stack
...
Add actions to make tab navigation easier
2021-03-31 20:56:15 +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
0b39ef68d9
Use cursor keys to change selection in workspace
2021-03-10 14:04:47 +00:00
Nick O'Leary
2fa50e458f
Fix select up/down stream when zoomed in or out
2021-03-09 00:37:01 +00:00
Nick O'Leary
9c7db1381c
Add core:go-to-selected-subflow action
2021-03-06 23:28:20 +00:00
Nick O'Leary
2d4f5b8603
Ctrl-dbclick on subflow node opens subflow tab
2021-03-06 23:21:16 +00:00
Nick O'Leary
5181890433
Add go-to-previous/next-location actions
2021-03-06 23:20:53 +00:00
Nick O'Leary
aa5e47b462
Fix copy-to-clipboard action in FireFox
2021-03-04 10:45:30 +00:00
Nick O'Leary
15715a2968
Ensure select-up/down-stream action follows branches in flows
2021-03-03 14:20:55 +00:00
Kazuhito Yokoi
d58a091bb7
Fix regular expression for Node.js v8
2021-03-02 13:13:23 +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
8e65408b1c
Prevent duplicate keyboard shortcut from being assigned
2021-03-01 20:50:34 +00:00
Nick O'Leary
916d377aaa
Fix handling of + in shortcuts
2021-02-28 10:29:54 +00:00
Nick O'Leary
39532a9d65
Fix keymap entries with multiple keys for same action
2021-02-27 21:58:22 +00:00
Nick O'Leary
3dc696b2a9
Fix semver comparison in palette editor
2021-02-27 21:58:05 +00:00
Nick O'Leary
0dc4440a99
Merge branch 'master' into dev
2021-02-25 17:56:01 +00:00
Nick O'Leary
f770786b89
Merge pull request #2846 from node-red/show-first-sidebar
...
Ensure the first sidebar tab is shown when editor loads
2021-02-25 16:06:24 +00:00
Nick O'Leary
46bc331428
Merge pull request #2843 from node-red/theme-keymap
...
Allow default keymap to be overridden in settings file
2021-02-25 16:05:51 +00:00
Nick O'Leary
3af77b6a31
Merge pull request #2785 from node-red/library-plugins
...
Library plugins
2021-02-25 16:05:23 +00:00
Nick O'Leary
de24831fb9
Merge pull request #2877 from node-red/select-tools
...
Add new select-* actions to editor
2021-02-25 15:58:56 +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
3d398cfd53
Tidy up typedInput syntax
2021-02-25 13:39:59 +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
Harry de Kroon
02dd141095
New attempt for PR #2821
...
PR #2821 could not be completed due to different email addresses used for it's commits.
This new branch is meant to be used as a new PR to replace the failed one
2021-02-19 16:55:04 +01:00
Nick O'Leary
3f9a29730f
Add partial implementation of adding library sources via editor
...
This adds lots of commented out code that provides a settings panel
to add new library sources. It is incomplete as it doesn't actually
add/update the library sources on the runtime.
For 1.3, I'm focussing on allowing additional sources get added
via the settings file only. I've done enough work on the editor
side to convince myself more work is needed than I can justify
at this time on what is otherwise not going to be a widely
used feature.
2021-02-18 11:58:23 +00:00
Nick O'Leary
8a076c01ab
Support for library source plugins
2021-02-18 11:58:22 +00:00
Nick O'Leary
ca75efcbaf
Adds shift-click support for selecting up/down stream nodes
2021-02-17 17:32:55 +00: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
35f788693d
Add select-connected action
2021-02-16 21:16:21 +00:00
Nick O'Leary
d5314d2a85
Add select-up/downstream-nodes action to editor
2021-02-16 20:46:41 +00:00
Nick O'Leary
efd8c3d6d2
Merge pull request #2849 from node-red-hitachi/fix-copy-to-clipboard
...
fix line break of exporting nodes to clipboard
2021-02-16 15:50:24 +00:00
Nick O'Leary
785c349adc
Prevent function module overwriting built-in sandbox properties
2021-02-16 13:58:59 +00:00
Kazuhito Yokoi
ed359ca10c
Add Japanese translations for Node-RED v1.3.0
2021-02-15 13:02:58 +09:00
Nick O'Leary
85e05b787f
Hide projects dialog when opening proj with invalid encrypt key
2021-02-13 19:53:10 +00:00
Nick O'Leary
6336ab121e
Merge branch 'dev' into function-modules
2021-02-13 00:21:27 +00:00
Nick O'Leary
9c09ee3b71
Rework Function node module integration
2021-02-12 18:14:13 +00:00
Hiroyasu Nishiyama
3ec37e2c66
make flow download code separate utility instead of polyfill
2021-02-11 23:10:33 +09:00
Hiroyasu Nishiyama
32692dce07
fix jshint failure
2021-01-30 09:43:01 +09:00
Hiroyasu Nishiyama
64d3b8e104
fix line break of exporting nodes to clipboard
2021-01-30 01:20:51 +09:00
Nick O'Leary
a03edf3d58
Merge pull request #2845 from node-red/subflow-delete-prompt
...
Add confirm dialog when deleting subflow with instances in use
2021-01-29 10:57:11 +00:00
Nick O'Leary
e5b7ccb612
Add subflow edit button to palette tooltip
2021-01-29 10:42:04 +00:00
Nick O'Leary
9c1ce5543d
Merge pull request #2844 from node-red/disable-groups
...
Add enable/disable toggle button for groups in info-outliner
2021-01-29 10:20:26 +00:00
Nick O'Leary
ba387a8e4e
Merge pull request #2841 from node-red/credential-timeout
...
Handle timeouts when trying to load node credentials in editor
2021-01-29 10:20:04 +00:00
Nick O'Leary
fa6e0c8964
Ensure the first sidebar tab is shown when editor loads
2021-01-28 23:42:32 +00:00
Nick O'Leary
bb4b252401
Add confirm dialog when deleting subflow with instances in use
2021-01-28 23:08:47 +00:00
Nick O'Leary
a50404b141
Add enable/disable toggle button for groups in info-outliner
2021-01-28 22:07:19 +00:00
Nick O'Leary
61690ecf4a
Allow default keymap to be overridden in settings file
2021-01-28 16:42:16 +00:00
Nick O'Leary
f4c87af5c1
Increase credential load timeout to 30secs
2021-01-28 11:30:10 +00:00
Nick O'Leary
83d12f7d39
Handle timeouts when trying to load node credentials in editor
...
Fixes #2840
2021-01-28 11:15:15 +00:00
Nick O'Leary
2e73b229d7
Add easier ways to find subflow instances
2021-01-28 00:41:19 +00:00
Nick O'Leary
3a0074d96e
Merge branch 'master' into dev
2021-01-27 23:28:19 +00:00
Nick O'Leary
7068c175f2
Ensure subflow help is picked up for palette tooltip
...
Fixes #2834
2021-01-27 22:53:06 +00:00
Nick O'Leary
575d07e41a
Merge pull request #2836 from node-red/theme-plugins
...
Add support for Theme Plugins
2021-01-27 20:45:59 +00:00
Nick O'Leary
438d51d26e
Allow nested msg properties in msg/flow/global expressions ( #2822 )
...
* Allow nested msg properties in msg/flow/global expressions
* Remove typo in RED.utils
Co-authored-by: Nick O'Leary <knolleary@users.noreply.github.com>
2021-01-27 20:32:52 +00:00
Hiroyasu Nishiyama
34ef055d7b
Fix line break of subflow label on palette ( #2828 )
...
* fix line break of subflow label on palette
* handle line break on palette
2021-01-27 20:32:15 +00:00
Nick O'Leary
1f6328bf4e
Add initial support for ThemePlugins
2021-01-26 13:49:47 +00:00
Nick O'Leary
bebebaa3dd
Merge pull request #2820 from node-red/export-preview
...
Add preview to Export Dialog
2021-01-18 16:25:16 +00:00
Nick O'Leary
ccfde84769
Merge pull request #2812 from node-red/property-types
...
Support node property typing
2021-01-12 23:56:01 +00:00
Nick O'Leary
b1df6d5149
Add preview of exported nodes to Export dialog
2021-01-12 18:23:15 +00:00
Nick O'Leary
c40412d7c6
Merge pull request #2690 from node-red/sf-module
...
[sf-modules] Support npm subflow modules
2021-01-08 21:16:05 +00:00
Nick O'Leary
b0bc7ecacb
Merge pull request #2763 from node-red/simple-git-setting
...
Allow project workflow to be configured via settings file
2021-01-08 15:20:11 +00:00
Nick O'Leary
ea2e3f25d8
Implement node property typing
...
See https://github.com/node-red/designs/pull/37
2021-01-08 14:19:12 +00:00
Nick O'Leary
d5cc5b2574
Use subflow.info for help text and meta.type for node type
2021-01-07 15:34:27 +00:00
Nick O'Leary
de15a1c36f
Add subflow meta data edit pane
2021-01-07 11:10:58 +00:00
Nick O'Leary
9a660f3fe9
Support npm subflow modules
2021-01-07 11:10:33 +00:00
Nick O'Leary
6e1466e411
Tidy some subflow env props css
2021-01-07 10:42:35 +00:00
Nick O'Leary
7913b3cbc2
Merge branch 'master' into dev
2021-01-07 10:17:50 +00:00
Nick O'Leary
65b4ef6c3d
Remove ES6 from editor code
2021-01-07 10:06:08 +00:00
Nick O'Leary
af19536222
Better logging when deprecated editorTheme.palette.* settings used
2021-01-06 17:36:59 +00:00
Nick O'Leary
5743a5f91d
Filter palette manager nodes based on allow/deny list
2020-12-27 21:34:21 +00:00
Nick O'Leary
fc459be531
Deprecate editorTheme.palette.editable for externalModules.palette.allowInstall
...
Also deprecates editorTheme.palette.editable for externalModules.palette.allowUpload
2020-12-23 23:29:07 +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
81f200641b
Allow default project workflow to be set via settings
2020-11-18 16:37:39 +00:00
Nick O'Leary
545dda166f
Support bigint types in Debug sidebar
2020-11-17 20:50:29 +00:00
Nick O'Leary
1cd10f074b
Update projects dialogs to use TypedInput-cred input
2020-11-16 11:37:32 +00:00
Nick O'Leary
bed1d31bc8
Restore cursor position in TypedInput cred-mode
2020-11-16 11:37:04 +00:00
Nick O'Leary
ebe604e1af
Ensure user keyboard shortcuts override defaults
...
Fixes #2753
2020-11-09 21:13:20 +00:00
bartbutenaers
e149174696
Disable TypedInput
2020-11-06 08:45:50 +01:00
Dave Conway-Jones
65d90a6dff
Add gray/grey alternate options for status
2020-11-05 09:20:47 +00:00
Nick O'Leary
15a600c763
Fix tab selection after sidebar tab reorder
2020-10-14 22:10:03 +01:00
Nick O'Leary
9af883231d
Merge pull request #2722 from node-red-hitachi/fix-link-selection
...
fix selection of link node not existing within active workspace
2020-10-13 13:56:53 +01:00
Hiroyasu Nishiyama
9bfe8ac007
fix selection of link node not existing within active workspace
2020-10-12 20:16:21 +09:00
Nick O'Leary
f46367d77b
Fix import of merged flow
2020-10-12 11:20:44 +01:00
Nick O'Leary
57e42659e3
Merge pull request #2716 from node-red-hitachi/fix-sidebar-tab-popup
...
Fix unexpected line break of sidebar tab name popover
2020-10-07 12:33:02 +01:00
Hiroyasu Nishiyama
f194a8ecf4
i18n module refresh tooltip
2020-10-07 11:08:23 +09:00
Hiroyasu Nishiyama
13f046f310
fix unexpected line break of sidebar tab name popover
2020-10-07 09:57:34 +09:00
Nick O'Leary
5e63471983
Use markdown editor if editText called with md mode
2020-10-05 20:38:05 +01:00
Nick O'Leary
086f0f8450
Prevent group actions when in non-default mouse mode
2020-10-02 16:07:22 +01:00
Nick O'Leary
c5bdd3d056
Allow user to manage project version string
2020-09-28 11:30:46 +01:00
Nick O'Leary
69d60ffb24
Add simplified git workflow to auto-commit changes
2020-09-28 10:41:33 +01:00
Nick O'Leary
103e212aee
Fix size of context sidebar refresh toggle buttons
2020-09-22 23:44:10 +01:00
Nick O'Leary
576c528573
Merge pull request #2698 from node-red/import-dupes
...
Improved handling of importing duplicate subflow/config nodes
2020-09-21 18:30:15 +01:00
Nick O'Leary
aaf134b1c5
Update ACE to 1.4.12-src-min-noconflict
...
Fixes #1988
2020-09-16 19:13:40 +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
e619b9bf7b
Merge pull request #2691 from node-red/recover-nodes
...
Recover nodes with invalid z property
2020-09-16 11:56:29 +01:00
Nick O'Leary
b7243c2226
Merge branch 'master' into dev
2020-09-16 11:54:34 +01:00
Nick O'Leary
baffe4861c
Handle undefined value in Debug view of Array and Object
...
Fixes #2696
2020-09-07 21:05:27 +01:00
Nick O'Leary
7bd0ca2212
Handle nodes with invalid z property
...
Closes #2170
2020-09-03 18:31:33 +01:00
Nick O'Leary
4dd619b8c6
Merge branch 'master' into dev
2020-09-03 16:14:55 +01:00
Nick O'Leary
be880c25f9
Merge pull request #2682 from node-red/upload-npm
...
Add support for file upload on /nodes api
2020-09-03 15:01:31 +01:00
Nick O'Leary
3ad1803057
Merge pull request #2655 from node-red/reorder-sidebar
...
Reorderable sidebar tabs
2020-09-03 14:07:17 +01:00
Nick O'Leary
02c20e97b7
Only recalculate group label offsets when needed
2020-09-03 13:49:42 +01:00
Nick O'Leary
716dc781e4
Reuse first group name/style when merging elements
...
Fixes #2680
2020-09-03 13:28:35 +01:00
Nick O'Leary
d9900d8e4c
Fix copy/paste of node into active group
...
Fixes #2686
2020-09-03 13:12:08 +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
183fa59c83
Add tgz upload button to palette manager
2020-08-26 00:15:36 +01:00
Nick O'Leary
85edee288f
Allow lasso selection to be restricted to active group
2020-08-05 11:16:53 +01:00
Nick O'Leary
1aa494a97a
Make ctrl-click on nexted group more intuitive
2020-08-05 10:38:14 +01:00
Nick O'Leary
a8e7627184
Support select-all inside active group
2020-08-04 21:01:08 +01:00
Nick O'Leary
758f44e25f
Improve performance of moving groups
2020-07-31 23:22:33 +01:00
Nick O'Leary
82677c304e
Show node help when switching node edit dialogs
...
Fixes #2652
2020-07-16 16:12:16 +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
98c7364924
Ensure group theme picks up theme defaults properly
...
Fixes #2651
2020-07-13 20:44:53 +01:00
Nick O'Leary
580cc00967
Fix all the touch screen issues
2020-07-10 16:00:38 +01:00
Nick O'Leary
612c565cfd
Add RED.view.redrawStatus to avoid full redraw on update
2020-07-10 16:00:18 +01:00
Nick O'Leary
97b7479081
Disable keyboard handler when dialogs are open
2020-07-09 20:41:55 +01:00
Nick O'Leary
1c337f6817
Fix connecting wires to subflow status or io ports on touchscreen
2020-07-08 13:22:26 +01:00
Nick O'Leary
11ac8fbf13
Ensure groups are removed when deleting subflows
2020-07-07 18:23:42 +01:00
Nick O'Leary
f5e46a663a
Remove hardcoded css and allow group to default from theme
...
Fixes #2633
2020-07-07 11:01:05 +01:00
Nick O'Leary
64ec415a54
Add RED.view.DEBUG_SYNC_REDRAW to disable requestAnimationFrame
...
References #2631
2020-07-06 21:01:14 +01:00
Nick O'Leary
0243a902b2
Fix up subflow port wiring
2020-07-06 18:11:47 +01:00
Nick O'Leary
6c04402a98
Prevent wiring to node with no corresponding port
...
Fixes #2641
2020-07-06 17:32:44 +01:00
Nick O'Leary
73448a6039
Avoid copying duplicate nodes to internal clipboard
2020-07-06 16:00:15 +01:00
Nick O'Leary
44da085e0b
Tweak group margin to fit node status and look better
2020-06-29 20:43:25 +01:00
Nick O'Leary
c171088838
Fix reparenting nodes in outliner when they change
2020-06-26 17:21:20 +01:00
Nick O'Leary
4c98db2269
Outliner - add empty item when last config node moved
2020-06-24 13:18:46 +01:00
Hiroyasu Nishiyama
fb2d185c5f
fix typedInput error on empty subflow input types
2020-06-23 09:24:29 +09:00
Nick O'Leary
432ed264c2
Remove hardcoded css
...
Fixes #2603
2020-06-22 20:39:41 +01:00
Nick O'Leary
0a411cbe4f
Fix node button mouse pointer css
2020-06-22 14:37:52 +01:00
Nick O'Leary
581f71911a
Change node linebreak handling to use "\n "
2020-06-22 13:08:35 +01:00
Nick O'Leary
e548bf8bc2
Handle import of node with non-default number of outputs
2020-06-22 10:43:09 +01:00
Nick O'Leary
6f407750f5
Fix clearing group label
2020-06-18 22:25:00 +01:00
Nick O'Leary
19ffe8f308
Default group label to be shown and improve toggle button
2020-06-18 22:24:44 +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
68d3cc7507
Fix node toggle button initial opacity
2020-06-18 10:18:35 +01:00
Nick O'Leary
e2c86c4b96
Fix wiring nodes from input back to output
2020-06-17 10:52:41 +01:00
Nick O'Leary
4469a334fd
Fix sometimes unable to keyboard-move group to left/up
2020-06-17 09:57:25 +01:00
Nick O'Leary
aca379db6e
Fix group position in outliner
2020-06-16 20:48:28 +01:00
Nick O'Leary
9ce5210c33
Handle unknown nodes with no icon
2020-06-16 20:34:45 +01:00
Nick O'Leary
4dd68452b4
Prevent node creep when switching tabs
2020-06-16 20:23:18 +01:00
Nick O'Leary
2378e0d961
Fix up linting in search.js
2020-06-16 15:08:30 +01:00
Kazuhito Yokoi
52eb158231
Add Japanese translations for outliner, jsonata and runtime
2020-06-16 21:32:10 +09:00
Nick O'Leary
aebb7da3c7
Fix deleting node in group after changing selection
2020-06-16 10:54: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
5b1fe9aa0a
Emit nodes:change event for config node users list modified
2020-06-15 22:31:47 +01:00
Nick O'Leary
ebca8c0217
Increase group margin to avoid clash with status text
2020-06-14 23:44:26 +01:00
Nick O'Leary
752a080876
Fix event order when quick-adding node to group
2020-06-14 23:44:01 +01:00
Nick O'Leary
0e454b08c8
Fix empty item handling for subflows/config in outliner
2020-06-14 22:46:59 +01:00
Nick O'Leary
2d0ca20a03
Fix search indexing of group nodes
2020-06-14 22:46:46 +01:00
Nick O'Leary
61d9ccf263
Avoid regenerating every node label on redraw
2020-06-13 23:02:10 +01:00
Hiroyasu Nishiyama
1c30584153
fix code indentation
2020-06-13 23:33:45 +09:00
Hiroyasu Nishiyama
5c5bebd689
fix handling of multi-line node label
2020-06-13 23:28:10 +09:00
Nick O'Leary
93211470d1
Merge pull request #2611 from node-red-hitachi/fix-group-merge-activation
...
Disable group merge for single item or non-group items
2020-06-12 08:50:12 +01:00
Nick O'Leary
eeebf04509
Merge pull request #2609 from node-red-hitachi/fix-remove-from-group
...
fix empty placeholder not shown on remove from group
2020-06-12 08:49:09 +01:00
Hiroyasu Nishiyama
5e8e739f78
fix position of empty group with multi-line label
2020-06-12 16:07:46 +09:00
Hiroyasu Nishiyama
a15adc43af
merge code for checking menu activation
2020-06-12 09:54:11 +09:00
Hiroyasu Nishiyama
07556592c1
disable merge group menu for single item or non-group item
2020-06-12 08:42:15 +09:00
Hiroyasu Nishiyama
4f3cb3103e
make treelist of subflow/config nodes initialy has empty placeholder
2020-06-11 22:18:31 +09:00
Hiroyasu Nishiyama
842cd1ecf0
fix empty placeholder not shown on remove from group
2020-06-11 09:57:43 +09:00
Hiroyasu Nishiyama
152e695f4c
prevent conversion of circular structure
2020-06-10 19:56:16 +09:00
Nick O'Leary
7be824640c
Fix snapToGrid
2020-06-10 01:02:48 +01:00
Nick O'Leary
c061487a16
Massively reduce our dependency on d3 to render the view
...
This is a slightly scary set of changes to be making. It overhauls
how the view is rendered.
Rather than use d3 for every single part of generating the view,
we new use native DOM functions as much as possible.
d3 is still used for the basic heavy lifting of working out what
nodes/links etc need to be added/removed from the view. But once
it comes to rendering them, d3 is side-lined as much as possible.
There's room for further improvement. This change focusses on Nodes
and Links. It has not touched groups, subflow-ports and link-nodes.
2020-06-10 00:45:20 +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
f2b30d9a3f
Resize info/help sidebars whenever sidebar is opened
2020-06-08 13:17:06 +01:00
Nick O'Leary
0a614f2741
Add search defaults to outliner searchBox
2020-06-08 12:02:21 +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
7006c00233
Add support for is:XYZ search flags
...
- is:unused
- is:config
- is:subflow
- is:invalid
2020-06-08 11:55:24 +01:00
Nick O'Leary
21866634b3
Track subflow instances on the subflow node itself
2020-06-08 11:49:43 +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
95f7b9205a
Fix Help tab search box appearance
2020-06-05 17:14:25 +01:00
Nick O'Leary
091a462a42
Add 'add' option to touch radialMenu for quick-add dialog
2020-06-05 15:48:45 +01:00
Nick O'Leary
7c2786969a
Preserve event handlers when moving outliner items
2020-06-05 09:55:36 +01:00
Nick O'Leary
565aae5967
Add tooltips to outliner buttons
2020-06-05 09:55:36 +01:00
Nick O'Leary
b6fbe7d07d
Merge pull request #2588 from node-red/status-filter-nodes
...
Add compact searchBox to status/catch/complete nodes
2020-06-03 17:29:05 +01:00
Nick O'Leary
139ae547c6
Add filter to link node
2020-06-03 15:54:51 +01:00
Nick O'Leary
efecfa328b
Fix up event handling when deleting groups and tabs
2020-06-03 14:23:26 +01:00
Nick O'Leary
6d737b9e4c
Remove unneeded code on object delete in outliner
...
See https://github.com/node-red/node-red/pull/2578#discussion_r434163293
2020-06-02 22:53:34 +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
Hiroyasu Nishiyama
3345f2f3b8
simplify code structure
2020-05-28 10:23:50 +09:00
Hiroyasu Nishiyama
05f816fc5d
not emit change event on group delete
2020-05-25 08:46:35 +09:00
Hiroyasu Nishiyama
c5ca9fafee
fix deletion of group
2020-05-23 21:20:23 +09:00
Nick O'Leary
22e7ddcb1d
Merge branch 'dev' into pr_2490
2020-05-22 15:43:17 +01:00
Nick O'Leary
5d81cec00c
Merge branch 'pr_2498' into dev
2020-05-22 15:22:12 +01:00
Nick O'Leary
9512450d7c
Reduce duplicated code in Function node html
2020-05-22 14:57:28 +01:00
Nick O'Leary
4c24bd4ab9
[projects] Allow remote branch dialog to create non-default remote branches
2020-05-21 17:19:54 +01:00
Nick O'Leary
50aaef5103
Make all dialogs handle smaller height screens better
...
Covers library, clipboard and project dialogs
2020-05-21 15:14:39 +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
57f0fbbb98
Add some more trap form elements to workaround Chrome autofill
2020-05-21 10:21:18 +01:00
Nick O'Leary
7d67e6a276
[outliner] handle items being added out-of-order
...
Closes #2573
2020-05-20 12:37:19 +01:00
Nick O'Leary
15cc88de6c
[info-sidebar] Handle node/group/flows with \\n in their name
2020-05-19 17:53:20 +01:00
Nick O'Leary
b8784185e8
Merge pull request #2568 from node-red-hitachi/fix-line-break-of-group-name
...
fix line break of group label
2020-05-19 15:09:06 +01:00
Nick O'Leary
fdc721baa1
Merge pull request #2569 from node-red/node-labels
...
Add action to toggle node label visiblity
2020-05-19 14:43:54 +01:00
Nick O'Leary
1f2c0a78c2
Only refresh sidebar on tab edit if nothing else selected
2020-05-19 10:13:35 +01:00
Hiroyasu Nishiyama
12c92072d0
not update sidebar for deleted tab
2020-05-19 09:27:50 +09: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
b3535281ef
Add action to toggle node label visiblity
2020-05-18 21:08:01 +01:00
Hiroyasu Nishiyama
5f5e6ea845
fix error on empty label
2020-05-17 11:44:23 +09:00
Hiroyasu Nishiyama
243915516e
fix line break of group label
2020-05-16 20:56:21 +09:00
Hiroyasu Nishiyama
bc3683d8f6
fix outliner for subflow addition
2020-05-16 11:25:55 +09:00
Nick O'Leary
fbd911ed27
[outliner] Keep outliner selection in sync with workspace
2020-05-14 22:08:25 +01:00
Nick O'Leary
f1bd3e1711
Merge pull request #2562 from kazuhitoyokoi/dev-addjapanesetranslations
...
Add Japanese translations for Outliner, help sidebar and loading progress bar
2020-05-13 09:18:50 +01:00
Kazuhito Yokoi
341c66a199
Fix description of grouping nodes
2020-05-13 12:32:02 +09:00
Nick O'Leary
9f1373945b
[help-sidebar] Tidy up some errors
2020-05-12 13:42:01 +01:00
Kazuhito Yokoi
266ee2ca81
Add Japanese translations for Outliner
2020-05-12 20:06:07 +09:00
Nick O'Leary
ff310f89bd
[groups] Support RED.view.reveal(group-id)
2020-05-12 10:59:41 +01:00
Kazuhito Yokoi
9189db5531
Add Japanese translations for Outliner, help sidebar and loading progress bar
2020-05-12 11:06:29 +09:00
Nick O'Leary
0c83fa7060
Add loading progress bar
2020-05-11 16:27:22 +01:00
Nick O'Leary
f2e2c7e4d0
Merge pull request #2556 from node-red/outliner
...
Add Outliner to Info sidebar and add help sidebar
2020-05-11 16:26:41 +01:00
Nick O'Leary
88bc022e2a
[help-sidebar] hide toc when directly setting content
2020-05-11 09:00:12 +01:00
Kazuhito Yokoi
2e14703b16
Add Japanese translations for grouping nodes
2020-05-08 15:01:39 +09:00
Nick O'Leary
f87698438d
[outliner] Handle switching projects properly
2020-05-07 21:48:47 +01:00
Nick O'Leary
4af1cf1d1f
[help-sidebar] Refresh help on node selection
2020-05-07 15:19:56 +01:00
Nick O'Leary
d6ad7dc6eb
Add show-examples-import-dialog action
2020-05-07 13:46:18 +01:00
Nick O'Leary
f25e4ea520
[help-sidebar] Include subflow help in sidebar
2020-05-07 12:34:15 +01:00
Nick O'Leary
17891d373b
[outliner] Fix positioning of tips box
2020-05-07 10:32:25 +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
0edc57f0e3
Merge pull request #2547 from node-red-hitachi/fix-project-menu-item-activation
...
Activate project menu after initial clone
2020-05-04 16:14:42 +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
73dde4de51
Allow node edit dialog to be opened on a non-default tab
2020-05-01 17:37:42 +01:00
Nick O'Leary
597c4a2e4f
Add createNodeIcon and getDarkerColor to RED.utils
2020-05-01 17:37:15 +01:00
Hiroyasu Nishiyama
4245c0a0ad
activate project menu after initial clone
2020-04-30 12:59:10 +09:00
Nick O'Leary
12dc4ab1fa
[outline] Connect search dialog to outline filter box
2020-04-27 15:23:39 +01:00
Nick O'Leary
55a5917282
[search] Refactor search to use editor events to generate index
2020-04-27 14:43:22 +01:00
Nick O'Leary
a5b33d11fc
[outline] Add outline section to info sidebar
2020-04-27 11:17:19 +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
5c0b500f48
Reorder group creation so groups:add is fired before nodes:change
2020-04-27 11:06:28 +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
1a9c4b7714
All node button to be clicked via api call
2020-04-27 11:03:43 +01:00
Nick O'Leary
d9f710aa52
Only update disabled workspace css if it is the active ws
2020-04-27 11:03:02 +01:00
Nick O'Leary
f78be9050a
Reorder inital load so projects:load event emits before any nodes:add
2020-04-27 10:49:14 +01:00
Nick O'Leary
3dfbefb9f5
Handle error objects when reporting in palette manager
2020-04-24 13:54:49 +01:00
Nick O'Leary
373267c53b
Add more consistent events in the editor
...
This introduces a much more consistent set of events within the editor
for whenever a element is added, removed or modified.
The events emited on the `RED.events` event system. The event names
take the form: `"<thing>:<action>"`.
`<thing>` can be one of:
- nodes
- flows
- subflows
- groups
- links
`<action>` can be one of:
- add
- remove
- change
The payload of the events is the object in question.
There is also:
- flows:reorder - when tabs are reordered. Payload is array of flow ids.
- workspace:clear - when the workspace is emptied - part of switching projects
The `nodes:change` event was already used by RED.nodes.dirty() to cause
the Deploy button to become active. This renames that event to:
- workspace:dirty - Payload is boolean flag for the dirty state
This commit also updates the Palette to use the subflows:change event to
only redraw subflows that have actually changed rather than refresh them
all whenever one of them *might* have changed. This removes a noticable
flicker of the icon which was needlessly being redrawn.
2020-04-20 22:23:34 +01:00
Nick O'Leary
b032e00d01
[groups] increase group border radius
2020-04-14 22:39:42 +01:00
Nick O'Leary
e26eb85718
Fine tune typedInput flexbox handling on option-button
2020-04-08 17:06:11 +01:00
Hiroyasu Nishiyama
161f6090c1
update initialize & finalize processing of function node
2020-04-06 16:34:41 +09: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
fbfc74e5ca
[groups] Ensure newly imported nodes have width/height
2020-04-02 11:58:08 +01:00
Nick O'Leary
5da89892b4
[groups] Draw group selection above all other groups
2020-04-01 14:10:35 +01:00
Nick O'Leary
7fa4df082e
Force sync redraw of view when replacing unknown nodes
2020-03-31 15:58:51 +01:00
Hiroyasu Nishiyama
fa8236ee2c
update for recent change of dev branch
2020-03-31 20:32:07 +09:00
Hiroyasu Nishiyama
08ec04c889
merge upstream/dev
2020-03-31 19:05:22 +09:00
Hiroyasu Nishiyama
e5150ea012
force redraw after node installation
2020-03-31 16:48:20 +09: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
6ae7c51dc5
Check node props when deciding if pasted node can splice links
...
Fixes #2494
2020-03-29 20:33:15 +01:00
Nick O'Leary
b1d0013214
[groups] Better ordering of group elements on the DOM
2020-03-26 22:51:06 +00:00
Nick O'Leary
94ef25bbb9
[groups] i18n group messages
2020-03-26 22:50:46 +00:00
Nick O'Leary
13830ffc9c
[groups] Tidy up Info sidebar summary of group selection
2020-03-26 21:00:22 +00:00
Nick O'Leary
e0bef941b4
[groups] Include groups when copying whole tabs
2020-03-26 20:26:58 +00:00
Nick O'Leary
03e9522d98
[groups] Include groups when exporting
2020-03-26 18:01:57 +00:00
Nick O'Leary
1bdbd31b96
[groups] Overhaul group drag handling for empty groups
2020-03-26 15:27:34 +00:00
Nick O'Leary
afb564a4fc
[groups] Add copy/paste group style actions
2020-03-26 15:24:02 +00:00
Nick O'Leary
3e7f58dedd
[groups] Include group counts in copy/paste notifications
2020-03-26 15:22:59 +00:00
Nick O'Leary
7c91c4ae5a
[groups] Prevent subflow port nodes being added group
2020-03-24 14:05:35 +00:00
Nick O'Leary
7bc3b662e4
[groups] Fix up various delete/undo actions with groups
2020-03-24 14:05:09 +00:00
Nick O'Leary
64af1f7e9b
[groups] Lasso should select top-most group of selection
2020-03-23 22:04:40 +00:00
Nick O'Leary
f0038e9796
[groups] Use requestAnimationFrame for view redraw
...
This moves the expensive redraw code out of the event handling phase
and onto the browser's repaint phase. This makes the event handling
more responsive, particularly when dragging a large number of nodes.
It also removes lots of unnecessary anonymous functions in the redraw
code that should also improve performance.
2020-03-23 21:30:52 +00:00
Nick O'Leary
768aa4ac92
[groups] getGroupAt should return top most group
2020-03-23 21:30:09 +00:00
Nick O'Leary
f61c137ea3
[groups] Improve styling of group selection/highlight
2020-03-23 14:51:18 +00:00
Nick O'Leary
20a8059758
[groups] Add style options for group label
2020-03-20 20:00:03 +00:00
Nick O'Leary
58696c6ad4
[groups] Add better colour picker for group fill/stroke
2020-03-19 13:41:54 +00:00
Nick O'Leary
9b2e9ec41a
[groups] Support undo of convert to subflow from inside group
2020-03-16 22:51:54 +00:00
Kazuhito Yokoi
08ef9ee682
Add backslash handling to library
2020-03-16 21:58:28 +09:00
Nick O'Leary
a8bc753720
[groups] Show group info when selected in sidebar
2020-03-16 11:16:18 +00:00
Nick O'Leary
266df86d98
[groups] Add menu options for group actions
2020-03-16 10:20:48 +00:00
Hiroyasu Nishiyama
c4ca0b6e91
fix tab apperance of subflow template panel
2020-03-15 08:02:26 +09:00
Nick O'Leary
1bf3b3077e
[groups] Include groups when converting selection to subflow
2020-03-14 00:17:16 +00:00
Nick O'Leary
27c462fee9
[groups] Support dragging node from palette into group
2020-03-13 23:01:19 +00:00
Nick O'Leary
7886e5d57c
[groups] Add undo support for group actions
2020-03-13 23:01:01 +00:00
Nick O'Leary
20f97d0d13
Add better handling of host-key-verify error with projects
2020-03-13 13:09:47 +00:00
Nick O'Leary
0ef3471f8f
[groups] Add undo of group import
2020-03-13 11:27:13 +00:00
Nick O'Leary
fc3d0ab053
[groups] Keep groups ordered by depth in DOM
2020-03-09 15:10:54 +00:00
Nick O'Leary
d1dd7d1d51
[groups] Support copy/paste/import/export of groups
2020-03-09 11:14:18 +00:00
Hiroyasu Nishiyama
84d2b8ad6d
add support of initialization & finalization to function node
2020-03-07 01:55:45 +09:00
Nick O'Leary
9a0c843f29
[groups] Support deleting groups as part of selection
2020-03-05 22:49:31 +00:00
Nick O'Leary
4d96d95370
[groups] Add merge-selection-to-group and remove-selection-from-group
2020-03-05 15:52:26 +00:00
Nick O'Leary
51ea5dc342
[groups] Add ungroup-selection action
2020-03-05 10:43:28 +00:00
Nick O'Leary
97d58e34f2
[groups] Support nested groups in editor
2020-03-04 21:48:38 +00:00
Nick O'Leary
86ce5c591b
[groups] add basic group functionality to editor
2020-03-03 20:55:01 +00:00
Kazuhito Yokoi
6675fdf3c2
Saving the node description property to the library
2020-03-02 05:50:32 +00:00
Nick O'Leary
cc5fdd9844
Avoid adding extra divs to edit form to avoid size miscalculation
2020-02-26 13:17:03 +00:00
Nick O'Leary
a09b3bb6c7
Merge branch 'dev' into pr_2242
2020-02-25 14:32:33 +00:00
Nick O'Leary
3f86fd7176
Upgrade to latest marked and dompurify libs
2020-02-24 11:22:47 +00:00
Nick O'Leary
e3dab3cf20
Ensure catalog load errors are logged to the console
2020-02-14 16:14:52 +00:00
Nick O'Leary
569b9f3d06
Track context sidebar element paths to track formatting changes
...
Fixes #2460
2020-02-13 22:39:59 +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
cd210d9fbf
Add support for credential-stored env var in subflow
2020-02-10 11:28:56 +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
1f8ed9dcb9
Merge branch 'master' into dev
2020-02-10 11:07:50 +00:00
Nick O'Leary
a05589c5a6
Filter palette using raw label not html formatted label
...
Fixes #2409
2020-02-07 16:31:59 +00:00
Nick O'Leary
797da3bc8e
Fix duplicating array item in visual json editor
2020-02-07 10:46:04 +00:00
Nick O'Leary
bbd471ad93
Trick chrome into autofilling dummy username/password inputs
...
Fixes #2445
Continuing the arms race against Chrome's war on developers getting
to choose if a form should be autocompleted or not.
The honey-pot username/password fields we already had were being
ignored. This is because they were hidden.
This fix does three things:
- unhides the honey-pot inputs, but moves them offscreen so they won't be seen
- gives them dummy id's so Chrome thinks they are username/password fields
- updates our autocomplete setting to be the standards-compliant 'off' for all
the other browsers who adhere to the standard
2020-02-06 15:36:23 +00:00
Nick O'Leary
b6702a0c3b
Modify history sidebar button positioning to handle long labels
...
Fixes #2338
2020-02-05 19:48:24 +00:00
Nick O'Leary
5897045f24
Ignore disabled nodes when checking for invalid configs on deploy
...
Closes #2430
2020-02-05 14:26:55 +00:00
Nick O'Leary
6b52206186
Merge branch 'master' into dev
2020-01-22 11:54:24 +00:00
Nick O'Leary
9d4238e5cc
Re-enable jshint on editor and fixup issues
2020-01-22 11:53:41 +00:00
Nick O'Leary
5e7cd79ed9
Merge pull request #2392 from kazuhitoyokoi/master-fixjsoneditor
...
Add icons and support i18n in typedInput of JSON editor
2020-01-17 10:38:23 +00:00
Nick O'Leary
468beee045
Merge pull request #2381 from node-red/keyboard-nav
...
Scroll the view with WASD/Cursor keys when nothing selected
2020-01-17 10:36:05 +00:00
Nick O'Leary
b96164d4f5
Fix false change detection when no config node selected
2020-01-10 14:52:20 +00:00
Kazuhito Yokoi
7805974736
Add icons and support i18n in typedInput of JSON editor
2019-11-25 16:40:42 +09:00
Nick O'Leary
d45274494d
Merge branch 'master' into dev
2019-11-21 21:57:58 +00:00
Hiroyasu Nishiyama
21635aadfe
use type name from common.type
2019-11-13 22:50:44 +09:00
Hiroyasu Nishiyama
d5234888b3
Merge branch 'master' into i18n-json-editor
2019-11-13 22:42:53 +09:00
Nick O'Leary
a54ca699b5
Scroll the view with WASD/Cursor keys when nothing selected
2019-11-13 10:06:25 +00:00
KAZUHIRO ITO
ff96773295
Add node installation from other than public site
2019-11-11 18:25:36 +09:00
Nick O'Leary
9bd9c6a400
Merge pull request #2364 from kazuhitoyokoi/master-addtooltip
...
Add tooltip to the expand button in markdown editor
2019-11-01 23:36:31 +00:00
Nick O'Leary
7321e206c5
Merge pull request #2363 from kazuhitoyokoi/master-fixtabselectkey
...
Support ctrl key to select tabs for Windows
2019-11-01 23:35:18 +00:00
Nick O'Leary
d94b20a908
Merge pull request #2356 from node-red-hitachi/fix-jsonata-help-display
...
Make JSONata help initially shown
2019-11-01 23:27:01 +00:00
Kazuhito Yokoi
9dbdf0947b
Add tooltip to expand button in markdown editor
2019-10-31 17:21:26 +09:00
Kazuhito Yokoi
361dc194ee
Support ctrl key to select tabs for Windows
2019-10-31 14:46:29 +09:00
Hiroyasu Nishiyama
8c1aa83d12
update support of i18n of JSON editor
2019-10-31 12:26:04 +09:00
Kazuhito Yokoi
5f67f1f078
Add placeholders to name fields
2019-10-29 20:45:57 +09:00
Hiroyasu Nishiyama
07061928df
make JSONata help initially shown
2019-10-29 10:24:15 +09:00
Nick O'Leary
f9b147af42
Merge pull request #2334 from kazuhitoyokoi/master-fixsubflowlang2
...
Fix language handling in subflow node
2019-10-23 21:36:57 +01:00
Nick O'Leary
775f1110d3
Merge pull request #2337 from piyonakajima/language_of_tooltip
...
fix tooltip language in subflow
2019-10-23 21:33:32 +01:00
tseigo
e022b782a9
Fixed jsdoc descriptions
2019-10-22 00:35:35 +09:00
NAKAJIMA,Tomohiro
dd20a3e685
Fix the language of the tooltip
2019-10-18 23:50:54 +09:00
Kazuhito Yokoi
dae9ac8173
Fix language handling in subflow node
2019-10-17 21:24:55 +09:00
Kazuhito Yokoi
e10dd54e2b
Revert "Merge pull request #2328 from kazuhitoyokoi/master-fixsubflowlang"
...
This reverts commit 873bdc6733
, reversing
changes made to 8a40b075b5
.
2019-10-17 21:05:06 +09:00
Nick O'Leary
873bdc6733
Merge pull request #2328 from kazuhitoyokoi/master-fixsubflowlang
...
Fix language handling in subflow node
2019-10-16 11:12:48 +01:00
Nick O'Leary
8a40b075b5
Merge pull request #2326 from bonanitech/patch-1
...
Fix palette editor search visualization
2019-10-16 11:12:03 +01:00
Kazuhito Yokoi
56c41374bf
Fix language handling in subflow node
2019-10-15 16:50:16 +09:00
Mauricio Bonani
a08c2c6437
Fix palette editor search visualization
2019-10-14 15:13:59 -04:00
Nick O'Leary
147d2a02be
Ensure node status is refreshed whenever node is edited
...
Fixes an issue where, if the number of node outputs was changes
the node would resize, but the status text would not reposition
until a new status message arrived.
This change marks status as dirty whenever the node has been
edited, forcing it to be redrawn.
2019-10-14 13:05:45 +01:00
Nick O'Leary
053e3ba923
Merge pull request #2313 from kazuhitoyokoi/master-fixvisualeditor
...
Fix menu in visual JSON editor
2019-10-10 14:31:19 +01:00
Thierry Le Gal
5056203023
Insert divider in menu by calling RED.menu.addItem('id', null);
2019-10-07 14:47:20 +02:00
Kazuhito Yokoi
a0026e66ce
Fix element to collapse items in visual JSON editor
2019-10-07 16:13:04 +09:00
Nick O'Leary
3cb00ce4e0
Merge pull request #2308 from kazuhitoyokoi/master-fixgridsetting
...
Fix grid setting in flow editor
2019-10-04 10:53:01 +01:00
Kazuhito Yokoi
895156675f
Fix grid setting
2019-10-04 18:15:32 +09:00
Kazuhito Yokoi
0124bb17e8
i18n support in tooltips
2019-10-04 12:22:09 +09:00
Nick O'Leary
88609a8829
Merge pull request #2303 from pdong/bug/node-color-change-when-not-on-a-flow
...
Fix issue where subflow color did not update when not on a flow
2019-10-03 15:59:35 +01:00
Nick O'Leary
e36f3d937c
Merge branch 'pr_2304'
2019-10-03 15:53:58 +01:00
Nick O'Leary
c09004dbc8
Fix error when setting typedInput to boolean true/false
2019-10-03 15:04:49 +01:00
Kazuhito Yokoi
ddd0d1bef3
Fix invisible icons in IE
2019-10-02 17:39:38 +09:00
Phi Dong
dbca2178c0
Fix issue where subflow color did not update when not on a flow
2019-10-01 22:46:01 -07:00
Nick O'Leary
9775d3a33d
Ensure status is refreshed when switching tabs
2019-09-30 09:56:51 +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
Yuma Matsuura
7957ec4369
Modify id
2019-09-27 19:17:17 +09:00
Nick O'Leary
d3c111b533
Merge pull request #2293 from kazuhitoyokoi/dev-fixi18n4project
...
Update i18n for project feature
2019-09-26 20:32:15 +01:00
Kazuhito Yokoi
dddfb1ec08
Fix node draggable handling
2019-09-26 11:43:24 +09:00
Kazuhito Yokoi
199ff071e8
Update i18n for project feature
2019-09-24 19:46:51 +09:00
Nick O'Leary
6fb6b13037
Normalise default subflow color references
2019-09-23 10:28:26 +01:00
Nick O'Leary
0a3ab996eb
Merge pull request #2290 from node-red-hitachi/fix-node-name-breaking
...
allow word breaking of node name with long word
2019-09-20 13:08:34 +01:00
Nick O'Leary
46f912a6f9
Merge pull request #2283 from kazuhitoyokoi/dev-fixmarkdowneditor
...
Fix Markdown editor
2019-09-20 13:00:04 +01:00
Nick O'Leary
7178c63e10
Fix tab access on touch screens
2019-09-20 12:58:21 +01:00
Nick O'Leary
30c402eb83
Update radialMenu to use standard theme colours
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
Hiroyasu Nishiyama
247052df5f
allow word breaking of node name with long word
2019-09-19 22:50:35 +09:00
Kazuhito Yokoi
8eb28555bc
Enable wrap mode in Markdown editor
2019-09-17 20:26:59 +09:00
Kazuhito Yokoi
42c6487ff3
Show print margin on ace editor
2019-09-17 14:47:00 +09:00
Nick O'Leary
4a75236e74
Merge pull request #2286 from node-red-hitachi/fix-subflow-UI-select
...
Fix subflow UI for select
2019-09-16 15:23:15 +01:00
Nick O'Leary
64b2f881c4
Merge pull request #2285 from node-red-hitachi/fix-subflow-ui-label-padding
...
Remove padding for label for SUBFLOW UI row without icon
2019-09-16 15:21:05 +01:00
Hiroyasu Nishiyama
6ef49152f3
remove useless variable definition
2019-09-15 23:55:27 +09:00
Hiroyasu Nishiyama
1c44b0bc98
Fix subflow UI for select
2019-09-15 23:44:01 +09:00
Hiroyasu Nishiyama
11bce8c17c
remove padding before label text for SUBFLOW UI row
2019-09-13 23:11:23 +09:00
Hiroyasu Nishiyama
b42fff1055
Allow SUBFLOW UI label row without variable name
2019-09-13 22:49:48 +09:00
Kazuhito Yokoi
1b2e442513
Remove print margin from library editor
2019-09-13 14:43:13 +09:00
Kazuhito Yokoi
a4d48077ba
Remove print margin from ace editor
2019-09-13 14:42:45 +09:00
Kazuhito Yokoi
901e2527d8
Maximize the size of markdown editor
2019-09-13 14:41:10 +09: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
3129d44ff1
Realign subflow output port labels
2019-09-10 14:31:17 +01:00
Nick O'Leary
6c48735854
Move flow-status button to footer for consistency
2019-09-10 11:49:59 +01:00
Nick O'Leary
db9fb8480a
Filter quickadd properly when splicing a wire
2019-09-10 11:38:35 +01:00
Nick O'Leary
c138e2ffb4
Mark workspace dirty when deleting link node link
...
Fixes #2274
2019-09-10 11:12:38 +01:00
Nick O'Leary
d963dfdbb6
Merge branch 'master' into dev
2019-09-06 10:49:27 +01:00
Nick O'Leary
30c3004f27
Sanitize tab name in edit dialog
2019-09-06 10:25:30 +01:00
Yuma Matsuura
17653761b9
Update a line break function
2019-09-03 18:43:46 +09:00
Nick O'Leary
c7427a5f7c
Add nls messages for new palette categories
2019-08-21 17:30:02 +01:00
Nick O'Leary
03aa6c7d3a
Apply user specified palette cateogies and remaining core ones
2019-08-21 17:27:06 +01:00
Nick O'Leary
69b781419f
Move io to network
2019-08-21 14:23:24 +01:00
Nick O'Leary
da6db24f9e
Reorganise nodes into new categories
2019-08-21 14:23:23 +01:00
Nick O'Leary
2b66723d42
Another pass of categorisation
2019-08-21 14:22:30 +01:00
Nick O'Leary
00a3e25714
Change core node categories
2019-08-21 14:21:34 +01:00
Nick O'Leary
311c7b1158
Merge pull request #2261 from eeyepee/master
...
Add HTTP Persistent (session reuse) capability
2019-08-21 11:44:35 +01:00
Nick O'Leary
e72faef839
Check both node props and defn props when deciding to splice
2019-08-16 14:59:15 +01:00
Nick O'Leary
b274bafe8e
Allow a node to change if it has an input port
...
Closes #2268
2019-08-15 13:29:08 +01:00
Nick O'Leary
2daedf8fd5
Sanitize subflow env var names properly when building ui form
2019-08-14 11:43:04 +01:00
Nick O'Leary
fe084a4478
Allow search results to show more than 25 results
2019-08-14 11:37:46 +01:00
Nick O'Leary
5bf9646a76
Merge pull request #2266 from node-red-hitachi/fix-subflow-i18n
...
Fix i18n of new subflow feature
2019-08-14 09:52:42 +01:00
Nick O'Leary
426fd499ce
Fix ctrl-click on wire whilst already in quick-join
2019-08-14 09:50:34 +01:00
Nick O'Leary
17d3a5840d
Revert "Add initial core:layout-flow action"
...
This reverts commit be49e1d383
.
2019-08-13 20:41:13 +01:00
Nick O'Leary
be49e1d383
Add initial core:layout-flow action
2019-08-13 20:38:25 +01:00
Hiroyasu Nishiyama
daa98e8925
fix i18n of new subflow feature
2019-08-13 21:17:31 +09:00
Nick O'Leary
58784b7568
Use ctrl-click on wire to splice node in place
2019-08-13 10:31:21 +01:00
Nick O'Leary
ee6ee99577
Make icon and color pickers more consistent
2019-08-12 22:07:55 +01:00
Nick O'Leary
607bc42f59
Merge branch 'dev' into pr_2225
2019-08-12 15:05:12 +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
7d4c2442da
Merge branch 'dev' into pr_2221
2019-08-12 14:44:30 +01:00
Hiroyasu Nishiyama
7b5a41c3ff
fix subflow category change on palette
2019-08-12 13:49:34 +09:00
Nick O'Leary
189bde7c9c
Merge pull request #2259 from kazuhitoyokoi/master-fixtabsmenu
...
Remove tab menu from node property UI for subflow and configuration nodes
2019-08-09 10:26:08 +01:00
Nick O'Leary
6a4760e291
Mark workspace dirty when shift-click-drag detaches wires
...
Fixes #2260
2019-08-09 10:24:52 +01:00
Kazuhito Yokoi
c082bb97e0
Remove tab menu from node property UI for subflow and config nodes
2019-08-07 12:29:20 +09:00
Nick O'Leary
7926055b97
Merge branch 'master' into dev
2019-08-06 16:10:33 +01:00
Nick O'Leary
59c1828078
Merge pull request #2253 from kazuhitoyokoi/master-removetooltip
...
Fix duplicated tooltips
2019-08-06 16:00:40 +01:00
Nick O'Leary
542cf3147d
Support displaying falsey node status values
...
Fixes #2246
2019-08-06 15:12:13 +01:00
Kazuhito Yokoi
9d66ca4a49
Fix duplicated tooltip
2019-08-05 19:03:30 +09:00
Kunihiko Toumura
c4e8756210
merge upstream changes
2019-08-02 15:15:30 +09:00
Hiroyasu Nishiyama
db65460ec0
fix SUBFLOW palette node update & SUBFLOW default color
2019-07-31 22:59:29 +09:00
Nick O'Leary
f3e1e8a2c7
Merge pull request #2244 from kazuhitoyokoi/master-fixwiring4subflownode
...
Fix inserting new subflow node to existing wire
2019-07-29 10:57:45 +01:00
Hiroyasu Nishiyama
86928bbb2d
fix converting selection to subflow
2019-07-26 23:06:56 +09:00
Kazuhito Yokoi
2f5ec8b5bf
Fix inserting new subflow node to existing wire between nodes
2019-07-26 17:51:49 +09:00
Yuma Matsuura
a42d7d867e
Add a libe break function
2019-07-26 11:36:22 +09:00
Tyler Eastman
14ac6446de
Handle undefined node._def in edit stack title.
2019-07-22 14:25:52 -07:00
Hiroyasu Nishiyama
260a9723a4
use custom color picker instead of color input type
2019-07-21 22:55:25 +09:00
Kunihiko Toumura
4e7b000dcd
Merge remote-tracking branch 'upstream/dev' into dev-redo
2019-07-17 09:13:01 +09:00
Nick O'Leary
04d7106956
Remove unwanted icons
2019-07-12 13:37:01 +01:00
Hiroyasu Nishiyama
db5589f2aa
rearrange contents of subflow template settings tab
2019-07-11 19:37:47 +09:00
Hiroyasu Nishiyama
d06dbbb4bd
changed to color change reflect immediately on OK
2019-07-11 08:22:31 +09:00
Hiroyasu Nishiyama
3ee8bcad8c
add support for specifying subflow template color
2019-07-08 23:52:08 +09:00
Kunihiko Toumura
8847f325ed
Merge remote-tracking branch 'upstream/dev' into dev-redo
2019-07-04 08:31:45 +01:00
Nick O'Leary
24b38407e4
Merge branch 'master' into dev
2019-07-01 12:43:16 +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
55645e3730
Properly escape node types in palette
...
We were only escaping the first instance of any invalid dom char
and not all of the
2019-06-28 22:39:27 +01:00
Kunihiko Toumura
b1bff62bf7
Merge remote-tracking branch 'upstream/dev' into dev-redo
2019-06-23 16:19:15 +09:00
Nick O'Leary
d11d389ae4
Smarter filtering in action list dialog
2019-06-22 20:37:54 +01:00
Nick O'Leary
a73c159160
Ensure an item in action list is always selected
2019-06-22 20:25:57 +01:00
Kunihiko Toumura
7adf102d8d
Initial implementation of redo (un-undo)
2019-06-22 16:05:50 +09: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
f22762539f
Handle png/svg fallback for def.icon values. Remove old pngs
2019-06-21 15:41:17 +01:00
Nick O'Leary
c1104d1cd6
Revealing node position needs to account for zoom level
...
Fixes #2172
2019-06-21 12:53:09 +01:00
Nick O'Leary
04bdcbd490
Do not save subflow env vars with blank names
2019-06-21 12:46:53 +01:00
Nick O'Leary
87a815fd6f
Don't allow a link node virtual wire to connect to normal port
2019-06-21 12:45:50 +01:00
Nick O'Leary
d623848c87
Update all node icons to SVG
...
When listing icons provided by a module, if there is a png and svg
with the same name, only the svg will be listed.
If a node asks for a png icon which is not known, but there is a
corresponding svg, that will be used instead.
2019-06-21 12:36:20 +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
f955d63707
Merge branch 'disable-node' into dev
2019-06-18 11:33:20 +01:00
Nick O'Leary
2473249c8b
Allow config nodes to be disabled, tidy css and add actions
2019-06-17 22:46:34 +01:00
Nick O'Leary
d13dc4fba3
Don't allow a link node virtual wire to connect to normal port
2019-06-17 15:37:45 +01:00
Nick O'Leary
41a0af032c
Enable individual flow nodes to be disabled
2019-06-14 22:12:47 +01:00
Nick O'Leary
70cf7b0c5a
Do not save subflow env vars with blank names
2019-06-14 11:18:07 +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
bb67049d90
Ensure focus returns to the right element after dialogs shown
2019-06-14 10:57:12 +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
2de9a804a0
Tidy up nls of command prompt and selection handling
2019-06-11 22:43:28 +01:00
Nick O'Leary
ffeb2e91f4
Add command prompt dialog
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
400071879f
Add enable/disable-flow actions
2019-06-07 15:14:21 +01:00
Nick O'Leary
460e3ad395
Fix select-all action in main view
2019-06-07 14:35:22 +01:00
Nick O'Leary
6f08bd6fc5
Fix delete-all action on config node sidebar
2019-06-07 14:35:10 +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
Nick O'Leary
f0aef2b853
Add show-library dialog actions
2019-06-07 11:35:04 +01:00
Nick O'Leary
7d27df1b97
Add shift-cursor handling for moving quick-add dialog
2019-06-06 17:17:44 +01:00
Nick O'Leary
457ec86c25
Do not allow tab focus on clipboard hidden element
2019-06-06 17:17:05 +01:00
Nick O'Leary
a24c66958f
Fix display of node help when clicking in palette
...
Fixes #2194
2019-06-06 14:38:21 +01:00
Nick O'Leary
5965bf3332
Merge pull request #2190 from node-red-hitachi/fix-typedinput-appearance
...
Fix typedinput width calculation
2019-06-04 20:56:30 +01:00
Dave Conway-Jones
53ab6f8569
Add popovers to context sidebar mini buttons
2019-06-01 13:21:21 +01:00
Hiroyasu Nishiyama
cf8faac7ef
fix width calculation of typedInput
2019-05-31 22:20:54 +09:00
Dave Conway-Jones
22855279bd
ensure input box has focus on repeated quick add
2019-05-30 14:33:11 +01:00
Dave Conway-Jones
33e20c9969
Only add copypath popover if button exists.
2019-05-28 21:43:21 +01:00
Nick O'Leary
109204897f
Fix clipboard export download button
2019-05-28 16:10:21 +01:00
Nick O'Leary
3b3a2d62f8
Merge pull request #2175 from node-red-hitachi/update-language-selector
...
update editor language selection UI for i18n
2019-05-28 13:26:38 +01: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
2d6acfae1b
Restore tray component css for compatibility. Mark as deprecated
2019-05-28 09:50:29 +01:00
Hiroyasu Nishiyama
10da894124
fix function name & string compare function
2019-05-28 08:55:00 +09:00
Nick O'Leary
1a9d759002
Merge pull request #2177 from node-red-hitachi/i18n-library-ui
...
Update I18n support for library ui
2019-05-27 22:18:00 +01:00
Nick O'Leary
390b86cd8e
Revert treeList children function signature change
2019-05-27 21:11:50 +01:00
Nick O'Leary
423aba5bab
Ensure ndoe status icon is shown when value set
2019-05-27 21:07:27 +01:00
Dave Conway-Jones
dc0b9231cd
Add popover tooltips to debug sidebar,function and template
...
path, value, pin buttons in debug
expand buttons in function and template.
2019-05-27 15:48:06 +01:00
Hiroyasu Nishiyama
12ce719213
make new library folder interface i18n ready
2019-05-27 13:34:47 +09:00
Hiroyasu Nishiyama
7f35e2280e
update editor language selection UI for i18n
2019-05-27 11:28:36 +09:00
Nick O'Leary
c514d988df
Revealing node position needs to account for zoom level
...
Fixes #2172
2019-05-25 22:11:05 +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
32714c5dac
Fix node multi-select mode
2019-05-24 10:26:00 +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
20cba6411b
Disable copy/paste and enable select-all in node-select mode
2019-05-23 16:48:07 +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
8bdba9178a
Line-up view tooltip text (again) having fixed size calculation
2019-05-22 00:10:55 +01:00
Nick O'Leary
97f11e38cd
Minimise work done to calculate node label widths
...
Currently, everytime the tab is switched, we recalculate the
width of every node. There's no need to do that as the width
will not have changed - unless it has changed, but then the
dirty/changed flag will be set on that one node and it will
get handled.
Also avoid endless added/removing an element to calculate the
dimenstions - keep it on the dom (keyed by className) and
positioned well away from the visible space.
2019-05-22 00:04:19 +01:00
Nick O'Leary
9ed3a6748a
Fix node label size calculation
2019-05-21 23:48:33 +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
afa25df1af
Allow RED.settings.get/set to use full property desc
2019-05-21 17:19:12 +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
420e8c001b
Fix setting output port labels
2019-05-21 15:24:45 +01:00
Nick O'Leary
c63b8a4ebc
Fix a couple css errors in menu/config sidebar
2019-05-20 22:03:05 +01:00
Nick O'Leary
5f5feaed5f
Add expand editor button to Template node
2019-05-19 22:34:04 +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
8567f1655e
Only redraw node status when it has changed
2019-05-16 14:42:41 +01:00
Nick O'Leary
68b94737ed
Add tooltip on node error icon for validation errs
2019-05-16 14:42:21 +01:00
Nick O'Leary
094c92ed85
Fix ui tests for new css classes
2019-05-16 13:43:42 +01:00
Nick O'Leary
42ab6deff1
Tidy up remaining css classes
2019-05-16 13:26:49 +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
bbe41febf1
Fix view tooltip text position
2019-05-15 14:17:44 +01:00