Commit Graph

316 Commits

Author SHA1 Message Date
Nick O'Leary ccfde84769
Merge pull request #2812 from node-red/property-types
Support node property typing
2021-01-12 23:56:01 +00:00
Nick O'Leary b1df6d5149
Add preview of exported nodes to Export dialog 2021-01-12 18:23:15 +00:00
Nick O'Leary ea2e3f25d8
Implement node property typing
See https://github.com/node-red/designs/pull/37
2021-01-08 14:19:12 +00:00
Nick O'Leary 6e1466e411
Tidy some subflow env props css 2021-01-07 10:42:35 +00:00
Nick O'Leary df1eb631e1
Merge pull request #2752 from bartbutenaers/readonly-typedinput
Allow TypedInput to be disabled
2020-12-07 12:21:53 +00:00
Nick O'Leary 1cd10f074b
Update projects dialogs to use TypedInput-cred input 2020-11-16 11:37:32 +00:00
Nick O'Leary bed1d31bc8
Restore cursor position in TypedInput cred-mode 2020-11-16 11:37:04 +00:00
bartbutenaers 32b04cd32f
Disable TypedInput 2020-11-06 08:48:14 +01:00
Dave Conway-Jones b1cc7b3296
de-duplicate colour keys 2020-11-05 09:38:34 +00:00
Dave Conway-Jones 65d90a6dff
Add gray/grey alternate options for status 2020-11-05 09:20:47 +00:00
Hiroyasu Nishiyama 96ab508c91 move width specification of upload button to scss 2020-10-08 09:07:11 +09:00
Nick O'Leary 69d60ffb24
Add simplified git workflow to auto-commit changes 2020-09-28 10:41:33 +01:00
Nick O'Leary ead1f65887
Disable selection FA icons when dbl clicking node 2020-09-25 16:03:21 +01:00
Nick O'Leary 103e212aee
Fix size of context sidebar refresh toggle buttons 2020-09-22 23:44:10 +01:00
Nick O'Leary a48f0827ae
Detect importing duplicate nodes and help user resolve 2020-09-16 11:59:13 +01:00
Nick O'Leary b21667834e
Tweak upload dialog margin 2020-08-26 10:37:21 +01:00
Nick O'Leary 183fa59c83
Add tgz upload button to palette manager 2020-08-26 00:15:36 +01:00
Nick O'Leary fba505bc90
Fix vertical align of fa node icons
Fixes #2670
2020-08-05 13:53:49 +01:00
Nick O'Leary 442b9d23f1
Remove filtering of duplicate fa icons 2020-07-22 14:51:07 +01:00
Nick O'Leary 8ea25bcd1c
Update build-custom-theme to handle keyframes properly
Fixes #2636

