Kazuhito Yokoi
2e14703b16
Add Japanese translations for grouping nodes
2020-05-08 15:01:39 +09:00
Nick O'Leary
d6ad7dc6eb
Add show-examples-import-dialog action
2020-05-07 13:46:18 +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
Hiroyasu Nishiyama
4245c0a0ad
activate project menu after initial clone
2020-04-30 12:59:10 +09: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
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
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
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