Nick O'Leary
ad542b91fa
Add i18n support to tours
2021-09-27 17:34:30 +01:00
Nick O'Leary
e9e03c945b
Add core:show-welcome-tour action and logic to display on first-run
2021-09-27 16:42:51 +01:00
Nick O'Leary
e20cfb3dae
Ignore dynamicImport warning from jshint
2021-09-26 20:46:43 +01:00
Nick O'Leary
48baac916c
Add initial tour-guide feature
2021-09-26 20:46:38 +01:00
Nick O'Leary
adadf38b08
Allow menu items to be opened via css class
2021-09-26 20:46:33 +01:00
Nick O'Leary
d4e1469450
Allow default tab to be specified when editing flows/groups/subflows
2021-09-26 20:46:28 +01:00
Nick O'Leary
2c456f044f
Allow popovers to be moved and styled
2021-09-26 20:46:23 +01:00
Nick O'Leary
228c15ace3
Fix icon position in dropdown menu
2021-09-26 20:38:55 +01:00
Nick O'Leary
a0d15e6e7b
Fix menu error for workspace tab button
2021-09-26 20:08:15 +01:00
Nick O'Leary
5ec3544340
Merge pull request #3148 from node-red/login-fixes
...
Improve error reporting with oauth login strategies
2021-09-24 22:40:15 +01:00
Nick O'Leary
5443a17775
Merge pull request #3120 from node-red/hide-flows
...
Allow tabs to be hidden
2021-09-24 22:39:42 +01:00
Nick O'Leary
5caa76a8b3
Widden default menu to handle shortcuts
2021-09-24 22:15:02 +01:00
Nick O'Leary
901a5ce9d2
Better fade effect when hiding tabs
2021-09-24 22:10:53 +01:00
Nick O'Leary
6ab74951f4
Fix menu shortcut display when menu label is long
2021-09-24 19:44:05 +01:00
Nick O'Leary
c2625d696d
Merge branch 'dev' into hide-flows
2021-09-24 19:12:34 +01:00
Steve-Mcl
5825da9c76
Merge branch 'dev' into theme-monaco-theme
2021-09-21 14:06:54 +01:00
Nick O'Leary
e3853ae402
Improve error reporting with oauth login strategies
2021-09-20 11:48:51 +01:00
Nick O'Leary
85820c571d
Add unit tests for allowUpdate settings
2021-09-14 10:50:26 +01:00
Nick O'Leary
d9bed03025
Add allowUpdate feature to externalModules.palette
2021-09-13 21:25:12 +01:00
Casey Wilkes
a3d2f6592e
Add support for colouring tab icon in settings.js
...
```
editorTheme: {
page: {
tabicon: {
icon: "full/path/of/tabicon.svg",
colour: "#008f00"
}
}
```
The old way still works also (but doesn't allow the tabicon to
be coloured:
```
editorTheme: {
page: {
tabicon: "full/path/of/tabicon.svg"
}
}
```
2021-09-10 13:10:01 +12:00
Nick O'Leary
87b6327c5e
Merge branch 'dev' into hide-flows
2021-09-07 13:53:45 +01:00
Nick O'Leary
abaebb329d
Merge branch 'dev' into edit-panes-2
2021-09-07 13:42:49 +01:00
Nick O'Leary
9dc5ae21c4
Add menu options for raise/lower actions
2021-09-07 12:04:58 +01:00
Nick O'Leary
4132fb79a6
Allow nodes to be raised/lowered in the workspace
2021-09-07 11:49:31 +01:00
Nick O'Leary
9a4dc30604
Merge pull request #3110 from node-red/view-tools
...
Add align actions to editor
2021-09-07 11:49:10 +01:00
Nick O'Leary
192b542fe4
Add menu options for align tools and show shortcuts on menu
2021-09-07 11:47:04 +01:00
Nick O'Leary
234e77fd06
Rename registerEditPane function
2021-09-02 22:12:32 +01:00
Nick O'Leary
87ac831c8a
Simplify edit pane api
2021-09-02 21:59:30 +01:00
Nick O'Leary
4e92492165
Edit panes should not need to create own tray content div
2021-09-02 21:44:06 +01:00
Nick O'Leary
c3d0b1114f
Fix jshint error
2021-09-02 16:37:13 +01:00
Nick O'Leary
4463a7d4ba
Move envVar list component to own file
2021-09-02 16:14:35 +01:00
Nick O'Leary
741fe3dd90
Move tab edit dialog into editor and use new edit panes
2021-09-02 14:29:58 +01:00
Nick O'Leary
e910f3915d
Initial refactor of edit dialogs to separate panes
2021-09-02 10:33:43 +01:00
Nick O'Leary
39aafc5007
Ensure treeList row has suitable min-height when no content
...
Fixes #3109
2021-09-02 10:26:54 +01:00
Nick O'Leary
9b83afae42
Fix typo in ko editor.json
...
Fixes #3119
2021-09-02 10:26:49 +01:00
Mauricio Bonani
bdf54f6cff
Change fade color when hovering an inactive tab
2021-09-02 10:26:44 +01:00
Mauricio Bonani
f2a9887a12
Place close tab link in front of fade
2021-09-02 10:26:39 +01:00
Nick O'Leary
3b460fb8fa
Bump for 2.0.6
2021-09-02 09:00:54 +01:00
Nick O'Leary
b36dd62c50
Remove console.log
2021-08-31 15:23:50 +01:00
Nick O'Leary
7026df7d96
Track hidden tabs in localStorage
2021-08-31 15:19:04 +01:00
Nick O'Leary
ed8e7afdf6
Add flow tab bar menu
2021-08-31 14:46:11 +01:00
Hiroyasu Nishiyama
d78e5932f9
update according to PR comments
2021-08-30 08:00:58 +09:00
Nick O'Leary
26d83bb9ea
Ensure treeList row has suitable min-height when no content
...
Fixes #3109
2021-08-27 16:32:43 +01:00
Nick O'Leary
8e89b1bdf2
Fix typo in ko editor.json
...
Fixes #3119
2021-08-27 16:22:58 +01:00
Nick O'Leary
c880cc0987
Add core:hide-other-tabs and handle multiple tab selection
2021-08-27 11:46:30 +01:00
Nick O'Leary
0874ba7a03
Add core:show-last-hidden-tab and update keymap
2021-08-26 22:20:25 +01:00
Nick O'Leary
7962278475
Allow tabs to be hidden via x-button on tab
2021-08-26 12:06:35 +01:00
Nick O'Leary
c8949f5eeb
Fix treeList gutter padding for outliner
2021-08-26 12:06:30 +01:00
Nick O'Leary
8108b93c5f
Add core:toggle-tabs action
2021-08-26 12:06:25 +01:00
Nick O'Leary
9dbe531bf7
Remove duplicate hide-tab action
2021-08-26 12:06:20 +01:00
Nick O'Leary
46e2ff1001
Allow tabs to be hidden
2021-08-26 12:06:15 +01:00
Nick O'Leary
d2cdc67ec7
Add distribute-horizontally/vertically actions to editor
2021-08-26 12:05:56 +01:00
Nick O'Leary
56121203bf
Rename align actions to match existing align-selection-to-grid
2021-08-26 12:05:51 +01:00
Nick O'Leary
e13133fd2b
Add align actions to editor
2021-08-26 12:05:45 +01:00
Hiroyasu Nishiyama
6aecc3915c
add support of environtment variable for tab & group
2021-08-19 21:15:13 +09:00
Mauricio Bonani
e93734b209
Change fade color when hovering an inactive tab
2021-08-10 14:26:41 -04:00
Mauricio Bonani
9e5218f6b4
Place close tab link in front of fade
2021-08-10 14:21:54 -04:00
Ben Hardill
711ec39327
Fix editor-client package.json
...
The main entry pointed to non-existant entry.
Also fixed error when loading nodes lazily
2021-08-06 21:16:34 +01:00
Nick O'Leary
f1e7ec0c6b
Bump for 2.0.5
2021-07-30 13:28:52 +01:00
Nick O'Leary
27ed81614b
Remove default ctrl-enter keybinding from monaco editor
...
Fixes #3093
2021-07-30 11:50:21 +01:00
Steve-Mcl
8a1d81989b
use codeEditor.options.theme
2021-07-26 21:02:11 +01:00
Nick O'Leary
ee9234b2c6
Bump for 2.0.4
2021-07-26 17:09:26 +01:00
Nick O'Leary
735b9c5844
Handle just-copied-but-not-deployed node with credentials in editor
...
Fixes #3090
2021-07-26 14:50:00 +01:00
Mauricio Bonani
36e75cb728
Fix tab fade CSS for when using themes
2021-07-25 11:08:55 -04:00
Steve-Mcl
d7a2fc2be4
use them plugin theme monacoTheme
if present
2021-07-25 15:16:49 +01:00
Nick O'Leary
142176f194
Bump for 2.0.3
2021-07-23 14:38:43 +01:00
Nick O'Leary
269669ba28
Bump for 2.0.2
2021-07-22 11:17:48 +01:00
Nick O'Leary
4ef7240598
Handle other error types in Manage Palette view
...
We still get [object Object] appearing in the palette manager sometimes.
This fix nails down another cause - where the err property has a 'code'
but no 'message' property. This happens with the type_already_registered
error
2021-07-21 17:26:19 +01:00
Nick O'Leary
233a1995b3
Fix tab fade css because Safari
...
Fixes #3073
2021-07-21 10:26:06 +01:00
Nick O'Leary
8ef3baaffb
Fix error closing library dialog with monaco
2021-07-21 10:10:07 +01:00
Nick O'Leary
c9597b9447
Bump for 2.0.1
2021-07-20 14:44:47 +01:00
Nick O'Leary
dc603b76a4
Fix focus outline overlap in button-groups
...
Fixes #3070
2021-07-20 11:02:24 +01:00
Nick O'Leary
5ba0588c7b
Merge branch 'master' into dev
2021-07-16 08:53:35 +01:00
Nick O'Leary
d4a199f0e1
Avoid prototype pollution in RED.view.calculateTextDimensions
2021-07-16 08:52:00 +01:00
Nick O'Leary
e16ab2a0fd
Bump for 2.0.0
2021-07-13 11:51:23 +01:00
Nick O'Leary
e7efa76e6d
Add a slight fade to tab labels that overflow
2021-07-08 12:23:15 +01:00
Nick O'Leary
c6f6042271
Show config node details when selected in outliner
2021-07-08 12:03:20 +01:00
Nick O'Leary
e9e3b9b7c6
Fix layout of info outliner for subflow entries
2021-07-08 12:02:11 +01:00
Nick O'Leary
108c26d8af
Merge pull request #3055 from bonanitech/grip-horizontal
...
Fix grip on panels separator
2021-07-08 08:41:48 +01:00
Mauricio Bonani
6211dfe024
Fix grip on horizontally displayed panels separator
2021-07-07 09:52:47 -04:00
Mauricio Bonani
9b85200954
Fix grip on panels separator
2021-07-07 09:24:14 -04:00
Nick O'Leary
66dd05f8bc
Merge branch 'master' into dev
2021-07-02 10:01:07 +01:00
Nick O'Leary
83440a6b0f
Merge pull request #3047 from node-red/config-outliner-fix
...
Emit `nodes:change` for any updated config node when node deleted/added
2021-07-02 08:47:46 +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
1e804d97ce
Fix padding of compact notification
...
Closes #3045
2021-07-01 20:57:42 +01:00
Nick O'Leary
218d3c144b
Emit nodes:change for any updated config node when node deleted/added
2021-07-01 20:52:13 +01:00
Nick O'Leary
05a4905490
Fix padding of compact notification
...
Closes #3045
2021-07-01 17:23:52 +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
fa4b7a1a69
Ensure any html in changelog is escaped before displaying
2021-06-29 13:58:24 +01:00
Nick O'Leary
48ac50e1c9
Add support for Map/Set property types on Debug
2021-06-29 11:09:30 +01:00
Kazuhito Yokoi
26e4be87c7
Add Japanese translation for file-in node ( #3037 )
2021-06-29 08:42:16 +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
Steve-Mcl
7f30748a41
dont try to load en-gb or en-us (they're builtin)
...
- also monaco now comes with Turkish, Polish, Portuguese, Czech langs
2021-06-24 11:25:26 +01:00
Steve-Mcl
a4e0abb48f
Update monaco editor to V0.5.2
2021-06-24 11:21:49 +01:00
Steve-Mcl
3f27dc89d8
Add overloads for context/flow/global set/get/keys
2021-06-23 22:27:13 +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
2c710736e8
Use browser default language for initial page load
2021-06-16 11:44:35 +01:00
Nick O'Leary
69b9ff69be
Add css var for node font color
2021-06-16 11:44:30 +01:00
Nick O'Leary
a3a4fc0cc2
Fix label padding of toggleButton
2021-06-16 11:44:25 +01:00
Nick O'Leary
ae686bb15d
Give sidebar open tab a bit more room for its label
2021-06-16 11:44:20 +01:00
Nick O'Leary
68a5325849
Bump version to 2.0.0-beta.2
2021-06-16 11:44:14 +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
Hiroyasu Nishiyama
93c25f5d1b
Update message catalogue
2021-06-13 14:19:36 +09:00
Steve-Mcl
aa6ec60c34
fix up issues with function node types
...
- node.status add overload
- remove examples as they dont render correctly
- correct Number and Object types to number and object
2021-06-11 18:44:37 +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
ff5e038c49
Improve contrast of export dialog JSON font color
2021-06-08 11:54:58 +01:00
Nick O'Leary
ce905ba2c4
Merge branch 'master' into dev
2021-06-08 11:44:31 +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
Nick O'Leary
bd00c728d1
Merge pull request #3008 from Steve-Mcl/node-red-typings-update
...
Node red typings update
2021-06-08 10:29:03 +01:00
Steve-Mcl
714a5e26b3
add env.get to function node defs
2021-06-05 12:42:54 +01:00
Steve-Mcl
7f2c6e40d3
fix typescript errors in node-red d.ts def files
2021-06-05 12:42:13 +01:00
Steve-Mcl
db676ec223
add snippet for env.get
2021-06-05 12:34:47 +01:00
Steve-Mcl
ffb3e511a7
update monaco v0.24.0
2021-06-05 12:28:25 +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
Jiye Yu
4140ff03d7
fix typo in zh-CN translation ( #3003 )
2021-06-03 19:03:00 +01:00
Nick O'Leary
7c02e4d66a
Merge branch 'master' into dev
2021-06-02 15:40:56 +01:00
Nick O'Leary
a92f8f36c1
Keep proper track of moved/changed state in undo/redo history
...
Fixes #2999
2021-06-02 14:07:22 +01:00
Nick O'Leary
01b5fc4d49
Merge pull request #2987 from node-red/clean-ids
...
Change node id generation to give fixed length values without '.'
2021-05-27 12:18:38 +01:00
Nick O'Leary
de142ac9d6
Add css named variables for certain key colors
2021-05-25 21:03: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
4f77bbeb2b
Update for 1.3.5
2021-05-18 11:52:49 +01:00
Nick O'Leary
8bbed2c831
Change node id generation to give fixed length values without '.'
2021-05-18 11:32:17 +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
15aa249f64
Stop module with missing types from preventing editor load
2021-05-13 14:06:43 +01:00
Nick O'Leary
fdf58e1225
Fix lint errors in editor hooks
2021-05-13 14:00:21 +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
1550e5343c
Merge branch 'master' into dev
2021-05-13 13:42:26 +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
319af51f84
Add RED.hooks to editor
2021-05-13 13:35:12 +01:00
Nick O'Leary
5dbaaae68e
Merge branch 'master' into dev
2021-05-12 16:00:36 +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
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
1f4f64a7c0
handle node-red style affecting monaco rename box
2021-05-02 22:44:48 +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
Steve-Mcl
60d97c887d
missing args from JSONata $now signature
2021-04-29 16:57:22 +01:00
Steve-Mcl
1f7884dc70
add typings for basic intellisense
2021-04-29 16:54:29 +01:00
Steve-Mcl
69dafd6c68
add codeEditor settings
2021-04-29 16:53:59 +01:00
Steve-Mcl
64b79cd5ac
add monaco dist
...
- includes themes from https://github.com/brijeshb42/monaco-themes
2021-04-29 16:52:22 +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
68fef169f3
Merge pull request #2944 from node-red/Pull-in-RBE-and-push-out-tail
...
v2: Pull in RBE node and push out tail
2021-04-20 10:57:37 +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
0d0459d83d
Update to latest i18n in editor and runtime
...
Fixes #2924
2021-04-16 16:52:12 +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
cb1a178fbf
Set 2.0.0-beta.1 version
2021-04-09 10:35:19 +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
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
Hiroyasu Nishiyama
40ea759e2c
fix vanishing link in subflow
2021-03-10 09:03:52 +09: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
7be7dec19a
Fix removing links when deleting node
2021-02-27 21:57:27 +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
bartbutenaers
fbb7dd4c3f
EditableList custom buttons
2021-02-21 22:52:41 +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
ea62c1806e
Give edit dialog a little bit more vertical space
2021-02-17 12:04:20 +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
3740c21bee
add IE11 polyfill to support URI download scheme
2021-02-11 17:56:08 +09:00
Nick O'Leary
fad8dcd304
Bump for 1.2.9
2021-02-03 18:04:37 +00:00
Nick O'Leary
1633a2ff70
Sanitize node type names when displaying in notifications
2021-02-03 15:50:05 +00:00
Nick O'Leary
a2878fa066
Sanitize branch name before displaying in notification message
2021-02-03 15:46:57 +00:00
Nick O'Leary
23f0cd3a26
Bump for 1.2.8
2021-02-02 13:11:33 +00: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
7fa25c1ff4
Merge pull request #2839 from node-red/subflow-search
...
Add easier ways to find subflow instances
2021-01-29 10:19:36 +00:00
Nick O'Leary
3bd1bfc769
Fix check for existing config nodes in subflow export set
2021-01-29 10:16:40 +00:00
Kazuhiro Ito
dad47ade38
Add config node to refer to when exporting subflow
2021-01-29 11:05:15 +09: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
24da3608c4
Merge pull request #2779 from node-red/plugins
...
Plugins
2021-01-27 20:37:35 +00:00