Commit Graph

1056 Commits

Author SHA1 Message Date
Nick O'Leary 4f77bbeb2b
Update for 1.3.5 2021-05-18 11:52:49 +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 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 15aa249f64
Stop module with missing types from preventing editor load 2021-05-13 14:06:43 +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 b77cd56a01
Migrate from node-sass to sass
node-sass is deprecated and doesn't work on Node 16.
sass is actively maintained and considered the canonical sass
implementation.
2021-05-11 18:13:21 +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 ed3aa8189f
Shrink default notification box
Also reduces Inject/Debug notification display time as 5 seconds is a
long time for a message telling you it worked
2021-05-11 14:45:53 +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 db0ff74857
Reduce code duplication around node/label generation 2021-05-04 11:12:55 +01:00
Nick O'Leary 9886af3cec
Fix jshint error in treeList 2021-04-29 14:09:21 +01:00
Nick O'Leary 08e73d9d7d
Merge pull request #2967 from hanc2006/master
Fixed remove item when depth=0 and wrong gutter calc treeList widget
2021-04-29 14:00:02 +01:00
Nick O'Leary b0e349b215
Update for 1.3.4 2021-04-29 11:22:22 +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
Nick O'Leary 91f5542a57
Fix importing node to currently flow rather than match its old z value
If you import a node whose z value is a known existing tab, it is getting
imported to that tab, rather than the expected behaviour of being imported
to the current tab.

This commit fixes that by checked if the node is being imported to a tab
that was included in the import, rather than pre-existing.
2021-04-28 20:54:31 +01: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
Kazuhito Yokoi 372122037f Fix margin between nodes on palette 2021-04-21 13:14:46 +09: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 0e06da6c63
Update for 1.3.3 2021-04-20 11:06:23 +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 b0955705be
Update to 1.3.2 2021-04-13 13:34:16 +01:00
Nick O'Leary 6a8cf1b768
Fix variable reference error in editableList
Fixes #2933
2021-04-13 13:24:54 +01:00
Kazuhito Yokoi 39274b0c5d
Add Japanese translations for Node-RED v1.3.1 (#2930) 2021-04-12 14:15:07 +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 749533b0b4
Bump for 1.3.1 2021-04-08 16:23:22 +01:00
Kazuhito Yokoi a157580b22 Add Japanese translations for Node-RED v1.3 2021-04-08 20:06:35 +09:00
Nick O'Leary 449d76a6c7
Update version for 1.3.0 2021-04-06 18:31:49 +01:00
Nick O'Leary 400141b093
Merge pull request #2913 from heikokue/i18n-de/fixes1
small fixes/improvements of DE translations
2021-04-06 17:03:32 +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
Heiko Kuester 9955c3dd5d small fixes/improvements of DE translations 2021-03-31 17:51:40 +02:00
Nick O'Leary 393290df2c
Prevent accidental text selection of subflow toolbar text 2021-03-25 22:40:25 +00:00
Hiroyasu Nishiyama c0a765c998 fix exporting config node 2021-03-18 00:11:35 +09:00
heikokue ed44fb461c
updated DE translation for 1.3.0 (MQTT5, modules, function, ...) and other small fixes (#2901) 2021-03-16 09:52:16 +00:00
Kazuhito Yokoi 734adc6445
Add Japanese translations for Node-RED v1.3.0 (#2900) 2021-03-15 08:23:30 +00:00
heikokue 827f8d4d51
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary

* reworks DE translation of JSONata /editor-client/locales/de/jsonata.json

* rework DE translation of editor-client

* moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* fixed #2: "Sie müssen ..., um ... zu können"

* fixed #3

* fixed #4 and removed unnecessary spaces

* fixed #5

* fixed #6, added missing dots, removed unnecessary spaces

* fixed #7, #8, #9

* fixed #10, #11, #12, #13, #14, #15

* fixed #17, #18, 19

* fixed #19

* moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv

* reworked DE translation of runtime

* fine-tuned DE translation of editor-client

* reworked DE translation of common nodes, fine-tuned editor-client

* reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime

* small i18n fixes
2021-03-12 13:07:12 +00:00
Nick O'Leary 2de43b719e
Merge branch 'pr_2895' into dev 2021-03-10 21:31:27 +00:00
Nick O'Leary 3b84f27f36
Remove arrow-funcs from editor code 2021-03-10 21:31:05 +00:00
Nick O'Leary f7a6a333e1
Show context store name on TypedInput flow/global types
Fixes #2793
2021-03-10 17:51:20 +00:00