Nick O'Leary
05fc3c5eca
Merge branch 'master' into dev
2020-03-30 23:41:33 +01:00
Nick O'Leary
94ef25bbb9
[groups] i18n group messages
2020-03-26 22:50:46 +00:00
Nick O'Leary
58696c6ad4
[groups] Add better colour picker for group fill/stroke
2020-03-19 13:41:54 +00:00
Hiroyasu Nishiyama
c4ca0b6e91
fix tab apperance of subflow template panel
2020-03-15 08:02:26 +09:00
Nick O'Leary
86ce5c591b
[groups] add basic group functionality to editor
2020-03-03 20:55:01 +00:00
Kazuhito Yokoi
6675fdf3c2
Saving the node description property to the library
2020-03-02 05:50:32 +00:00
Nick O'Leary
cc5fdd9844
Avoid adding extra divs to edit form to avoid size miscalculation
2020-02-26 13:17:03 +00:00
Nick O'Leary
cd210d9fbf
Add support for credential-stored env var in subflow
2020-02-10 11:28:56 +00:00
Nick O'Leary
bbd471ad93
Trick chrome into autofilling dummy username/password inputs
...
Fixes #2445
Continuing the arms race against Chrome's war on developers getting
to choose if a form should be autocompleted or not.
The honey-pot username/password fields we already had were being
ignored. This is because they were hidden.
This fix does three things:
- unhides the honey-pot inputs, but moves them offscreen so they won't be seen
- gives them dummy id's so Chrome thinks they are username/password fields
- updates our autocomplete setting to be the standards-compliant 'off' for all
the other browsers who adhere to the standard
2020-02-06 15:36:23 +00:00
Nick O'Leary
b96164d4f5
Fix false change detection when no config node selected
2020-01-10 14:52:20 +00:00
Kazuhito Yokoi
9dbdf0947b
Add tooltip to expand button in markdown editor
2019-10-31 17:21:26 +09:00
tseigo
e022b782a9
Fixed jsdoc descriptions
2019-10-22 00:35:35 +09:00
Nick O'Leary
147d2a02be
Ensure node status is refreshed whenever node is edited
...
Fixes an issue where, if the number of node outputs was changes
the node would resize, but the status text would not reposition
until a new status message arrived.
This change marks status as dirty whenever the node has been
edited, forcing it to be redrawn.
2019-10-14 13:05:45 +01:00
Kazuhito Yokoi
0124bb17e8
i18n support in tooltips
2019-10-04 12:22:09 +09:00
Phi Dong
dbca2178c0
Fix issue where subflow color did not update when not on a flow
2019-10-01 22:46:01 -07:00
Nick O'Leary
6fb6b13037
Normalise default subflow color references
2019-09-23 10:28:26 +01:00
Kazuhito Yokoi
8eb28555bc
Enable wrap mode in Markdown editor
2019-09-17 20:26:59 +09:00
Kazuhito Yokoi
42c6487ff3
Show print margin on ace editor
2019-09-17 14:47:00 +09:00
Kazuhito Yokoi
a4d48077ba
Remove print margin from ace editor
2019-09-13 14:42:45 +09:00
Nick O'Leary
311c7b1158
Merge pull request #2261 from eeyepee/master
...
Add HTTP Persistent (session reuse) capability
2019-08-21 11:44:35 +01:00
Nick O'Leary
b274bafe8e
Allow a node to change if it has an input port
...
Closes #2268
2019-08-15 13:29:08 +01:00
Nick O'Leary
ee6ee99577
Make icon and color pickers more consistent
2019-08-12 22:07:55 +01:00
Nick O'Leary
607bc42f59
Merge branch 'dev' into pr_2225
2019-08-12 15:05:12 +01:00
Nick O'Leary
880757fb5d
Rework Subflow Instance property UI ( #2236 )
...
* Add support of Subflow UI definition
* new UI definition for env var
* fix label
* fixed value obtaining
* fixed label width
* fix checkbox
* fix subflow info
* remove old subflow ui tests
* add tests
* merge ui new changes
* fix initial open button
* fix environment variable edit tab
* WIP: cp-1
* Rework subflow ui property
* Restrict SF value type according to input selection
* Move subflow property UI code to subflow.js
* Update subflow ui type select appearance
* Present subflow instance properties as table rather than generated UI
* Move subflow instance properties to separate tab
* Fix subflow property ui element layout issues
2019-08-12 15:01:54 +01:00
Kazuhito Yokoi
c082bb97e0
Remove tab menu from node property UI for subflow and config nodes
2019-08-07 12:29:20 +09:00
Nick O'Leary
7926055b97
Merge branch 'master' into dev
2019-08-06 16:10:33 +01:00
Hiroyasu Nishiyama
db65460ec0
fix SUBFLOW palette node update & SUBFLOW default color
2019-07-31 22:59:29 +09:00
Tyler Eastman
14ac6446de
Handle undefined node._def in edit stack title.
2019-07-22 14:25:52 -07:00
Hiroyasu Nishiyama
260a9723a4
use custom color picker instead of color input type
2019-07-21 22:55:25 +09:00
Nick O'Leary
04d7106956
Remove unwanted icons
2019-07-12 13:37:01 +01:00
Hiroyasu Nishiyama
db5589f2aa
rearrange contents of subflow template settings tab
2019-07-11 19:37:47 +09:00
Hiroyasu Nishiyama
d06dbbb4bd
changed to color change reflect immediately on OK
2019-07-11 08:22:31 +09:00
Hiroyasu Nishiyama
3ee8bcad8c
add support for specifying subflow template color
2019-07-08 23:52:08 +09:00
Nick O'Leary
04bdcbd490
Do not save subflow env vars with blank names
2019-06-21 12:46:53 +01:00
Nick O'Leary
d623848c87
Update all node icons to SVG
...
When listing icons provided by a module, if there is a png and svg
with the same name, only the svg will be listed.
If a node asks for a png icon which is not known, but there is a
corresponding svg, that will be used instead.
2019-06-21 12:36:20 +01:00
Nick O'Leary
2473249c8b
Allow config nodes to be disabled, tidy css and add actions
2019-06-17 22:46:34 +01:00
Nick O'Leary
41a0af032c
Enable individual flow nodes to be disabled
2019-06-14 22:12:47 +01:00
Nick O'Leary
70cf7b0c5a
Do not save subflow env vars with blank names
2019-06-14 11:18:07 +01:00
Nick O'Leary
14f6788ab9
Set autocomplete to disabled in form input elements
2019-06-14 11:17:49 +01:00
Nick O'Leary
420e8c001b
Fix setting output port labels
2019-05-21 15:24:45 +01:00
Nick O'Leary
5f5feaed5f
Add expand editor button to Template node
2019-05-19 22:34:04 +01:00
Nick O'Leary
98a001a8ca
Deprecate editor-button css class
2019-05-17 10:42:43 +01:00
Nick O'Leary
68b94737ed
Add tooltip on node error icon for validation errs
2019-05-16 14:42:21 +01:00
Nick O'Leary
031362a633
Move all colours to sass variables
2019-05-15 13:54:29 +01:00
Nick O'Leary
b98e85016a
Namespace type editors CSS
2019-05-07 16:48:05 +01:00
Nick O'Leary
90b167eba1
Remove bootstrap.js and package all js in vendor.js
2019-05-02 16:10:47 +01:00
Nick O'Leary
8dc1ad8168
Namespace workspace/view css
2019-05-01 22:41:20 +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
b0d93df387
Blur the active element when closing edit dialog via action
...
Fixes #2097
2019-04-26 16:33:43 +01:00
Nick O'Leary
9832394f8e
Allow subflow instance to override env var with falsey values
...
Fixes #2113
2019-03-28 13:33:54 +00:00
Nick O'Leary
1d7be6457f
Ensure node names are sanitized before being presented
2019-03-13 16:08:11 +00:00
Nick O'Leary
057127f4de
Hitting enter in Comment node name field clicks markdown button
...
When Enter is pressed in a form, the browser will find the first
submittable element and trigger it. By default <button> elements
have type set to 'submit' which causes them to be targetted by
this behaviour.
Adding `type="button"` prevents this behaviour. This change
targets some main offenders - in particular the markdown toolbar.
There are of lots of other `<button>` elements without this attribute
set, so they need tidying up. Not currently aware of any others that
exist in a <Form> so may be immune from this behaviour.
2019-02-13 20:41:34 +00:00
Nick O'Leary
bdc1da70c1
Change subflow edit dialog titles
2019-02-09 21:20:20 +00:00
Nick O'Leary
7cef990ba6
Resize subflow edit dialog properly
2019-02-09 20:44:21 +00:00
Nick O'Leary
d48a09e68b
Add env type to subflow env var types
...
Also remove date and regex types
2019-02-06 13:58:31 +00:00
Nick O'Leary
2a8f0a4eab
Display parent subflow properties in edit dialog
2019-02-05 23:08:39 +00:00
Hiroyasu Nishiyama
ff759a8074
use common i18 label for variable name placeholder
2019-02-05 13:12:21 +09:00
Nick O'Leary
1fe8b388a3
Allow subflow env-var list to resize with the dialog
2019-02-04 17:20:31 +00:00
Hiroyasu Nishiyama
0b05b883cb
add test cases
2019-01-30 00:04:41 +09:00
Hiroyasu Nishiyama
f88a4b1791
fixed comments from @knolleary
2019-01-28 22:14:08 +09:00
Hiroyasu Nishiyama
2b43e3ee23
add placeholder for env var name
2019-01-27 21:56:13 +09:00
Hiroyasu Nishiyama
a413f3cded
Add support of subflow env var
2019-01-26 23:15:20 +09:00
Nick O'Leary
9e47d933af
Handle multiple-select box when nothing selected
...
Fixes #2021
2019-01-10 15:21:27 +00:00
Nick O'Leary
b837f7608c
Avoid marking node as changed if label state is default
...
Fixes #2009
2018-12-19 09:30:20 +00:00
Nick O'Leary
c0837ead0e
Add support for ${} env var syntax when skipping validation
...
Closes #1980
See also #825
2018-12-13 16:13:57 +00:00
Nick O'Leary
ea4d65ceee
Add RED.editor.registerTypeEditor for custom type editors
2018-12-10 22:21:21 +00:00
Nick O'Leary
6201247875
Tidy up markdown toolbar handling across all editors
...
Any editor for the markdown mode will now automatically get
the markdown toolbar added.
The comment node has been updated to handle this properly and
to not add two copies of its content to the sidebar.
2018-12-10 15:24:27 +00:00
Nick O'Leary
c76bd39280
Improve alignment of node label edit inputs
2018-12-06 10:54:23 +00:00
nakanishi
8bda2d0add
Show arrow-in node when invalid font-awesome icon name was specified for default icon
2018-11-29 16:57:39 +00:00
Hiroyasu Nishiyama
cf931e8ddf
Merge remote-tracking branch 'upstream/dev' into update-i18n-editor
2018-11-14 09:06:05 +09:00
Nick O'Leary
7515b745b5
Make sure editor footer is i18n enabled
2018-11-13 15:10:19 +00:00
Hiroyasu Nishiyama
0e902a7e71
i18n & JP message for node config tab
2018-11-13 23:29:14 +09:00
Nick O'Leary
e630919ef8
Handle subflow type in refreshLabelForm
...
Part of #1955
2018-11-02 13:59:10 +00:00
nakanishi
5500b4fe35
Show port label of subflow with input port
2018-11-01 13:35:13 +09:00
Nick O'Leary
daf3e6a47a
Merge branch 'dev' into hide-label
2018-10-23 10:55:27 +01:00
nakanishi
c9db74ebca
Show default icon when non-existent font-awesome icon was specified
2018-10-23 16:30:56 +09:00
Nick O'Leary
0a98ba6985
Tidy up appearance tab in edit dialog
2018-10-22 14:41:47 +01:00
Nick O'Leary
9751089807
Tidy up ace tooltip styling
2018-10-19 10:42:39 +01:00
Nick O'Leary
0376e0d711
Allow a node label to be hidden
2018-10-08 16:25:11 +01:00
Nick O'Leary
422109868d
Add markdown toolbar to node description editor
2018-10-06 23:14:04 +01:00
nakanishi
8789d983ed
Show icon element with either icon image or fa-icon
2018-09-28 17:07:55 +09:00
nakanishi
f13e02a1a9
Added font-awesome icons to user defined icon
2018-09-26 09:16:15 +09:00
Nick O'Leary
80a15089b4
Add markdown-preview to expandable editor for ndoe descriptions
2018-09-21 17:21:04 +01:00
Nick O'Leary
2aae76c9bc
Merge branch 'dev' into repackage
2018-09-17 14:49:11 +01:00
Nick O'Leary
e57d8ba0ef
pull out editor-client and editor-api
2018-08-17 22:10:54 +01:00