Also adds a header to the generated CSS identifing the version
of NR and date/time it was generated.
2020-07-07 11:38:07 +01:00
Nick O'Leary f5e46a663a
Remove hardcoded css and allow group to default from theme
Fixes #2633
2020-07-07 11:01:05 +01:00
Nick O'Leary e2802175a5
Clear outline focus on config node sidebar panel 2020-06-29 21:07:21 +01:00
Nick O'Leary 432ed264c2
Remove hardcoded css
Fixes #2603
2020-06-22 20:39:41 +01:00
Nick O'Leary 0a411cbe4f
Fix node button mouse pointer css 2020-06-22 14:37:52 +01:00
Nick O'Leary 1d944bab51
Improve display of focussed form element 2020-06-18 22:25:19 +01:00
Nick O'Leary c9069d472f
Make color/icon/label-pos pickers keyboard navigable 2020-06-18 22:23:50 +01:00
Nick O'Leary 0c90376752
Align node labels on FF
FF doesn't seems to use alignment-baseline CSS class in the same
way Chrome does. Switched to domintant-baseline.
2020-06-18 10:11:22 +01:00
Nick O'Leary 56efd51c06
Fixup padding of quick-add search box 2020-06-15 22:31:47 +01:00
Nick O'Leary 61d9ccf263
Avoid regenerating every node label on redraw 2020-06-13 23:02:10 +01:00
Nick O'Leary a9fb50787b
Add search presets option to searchBox widget 2020-06-08 12:01:29 +01:00
Nick O'Leary ce7d7a8e01
Add RED.popover.menu as a new type of menu widget 2020-06-08 12:01:05 +01:00
Nick O'Leary d9502a6c00
Refresh outline filter whenever something changes
Fixes #2601
2020-06-05 22:19:46 +01:00
Nick O'Leary 139ae547c6
Add filter to link node 2020-06-03 15:54:51 +01:00
Nick O'Leary 2ce424b567
Add compact searchBox to status/catch/complete nodes 2020-06-01 21:09:58 +01:00
Nick O'Leary d45415ab22
Merge branch 'master' into dev 2020-06-01 09:36:20 +01:00
Ristomatti Airo f9a157fe18 Fix editor underscore visibility on Linux systems
- seems to relate to DejaVu Sans font rendering
- fixes #2104
2020-05-23 18:41:44 +03:00
Nick O'Leary ed1998162f
Fix gutter button position in outline tree 2020-05-21 23:05:29 +01:00
Nick O'Leary ac2a21f992
Fixup positioning of create-project icons in startup dialog 2020-05-21 17:46:29 +01:00
Nick O'Leary 50aaef5103
Make all dialogs handle smaller height screens better
Covers library, clipboard and project dialogs
2020-05-21 15:14:39 +01:00
Nick O'Leary fbd911ed27
[outliner] Keep outliner selection in sync with workspace 2020-05-14 22:08:25 +01:00
Nick O'Leary bc1fb2770b
[groups] Change style of disabled groups 2020-05-12 13:53:20 +01:00
Nick O'Leary 0c83fa7060
Add loading progress bar 2020-05-11 16:27:22 +01:00
Nick O'Leary 17891d373b
[outliner] Fix positioning of tips box 2020-05-07 10:32:25 +01:00
Nick O'Leary 9f29149d87
[help-sidebar] Add help sidebar 2020-05-06 16:15:12 +01:00
Nick O'Leary 010e20989a
[popover] Allow hover-type popovers to contain buttons 2020-05-06 16:12:07 +01:00
Nick O'Leary 2af7066512
Merge branch 'dev' into outliner 2020-05-05 15:11:35 +01:00
Nick O'Leary d7df20413d
Merge branch 'master' into dev 2020-05-04 11:41:44 +01:00
Nick O'Leary 78c86880e4
[outline] Update information section of info sidebar 2020-05-01 17:39:54 +01:00
Nick O'Leary aca61c0354
Modify RED.panels to use flexbox position 2020-05-01 17:38:23 +01:00
Nick O'Leary 12dc4ab1fa
[outline] Connect search dialog to outline filter box 2020-04-27 15:23:39 +01:00
Nick O'Leary a5b33d11fc
[outline] Add outline section to info sidebar 2020-04-27 11:17:19 +01:00
Nick O'Leary 2eaea02489
Make selected list item more distinct 2020-04-27 11:04:04 +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 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 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 ef9db701f8
[groups] Add default group style to css so can be themed 2020-03-26 15:25:08 +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 fc3d0ab053
[groups] Keep groups ordered by depth in DOM 2020-03-09 15:10:54 +00:00
Nick O'Leary de971fa53f
Merge pull request #2487 from bonanitech/patch-1
Fix workspace CSS properties syntax
2020-03-09 11:17:14 +00:00
Mauricio Bonani 8a82552bdc
Consolidate duplicates 2020-02-29 15:14:57 -05:00
Mauricio Bonani bd4fc2e5cc
Fix workspace CSS properties syntax 2020-02-29 09:15:42 -05:00
Nick O'Leary 634a51635c
Battling Chrome Autocomplete, part 31: Wrap search input with form 2020-02-10 18:56:03 +00:00
Nick O'Leary 33cbb2ada8
Fixup typedInput cred css 2020-02-10 11:09:49 +00:00
Nick O'Leary d08e77cf36
Add credential type to TypedInput 2020-02-10 11:09:49 +00:00
Nick O'Leary 3db5f928ee
Wrap long context values when displaying in sidebar
Fixes #2400
2020-02-07 13:59:08 +00:00
Nick O'Leary aba6173e23
Merge pull request #2411 from kazuhitoyokoi/master-fixeditor
Fix IME bug in text editor
2020-01-17 10:36:43 +00:00
Kazuhito Yokoi 944070dfb1 Move CSS definition to ace.scss 2020-01-09 13:06:39 +09:00
Kazuhito Yokoi f0584df1d0 Revert "Fix IME bug in text editor"
This reverts commit 9cbd0fceea.
2020-01-09 12:53:39 +09:00
Dave Conway-Jones 9c1d46ff92
Make node highlighting a bit more obvious for busy flows 2019-12-26 16:53:13 +00:00
Kazuhito Yokoi 9cbd0fceea Fix IME bug in text editor 2019-12-17 21:00:50 +09:00
Hiroyasu Nishiyama 18ff2df65c prohibit line break in type menu of typedInput 2019-10-28 23:49:14 +09:00
Nick O'Leary 29d1894f9a
Fix wrap of header logo in IE11 2019-09-30 10:59:04 +01:00
Nick O'Leary 9955bcc339
Hide header text of very small screens to deploy is visible 2019-09-20 13:08:50 +01:00
Nick O'Leary 30c402eb83
Update radialMenu to use standard theme colours 2019-09-20 12:58:21 +01:00
Nick O'Leary ec01f8f54b
Move context sidebar auto-refresh option to individual sections 2019-09-10 17:10:22 +01:00
Nick O'Leary a0b1831cdb
Fix node hover effect to prevent jumping position 2019-09-10 11:39:07 +01:00
Nick O'Leary a25e98d0cb
Fix padding of subflow locale select
Closes #2276
2019-09-10 09:45:04 +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
Hiroyasu Nishiyama 260a9723a4 use custom color picker instead of color input type 2019-07-21 22:55:25 +09:00
Nick O'Leary 8b3b541a56
Improve typedInput label width calculation
If the label contains an img, the width calculation needs
to wait for the img to be loaded. This fix is a bit hacky
as it doesn't actually tie into the onload event, but should
be good enough
2019-07-01 11:17:36 +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 cc0933eee4
Rename commandPrompt to actionList 2019-06-11 22:43:28 +01:00
Nick O'Leary ffeb2e91f4
Add command prompt dialog 2019-06-11 22:43:28 +01:00
Nick O'Leary e3e0378857
Add visual json editor 2019-06-11 14:44:44 +01:00
Nick O'Leary 6b7e623d33
Remove some hardcoded css colors 2019-06-06 11:34:20 +01:00
Nick O'Leary 2ab19937af
Fix pinned debug item css 2019-05-27 21:23:41 +01:00
Nick O'Leary a71d4223ff
Add node-select to typedInput 2019-05-23 23:38:42 +01:00
Nick O'Leary cae003d4fa
Add RED.view.selectNodes api for node selection whilst editing 2019-05-23 16:39:06 +01:00
Nick O'Leary 42b60aef4e
Fix library/clipboard import/export issues 2019-05-21 22:58:56 +01:00
Nick O'Leary 5ab7380ad1
Add auto-refresh toggle to context sidebar 2019-05-21 17:19:39 +01:00
Nick O'Leary 5cb888328e
Fix Deploy menu focus style 2019-05-21 15:26:15 +01:00
Nick O'Leary 78aeb94917
Line up component footer buttons better 2019-05-21 15:26:03 +01:00
Nick O'Leary 5f3e9a19ea
Introduce toggleButton and move flow-disabled to use it 2019-05-21 15:25:38 +01:00
Nick O'Leary c63b8a4ebc
Fix a couple css errors in menu/config sidebar 2019-05-20 22:03:05 +01:00
Nick O'Leary 98a001a8ca
Deprecate editor-button css class 2019-05-17 10:42:43 +01:00
Nick O'Leary 0d75ff336d
Found some more ids and classes to namespace 2019-05-16 22:32:28 +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 42ab6deff1
Tidy up remaining css classes 2019-05-16 13:26:49 +01:00
Nick O'Leary 3a257e1e00
Fix typedInput styling and allow option list to scroll 2019-05-16 10:28:01 +01:00
Nick O'Leary bbe41febf1
Fix view tooltip text position 2019-05-15 14:17:44 +01:00
Nick O'Leary 031362a633
Move all colours to sass variables 2019-05-15 13:54:29 +01:00
Nick O'Leary 4418f8bfce
Better CSS namespace of base form elements 2019-05-09 19:22:40 +01:00
Nick O'Leary 59093f1721
Pull out more CSS colors to sass variables 2019-05-08 19:06:08 +01:00
Nick O'Leary db5e79a19b
Convert node-change/error icons to SVG 2019-05-08 19:05:30 +01:00
Nick O'Leary 50228c5970
Namespace more editor component CSS 2019-05-08 13:26:48 +01:00
Nick O'Leary b98e85016a
Namespace type editors CSS 2019-05-07 16:48:05 +01:00
Nick O'Leary bc540eefb6
Namespace projects CSS 2019-05-07 15:47:33 +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 ad77565508
Namespace CSS for Debug, Keyboard, Clipboard, Settings 2019-05-02 22:33:29 +01:00
Nick O'Leary 0e02e21967
Get rid of Bootstrap 2019-05-02 17:03:42 +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 8dc1ad8168
Namespace workspace/view css 2019-05-01 22:41:20 +01:00
Nick O'Leary 126a42056d
Namespace all header css 2019-04-30 23:38:54 +01:00
Nick O'Leary 5866dad79a
Namespace context/config sidebar css 2019-04-30 23:28:35 +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 5e8279cf51
Add workspace statusBar 2019-04-29 17:24:14 +01:00
Nick O'Leary 337dfba2b8
Add keyboard nav to treeList 2019-04-26 16:21:35 +01:00
Nick O'Leary 5e43a02cd3
Move remaining library dialogs to new style 2019-04-24 11:50:24 +01:00
Nick O'Leary 6f37d5ca5c
Move type-library dialogs to new treeList style 2019-04-23 15:46:15 +01:00
Nick O'Leary 3263008379
Move library import/export to single dialog 2019-04-23 14:23:17 +01:00
Nick O'Leary 38b5063038
Tidy up blockquote css style 2019-03-05 20:56:35 +00:00
Nick O'Leary 39344fcae5
Fix background of tab select icon 2019-03-05 13:25:44 +00:00
Nick O'Leary 43f21fc7aa
Add list-flows action and button 2019-03-04 22:37:51 +00:00
Nick O'Leary e05ff01d57
Allow a project to be located below the root of repo 2019-02-15 22:11:25 +00:00
Nick O'Leary 3bcff91328
Add Status Node to Subflow to allow subflow-specific status
Closes #597
2019-02-01 23:44:50 +00:00
Nick O'Leary aa9a37da38
Add placeholder node when in quick-add mode 2019-01-23 16:27:13 +00:00
Nick O'Leary f26b9feeaf
Change default dropdown appearance and sidebar tab menu handling 2019-01-10 23:30:51 +00:00
Nick O'Leary 0ec04a3624
Allow notifications to be reused in place rather than stack
For example, clipboard actions now reuse the same notification.
Similarly the Inject node will reuse its notification when
injecting.
2019-01-09 14:02:46 +00:00
Nick O'Leary 6031f146aa
Add TreeList common widget 2018-12-20 13:15:31 +00:00
Nick O'Leary 091de3aa66
Fix vertical align of markdown editor in Safari
Fixes #2008
2018-12-19 10:04:36 +00:00
Nick O'Leary 33dade0584
Support drag-wiring of link nodes 2018-12-18 10:57:53 +00:00
Nick O'Leary dc2d3bc7c0
Improve diff colouring 2018-12-18 10:57:18 +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
Nick O'Leary 4f0aa1bc02
Add 'open project' option to Projects Welcome dialog 2018-11-14 12:51:02 +00:00
Nick O'Leary e4f67df2a1
Add 'type already registered' check in palette editor 2018-11-13 22:36:56 +00:00
Nick O'Leary bfd98f3767
Add ability to delete context values from sidebar 2018-11-12 17:04:22 +00:00
Nick O'Leary dc880c672a
Make disabled flows more obvious in editor 2018-11-08 18:04:36 +01:00
Nick O'Leary 7436e01188
Allow config nodes to be selected in sidebar and deleted 2018-11-03 21:32:38 +00:00
Nick O'Leary c0d8f904b3
Support ctrl-click selection of flow tabs 2018-10-30 22:18:16 +00:00
Nick O'Leary 09abec15b1
Show error details when trying to import invalid json 2018-10-23 23:07:31 +01:00
Nick O'Leary daf3e6a47a
Merge branch 'dev' into hide-label 2018-10-23 10:55:27 +01: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 b2516117f5
Add event log to editor
Shows output from git pull/push and npm install in the editor
2018-10-18 23:49:47 +01:00
Nick O'Leary 289583325d
Allow palette to be hidden 2018-10-17 11:03:09 +01:00
Nick O'Leary 6bd0682e8c
Better markdown editor preview 2018-10-07 14:24:32 +01:00
Nick O'Leary 1161e4f6c1
Add tooltips to debug elements 2018-10-05 17:56:42 +01:00
Nick O'Leary 22ede79799
Add node body tooltip - limit to link nodes for now 2018-10-03 15:40:05 +01:00
Nick O'Leary cdcf39fe82
Update tooltip style and add to some editor buttons 2018-10-03 14:02:07 +01: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 e57d8ba0ef
pull out editor-client and editor-api 2018-08-17 22:10:54 +01:00