Commit Graph

36 Commits

Author SHA1 Message Date
Nick O'Leary 2ddbb44992
Add change annotation for newly added flow 2023-02-23 23:14:18 +00:00
Nick O'Leary 363a8b8588
Add change icon to tabs 2023-02-23 22:48:08 +00:00
Hiroyasu Nishiyama 9cb474ea9c fix deployment of locked flow 2022-11-07 09:40:36 +09:00
Kazuhito Yokoi d4fdf6be67 Add Japanese translations for v3.0-beta.4 2022-07-01 01:09:06 +09:00
Nick O'Leary 1839c1972e
Update packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js
Co-authored-by: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com>
2022-06-29 20:21:27 +01:00
Nick O'Leary f33848e16b
Rework start/stop api to use runtime-event notification message 2022-06-29 10:27:44 +01:00
Steve-Mcl 1b8a4577d5 improve UI, i18n and layout of stop/start feature 2022-06-27 18:07:22 +01:00
Steve-Mcl 51baed4932 default stop/start feature to `enabled:false` 2022-06-27 18:06:53 +01:00
Steve-Mcl 2f1f587c50 Use HTTP body instead of header for setting flows run state 2022-06-27 18:03:14 +01:00
Steve-Mcl 68331fc40c implement flows runtime stop/start API and UI 2022-06-08 21:56:17 +01:00
Steve-Mcl 3f776397d1 close parent notification on "search for..." click 2022-05-02 21:24:46 +01:00
Steve-Mcl 1ec75035ba declare missing var `notification` 2022-05-02 21:23:36 +01:00
Steve-Mcl 97b7b7b968 ensure space after search terms 2022-05-02 21:22:45 +01:00
Steve-Mcl 8a972ee543 Add "search for" buttons to notifications 2022-05-01 16:48:04 +01:00
Hiroyasu Nishiyama a2c0e53f87 fix out of scope reference of hasUnusedConfig variable 2022-04-18 08:36:19 +09:00
Steve-Mcl 780e41d6a6 Prevent shortcut deploy when deploy button shaded
fixes #3509
2022-04-04 17:06:29 +01:00
Hiroyasu Nishiyama dc73997be3 fix not to use hasOwnProperty 2022-02-08 09:21:52 +09:00
Hiroyasu Nishiyama fb81121bd3 fix node validation to be applied to config node 2022-02-04 17:45:00 +09:00
Kunihiko Toumura 828888490a check availability of config node on deploy 2021-12-21 18:10:42 +09: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 5897045f24
Ignore disabled nodes when checking for invalid configs on deploy
Closes #2430
2020-02-05 14:26:55 +00:00
Nick O'Leary 3ff861099a
Move deploy icons to svg 2019-06-21 16:08:43 +01:00
Nick O'Leary 8abc5b3889
Add actions to change deploy type 2019-06-12 10:06:58 +01:00
Nick O'Leary 031362a633
Move all colours to sass variables 2019-05-15 13:54:29 +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 5b1defad9f
Simplify index.mst to a single div to insert the editor 2019-05-02 16:09:13 +01:00
Nick O'Leary 126a42056d
Namespace all header css 2019-04-30 23:38:54 +01:00
Nick O'Leary 9dac679b72
Namespace all sidebar css 2019-04-30 22:56:39 +01:00
Nick O'Leary a2632fdcc8
Namespace all palette css 2019-04-29 22:38:14 +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 724acff591
Properly sanitize node names in deploy warning dialogs 2019-02-07 09:11:06 +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 8c169dc82b
Add 'restart flows' option to deploy menu 2018-09-06 15:27:01 +01:00
Nick O'Leary e57d8ba0ef
pull out editor-client and editor-api 2018-08-17 22:10:54 +01:00