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
f54ed8ebd1
Prevent button label wrapping in typedInput
2020-04-09 20:20:52 +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
572c03631d
Do not collapse whitespace in Debug string messages
2020-04-06 15:40:06 +01:00
Nick O'Leary
2f869a55e2
Handle nodes with no wires array
2020-04-06 15:39:48 +01:00
Nick O'Leary
efad7270b7
Add polyfills for IE11
2020-04-03 16:57:15 +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
04da13eaf9
Merge branch 'pr_2523' into dev
2020-03-31 15:59:31 +01:00
Nick O'Leary
7fa4df082e
Force sync redraw of view when replacing unknown nodes
2020-03-31 15:58:51 +01:00
Nick O'Leary
ae001c5e82
Merge branch 'master' into dev
2020-03-31 15:35:46 +01:00
Nick O'Leary
e7f942eda7
Update nodeTabMap when replacing unknown nodes
2020-03-31 15:34:48 +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
ef9db701f8
[groups] Add default group style to css so can be themed
2020-03-26 15:25:08 +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
c9194c3635
[groups] Fix undo/redo handling of addTo/removeFrom group
2020-03-13 23:09:18 +00:00