Commit Graph

477 Commits

Author SHA1 Message Date
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 4cd6e20c91
Fix undo of flow disable state change 2019-06-07 15:13:49 +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 617628b886
Ensure node help is loaded in the right language
Fixes #2195
2019-06-06 14:16:19 +01:00
Nick O'Leary 6b7e623d33
Remove some hardcoded css colors 2019-06-06 11:34:20 +01:00
Nick O'Leary 5ca85b7e83
Merge branch 'pr_2187' into dev 2019-06-04 22:58:18 +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
Paul Williams e56fdecdc6 Add new shortcut to clear debug message list
Clearing the debug message list is globally scoped by default to
`ctrl+alt+l`. Mnemonic: similar to clearing a terminal shell using
ctrl+l.
2019-05-30 09:36:44 +00: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 2ab19937af
Fix pinned debug item css 2019-05-27 21:23:41 +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 c4f5df0cd0
Bump to jquery 3.4.1 2019-05-22 00:03:26 +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 5cb888328e
Fix Deploy menu focus style 2019-05-21 15:26:15 +01:00
Nick O'Leary 78aeb94917
Line up component footer buttons better 2019-05-21 15:26:03 +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 cc051544f9
Only NLS status text that starts with a letter
Fixes #2128
2019-05-17 16:32:14 +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 2850477a71
Merge branch 'dev' into dev-esm 2019-05-17 10:46:36 +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
Nick O'Leary 031362a633
Move all colours to sass variables 2019-05-15 13:54:29 +01:00
Nick O'Leary 4418f8bfce
Better CSS namespace of base form elements 2019-05-09 19:22:40 +01:00
Nick O'Leary 59093f1721
Pull out more CSS colors to sass variables 2019-05-08 19:06:08 +01:00
Nick O'Leary db5e79a19b
Convert node-change/error icons to SVG 2019-05-08 19:05:30 +01:00
Nick O'Leary 50228c5970
Namespace more editor component CSS 2019-05-08 13:26:48 +01:00
Nick O'Leary b98e85016a
Namespace type editors CSS 2019-05-07 16:48:05 +01:00
Nick O'Leary bc540eefb6
Namespace projects CSS 2019-05-07 15:47:33 +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 d8d37a66e4
Namespace diff CSS 2019-05-03 20:22:46 +01:00
Nick O'Leary ad77565508
Namespace CSS for Debug, Keyboard, Clipboard, Settings 2019-05-02 22:33:29 +01:00
Nick O'Leary 0e02e21967
Get rid of Bootstrap 2019-05-02 17:03:42 +01:00
Nick O'Leary 1e35a6ce5e
Fix sidebar separator draggable 2019-05-02 17:03:09 +01:00
Nick O'Leary 90b167eba1
Remove bootstrap.js and package all js in vendor.js 2019-05-02 16:10:47 +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 8dc1ad8168
Namespace workspace/view css 2019-05-01 22:41:20 +01:00
Nick O'Leary 126a42056d
Namespace all header css 2019-04-30 23:38:54 +01:00
Nick O'Leary 5866dad79a
Namespace context/config sidebar css 2019-04-30 23:28:35 +01:00
Nick O'Leary 9dac679b72
Namespace all sidebar css 2019-04-30 22:56:39 +01:00
Holger Will 0f07fb4479
fix formatting 2019-04-30 05:17:46 +02:00
Holger Will d9d98439b2
allow script tags with src to reference esm modules 2019-04-30 04:57:47 +02:00
Nick O'Leary a2632fdcc8
Namespace all palette css 2019-04-29 22:38:14 +01:00
Nick O'Leary 10c818474c
Tidy zoom control statusBar widget 2019-04-29 20:53:04 +01:00
Nick O'Leary 5e8279cf51
Add workspace statusBar 2019-04-29 17:24:14 +01:00
Nick O'Leary 4c8c081c31
Revert branchList focus call change 2019-04-29 16:32:43 +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 7ec999475e
Merge branch 'master' into dev 2019-04-29 08:45:07 +01:00
Nick O'Leary b0d93df387
Blur the active element when closing edit dialog via action
Fixes #2097
2019-04-26 16:33:43 +01:00
Nick O'Leary 369f8b3fe0
Merge pull request #2148 from node-red/new-export-dialog
Updated Library UX
2019-04-26 16:23:23 +01:00
Nick O'Leary 337dfba2b8
Add keyboard nav to treeList 2019-04-26 16:21:35 +01:00
Nick O'Leary 493687b5bb
Allow editor language to be chosen in editor settings
This gets stored in localStorage of the browser which is not
ideal. This is because we load language catalogs before we
load user preferences - so if this was stored in the runtime,
the editor wouldn't know the user's preference until it was
too late to apply it.

