Commit Graph

74 Commits

Author SHA1 Message Date
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