This is likely good enough for now - may need to do something
more convoluted later on.
2019-04-25 15:23:08 +01:00
Nick O'Leary b581e33611
Update runtime apis to support multiple libraries 2019-04-25 11:32:09 +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
Kazuhito Yokoi 44b75f0b92 Adjust node animation speed 2019-04-16 11:02:51 +09:00
Kazuhito Yokoi 162bd6a8c3 Fix node drag and drop animation 2019-04-16 09:47:08 +09:00
Nick O'Leary 0fa165c606
Revert error handling in palette manager 2019-04-05 13:45:06 +01:00
Nick O'Leary d92040b804
Add error message if catalog invalid json 2019-04-04 11:36:12 +01:00
Nick O'Leary 28ef879c07
Update ACE to 1.4.3-src-min-noconflict
Fixes #2106
2019-03-28 14:02:09 +00:00
Nick O'Leary 9832394f8e
Allow subflow instance to override env var with falsey values
Fixes #2113
2019-03-28 13:33:54 +00:00
Nick O'Leary dd89ea3731
Prevent wire from normal node to link virtual port
Fixes #2114
2019-03-28 10:48:48 +00:00
Nick O'Leary a242475b38
Block loading ACE from cdn 2019-03-18 10:55:12 +00:00
Nick O'Leary 8aa00b0cfc
Filter out duplicate nodes when importing a flow 2019-03-15 19:02:24 +00:00
Nick O'Leary afe89c3621
Handle node configs with multiple external scripts properly
If the config had multiple scripts, we were calling the done
callback once for each script. This in turn led to duplicate
flows being loaded.
2019-03-15 18:50:58 +00:00
Nick O'Leary 1d7be6457f
Ensure node names are sanitized before being presented 2019-03-13 16:08:11 +00:00
Nick O'Leary 38b5063038
Tidy up blockquote css style 2019-03-05 20:56:35 +00:00
Nick O'Leary 781b3aff1b
Merge branch 'dev' into pr_2076 2019-03-05 14:37:33 +00:00
Nick O'Leary b011b9203b
Keep subflow palette appearance in sync with edits 2019-03-05 14:37:07 +00:00
Nick O'Leary 39344fcae5
Fix background of tab select icon 2019-03-05 13:25:44 +00:00
Kazuhito Yokoi f80b172022 Add condition to handle existing node 2019-03-05 21:29:03 +09:00
Kazuhito Yokoi 66fc4b536c Automatic placing of node icon 2019-03-05 21:21:23 +09:00
Kazuhito Yokoi 1f97ccdddb Fix module name bug in library 2019-03-05 19:38:56 +09:00
Nick O'Leary 43f21fc7aa
Add list-flows action and button 2019-03-04 22:37:51 +00:00
Nick O'Leary e7f54f005c
Merge pull request #2060 from jeancarl/dev
Transfer input attributes (placeholder, type) to generated TypedInput field
2019-02-28 10:50:15 +00:00
Kazuhito Yokoi 91cc03dd80 Fix typo and update message catalog 2019-02-19 14:24:37 +09:00
Nick O'Leary 9d673a213e
Use absolute flow file path in project settings
This ensures the diff logic can recognise the project flow file
and apply merge resolution to paths that git knows
2019-02-17 22:18:40 +00:00
JeanCarl 97e789538e
Transfer placeholder and type to generated TypedInput field 2019-02-15 14:40:19 -08:00
Nick O'Leary e05ff01d57
Allow a project to be located below the root of repo 2019-02-15 22:11:25 +00:00
Nick O'Leary afd2ccfb4f
Detect the cloning of an empty git repo properly 2019-02-14 14:00:25 +00:00
Nick O'Leary 057127f4de
Hitting enter in Comment node name field clicks markdown button
When Enter is pressed in a form, the browser will find the first
submittable element and trigger it. By default <button> elements
have type set to 'submit' which causes them to be targetted by
this behaviour.

Adding `type="button"` prevents this behaviour. This change
targets some main offenders - in particular the markdown toolbar.

There are of lots of other `<button>` elements without this attribute
set, so they need tidying up. Not currently aware of any others that
exist in a <Form> so may be immune from this behaviour.
2019-02-13 20:41:34 +00:00
Dave Conway-Jones 2937b25d6d
Shift status text left if no shape specified 2019-02-13 14:36:36 +00:00
Nick O'Leary be1b9c0e43
Handle treeList labels as text not html 2019-02-11 16:15:25 +00:00
Nick O'Leary 06cc08d9f7
Better align node status text to status dot 2019-02-09 21:27:54 +00:00
Nick O'Leary bdc1da70c1
Change subflow edit dialog titles 2019-02-09 21:20:20 +00:00
Nick O'Leary 7cef990ba6
Resize subflow edit dialog properly 2019-02-09 20:44:21 +00:00
Nick O'Leary 724acff591
Properly sanitize node names in deploy warning dialogs 2019-02-07 09:11:06 +00:00
Nick O'Leary a301bf8bf5
Fix XSS issues in library ui code 2019-02-06 22:25: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 d48a09e68b
Add env type to subflow env var types
Also remove date and regex types
2019-02-06 13:58:31 +00:00
Nick O'Leary 2a8f0a4eab
Display parent subflow properties in edit dialog 2019-02-05 23:08:39 +00:00
Nick O'Leary aab0f2dcd5
Merge pull request #2047 from node-red-hitachi/fix-use-common-i18n-label
Fix use of i18n label
2019-02-05 08:31:38 +00:00
Kazuhito Yokoi f1a5e8a42c
Fix direction value of subflow output 2019-02-05 16:27:02 +09:00
Hiroyasu Nishiyama ff759a8074 use common i18 label for variable name placeholder 2019-02-05 13:12:21 +09:00
Nick O'Leary 1fe8b388a3
Allow subflow env-var list to resize with the dialog 2019-02-04 17:20:31 +00:00
Dave Conway-Jones c409af0ea8
Add local time display option to numerics in debug window 2019-02-04 15:51:42 +00:00
Nick O'Leary 5110eaff96
Merge branch 'dev' into pr_2042 2019-02-04 14:39:00 +00:00
Nick O'Leary 3bcff91328
Add Status Node to Subflow to allow subflow-specific status
Closes #597
2019-02-01 23:44:50 +00:00
Nick O'Leary efe8fbbd11
Better handling of multiple flow merges
Fixes #2039

Keeps better track of what was merged so a subsequent merge
properly identifies new-vs-old and doesn't remove thinks by mistake
2019-01-30 15:12:01 +00:00
Hiroyasu Nishiyama 0b05b883cb add test cases 2019-01-30 00:04:41 +09:00
Hiroyasu Nishiyama f88a4b1791 fixed comments from @knolleary 2019-01-28 22:14:08 +09:00
Hiroyasu Nishiyama 2b43e3ee23 add placeholder for env var name 2019-01-27 21:56:13 +09:00
Nick O'Leary 79062e2034
Move nodes to top-left corner when converting to subflow 2019-01-26 20:49:22 +00:00
Hiroyasu Nishiyama a413f3cded Add support of subflow env var 2019-01-26 23:15:20 +09:00
Nick O'Leary aa9a37da38
Add placeholder node when in quick-add mode 2019-01-23 16:27:13 +00:00
Nick O'Leary 85efb48c1f
Merge branch 'dev' into pr_2033 2019-01-22 16:13:26 +00:00
Dave Conway-Jones e2ee88de84
offset menu so you can see node placement 2019-01-21 22:08:25 +00:00
Dave Conway-Jones 1d1ab5b7b2
don't pin new nodes to grid if not using grid 2019-01-21 16:15:38 +00:00
Nick O'Leary acc633b4b6
Don't collapse version control header when clicking refresh 2019-01-21 10:06:02 +00:00
Dave Conway-Jones 766ccf85c2
add fast entry via keyboard for string of nodes 2019-01-20 14:43:17 +00:00
Nick O'Leary 7a6e1fe566
Check for undeployed change before showing open project dialog 2019-01-18 21:42:13 +00:00
Nick O'Leary 4749c92252
Add View Tools 2019-01-18 21:19:03 +00:00
Nick O'Leary 0e035e47df
Avoid duplicate links when missing node type installed
Fixes #2032
2019-01-17 22:35:58 +00:00
Nick O'Leary 5b2f24f842
Handle i18n properly when key is a valid sub-identifier
Fixes #2028
The i18n library will, be default, return a string containing
an error message about the key resolving to an object. We cannot
distinguish that string from others to handle ourselves.

The `returnObjectTrees` option will cause it to return the object
rather than error. We can then test for that and return the original
key if the object is returned - which is the desired result.
2019-01-17 14:44:41 +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 9e47d933af
Handle multiple-select box when nothing selected
Fixes #2021
2019-01-10 15:21:27 +00:00
Nick O'Leary a786b37cb9
Make ssh key dialog accessible when opened from new proj dialog 2019-01-10 13:28:40 +00:00
Nick O'Leary 81ae552e69
Project ui code using incorrect error property 2019-01-09 17:03:17 +00:00
Nick O'Leary 0ec04a3624
Allow notifications to be reused in place rather than stack
For example, clipboard actions now reuse the same notification.
Similarly the Inject node will reuse its notification when
injecting.
2019-01-09 14:02:46 +00:00
Nick O'Leary c4beab6b0d
Bump JSONata to 1.6.4
Fixes #2023
2019-01-07 16:59:38 +00:00
Nick O'Leary 19eb8e9a6d
Update palette manager properly when module updated 2019-01-07 14:54:35 +00:00
Nick O'Leary 6031f146aa
Add TreeList common widget 2018-12-20 13:15:31 +00:00
Nick O'Leary 020a469f3b
Fix visual jump when opening Comment editor on Safari
Part of #2008
2018-12-19 10:05:09 +00:00
Nick O'Leary 091de3aa66
Fix vertical align of markdown editor in Safari
Fixes #2008
2018-12-19 10:04:36 +00:00
Nick O'Leary b837f7608c
Avoid marking node as changed if label state is default
Fixes #2009
2018-12-19 09:30:20 +00:00
Nick O'Leary 8502cf8498
Highlight port on node hover while joining 2018-12-18 21:45:33 +00:00
Nick O'Leary 33dade0584
Support drag-wiring of link nodes 2018-12-18 10:57:53 +00:00
Nick O'Leary 84cc2ad0fa
Allow TypeSearch to include a filter option 2018-12-18 10:57:33 +00:00
Nick O'Leary dc2d3bc7c0
Improve diff colouring 2018-12-18 10:57:18 +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 c0837ead0e
Add support for ${} env var syntax when skipping validation
Closes #1980

See also #825
2018-12-13 16:13:57 +00:00
Nick O'Leary c283224000
Merge branch 'master' into dev 2018-12-13 11:14:58 +00:00
Nick O'Leary 368b76a183
Merge pull request #2000 from node-red-hitachi/i18n-markdown-tooltip
i18 support for markdown editor tooltips
2018-12-13 11:00:03 +00:00
Hiroyasu Nishiyama 2f884ec778 i18 support for markdown editor tooltip 2018-12-11 22:33:11 +09:00
Nick O'Leary 8c561e92c8
Actively expire login sesssions and notify user 2018-12-11 11:32:12 +00:00
Nick O'Leary ea4d65ceee
Add RED.editor.registerTypeEditor for custom type editors 2018-12-10 22:21:21 +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
Dave Conway-Jones cf3b4e9e63
change check order for node.users
If node _def hasUsers is false then node.users may not exist... so won't have a length...
2018-12-08 18:09:33 +00:00
Nick O'Leary 0dd40a941b
Handle 3rd party node trying to use core node-red icon 2018-12-07 16:43:06 +00:00
Nick O'Leary c76bd39280
Improve alignment of node label edit inputs 2018-12-06 10:54:23 +00:00
Nick O'Leary 09cd710f66
Add RED.notifications.hide flag
For use by the UI tests to suppress notifications from being displayed
in the editor. It is not for use by end-users and not exposed in any
way other than via javascript injection by the UI tests
2018-12-06 10:51:56 +00:00
Nick O'Leary 2060af8a92
Merge pull request #1987 from node-red-hitachi/fa-nonexist
Show arrow-in node when invalid font-awesome icon name was specified …
2018-11-30 23:13:33 +00:00
To-Thi Hoang 6b3b68a4e5 Diff panel DOM generation : Move generation of DOM for node properties to the click on the node row (instead of the diff panel opening). 2018-11-30 10:48:21 +01:00
nakanishi 8bda2d0add Show arrow-in node when invalid font-awesome icon name was specified for default icon 2018-11-29 16:57:39 +00:00
Nick O'Leary 4f0aa1bc02
Add 'open project' option to Projects Welcome dialog 2018-11-14 12:51:02 +00:00
Hiroyasu Nishiyama cf931e8ddf Merge remote-tracking branch 'upstream/dev' into update-i18n-editor 2018-11-14 09:06:05 +09:00
Nick O'Leary e4f67df2a1
Add 'type already registered' check in palette editor 2018-11-13 22:36:56 +00:00
Nick O'Leary 7515b745b5
Make sure editor footer is i18n enabled 2018-11-13 15:10:19 +00:00
Hiroyasu Nishiyama 0e902a7e71 i18n & JP message for node config tab 2018-11-13 23:29:14 +09:00
Nick O'Leary 2dfb443625
Handle missing tab.disabled property 2018-11-13 13:39:06 +00:00
Nick O'Leary e6e7747ae1
Handle missing wires prop and string x/y props on import 2018-11-13 13:29:48 +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 1c66c88f95
Allow copy-to-clipboard copy whole tabs 2018-11-09 09:51:55 +01:00
Nick O'Leary dc880c672a
Make disabled flows more obvious in editor 2018-11-08 18:04:36 +01:00
Nick O'Leary 6a6d13b075
Allow import/export from file in editor 2018-11-05 22:32:39 +00:00
Nick O'Leary 7436e01188
Allow config nodes to be selected in sidebar and deleted 2018-11-03 21:32:38 +00:00
Nick O'Leary e630919ef8
Handle subflow type in refreshLabelForm
Part of #1955
2018-11-02 13:59:10 +00:00
Nick O'Leary 2e3fd49b40
Merge pull request #1955 from node-red-hitachi/subflow-label
Show port label of subflow with input port
2018-11-02 13:59:04 +00:00
Nick O'Leary dd54af2c08
Merge pull request #1961 from node-red-hitachi/update-JP-catalog-for-editor
Update message catalog for Node-RED editor
2018-11-02 13:17:27 +00:00
Hiroyasu Nishiyama 737bf411ff make projects menu use i18n 2018-11-02 21:25:14 +09:00
Nick O'Leary 6a4e7201fe
Disable subflow toolbar when multiple tabs are selected 2018-11-02 09:56:43 +00:00
nakanishi 5500b4fe35 Show port label of subflow with input port 2018-11-01 13:35:13 +09:00
Nick O'Leary c0d8f904b3
Support ctrl-click selection of flow tabs 2018-10-30 22:18:16 +00:00
Nick O'Leary 7b28ba6078
Allow left-hand node button to act as toggle 2018-10-29 20:55:35 +00:00
Nick O'Leary d4589ed7e3
Hide tooltips when a node is deleted 2018-10-26 23:17:09 +01: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 3fcacd8339
Allow actions to have an argument 2018-10-26 23:09:41 +01:00
Nick O'Leary 49fe13f22f
Fix duplicate subflow detection on import 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 7dcca2c907
Add import notification with info on what has been imported
Closes #1862
2018-10-24 11:07:48 +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 daf3e6a47a
Merge branch 'dev' into hide-label 2018-10-23 10:55:27 +01:00
nakanishi c9db74ebca Show default icon when non-existent font-awesome icon was specified 2018-10-23 16:30:56 +09:00
Nick O'Leary c66c5ea53c
Add configurable option for showing node label 2018-10-22 15:38:43 +01:00
Nick O'Leary 0a98ba6985
Tidy up appearance tab in edit dialog 2018-10-22 14:41:47 +01:00
Nick O'Leary bb8e491856
Merge branch 'master' into dev 2018-10-22 11:02:23 +01:00
Nick O'Leary 55e897faac
Merge pull request #1927 from node-red-hitachi/faicon-height
Adjust the fa icon position for the node with height
2018-10-19 11:03:34 +01:00
Nick O'Leary 9751089807
Tidy up ace tooltip styling 2018-10-19 10:42:39 +01:00
Nick O'Leary b2516117f5
Add event log to editor
Shows output from git pull/push and npm install in the editor
2018-10-18 23:49:47 +01:00
Nick O'Leary 2816b3edae
Add tooltip to flow add button 2018-10-17 13:45:57 +01:00
Nick O'Leary 242398c724
Slow down sidebar control appearance
Also hides WIP action info panel buttons
2018-10-17 13:18:08 +01:00
Nick O'Leary 289583325d
Allow palette to be hidden 2018-10-17 11:03:09 +01:00
nakanishi 1064e531f0 Adjust the fa icon position for the node with height 2018-10-17 10:31:47 +09:00
Nick O'Leary dc3128fb3e
Add node module into to sidebar and palette popover 2018-10-16 14:05:23 +01:00
Nick O'Leary d40aa7260f
Mark all newly imported nodes as changed 2018-10-16 11:36:46 +01:00
Nick O'Leary fc8c4063f2
Add markdown toolbar to flow description editor 2018-10-16 11:36:24 +01:00
Nick O'Leary 0376e0d711
Allow a node label to be hidden 2018-10-08 16:25:11 +01:00
Nick O'Leary 6bd0682e8c
Better markdown editor preview 2018-10-07 14:24:32 +01:00