Commit Graph

59 Commits

Author SHA1 Message Date
Hiroyasu Nishiyama 038f75e48f add support for mermaid diagram to markdown editor 2023-01-05 17:25:16 +09:00
Nick O'Leary 28238eb5a7
Allow typeSearch to list actions
A proof-of-concept which needs a bit more UI polish, but capturing the
current code for the future. We do not add actions to the list, so the code
is unused.
2022-06-16 13:57:50 +01:00
Nick O'Leary 3649f10600
Merge pull request #3478 from node-red/auto-gen-name
Allow node name to be auto-generated when added
2022-03-14 19:35:58 +00:00
Nick O'Leary 2396e28479
Add 'juntion' to quick-add type search 2022-03-14 18:31:23 +00:00
Nick O'Leary db1ad0df63
Add Junctions 2022-03-14 18:16:24 +00:00
Nick O'Leary 93ff667df1
Add RED.utils.getPaletteLabel 2022-03-09 11:29:51 +00:00
Nick O'Leary a508177e21
Add copy-value button to entries in Node Props table of info sidebar 2022-01-31 20:35:42 +00:00
Nick O'Leary a2e0074061
Update marked to latest 2022-01-18 09:20:52 +00:00
Nick O'Leary b6570a16b8
Handle RegExp types in Debug sidebar
Fixes #3245
2021-11-08 20:24:10 +00:00
Gerwin van Beek 836f7d2163 Improved regex for markdown renderer 2021-10-22 17:05:37 +02:00
Nick O'Leary 9425548a85
Ensure message tools stay attached to top-level entry in Debug/Context
Fixes #3180
2021-10-12 21:11:20 +01:00
Nick O'Leary 155e1be494
Fix table tokenizer for node help markdown renderer 2021-10-08 17:56:24 +01:00
Steve-Mcl 2b12834d53 fix typo in boolean logic test 2021-10-05 00:06:25 +01:00
Steve-Mcl 8a2e74b3b8 fix grunt errors 2021-10-04 23:52:55 +01:00
Steve-Mcl aa1721ab3d Only style ordered list with dl.message-properties 2021-10-04 23:36:22 +01:00
Steve-Mcl c0a256306b clean up temp enable flag 2021-10-04 23:34:38 +01:00
Steve-Mcl a89d294b27 Custom markdown rendering to generate style guide 2021-10-04 22:59:34 +01:00
Nick O'Leary 48ac50e1c9
Add support for Map/Set property types on Debug 2021-06-29 11:09:30 +01:00
Nick O'Leary 89c84522d2
Merge branch 'master' into dev 2021-06-10 14:19:24 +01:00
Nick O'Leary 98172764ac
Handle node icon paths for scoped modules
Fixes #3013
2021-06-10 14:15:43 +01:00
Nick O'Leary a9164e63ab
Merge branch 'dev' into pr_2971 2021-05-18 16:30:13 +01:00
Nick O'Leary fe64c6a841
Merge branch 'master' into dev 2021-05-13 14:30:02 +01:00
Nick O'Leary 2bbdc85a29
Prevent unknown node from breaking editor
If a node provides a .js file that registers a type
but its .html is empty, then the editor will know about
the type, but there will be no node definition.

This fix handles that in some of the utility functions
for generating node appearance.

This wasn't an exhaustive check for these things - just
some obvious candidates that I hit in testing 'bad' nodes
2021-05-13 14:28:01 +01:00
Nick O'Leary 1a30fe4a1a
Improve red-ui-node-icon css and add red-ui-node-icon-small modifier class 2021-05-13 13:39:29 +01:00
Nick O'Leary 4ff991764e
Updates to encode/decode message when passed over debug comms link 2021-05-13 13:38:34 +01:00
Nick O'Leary db0ff74857
Reduce code duplication around node/label generation 2021-05-04 11:12:55 +01:00
Steve-Mcl bded5490d2 add utility func getBrowserInfo
- prep for monaco - for slimming down monaco on mobile
- prep for monaco - needed to prevent monaco on IE
2021-04-29 17:35:11 +01:00
Nick O'Leary c37ea90206
Remember TypedInput selected sub option when switching types
Fixes #2896
2021-03-10 17:50:46 +00:00
Nick O'Leary 6336ab121e
Merge branch 'dev' into function-modules 2021-02-13 00:21:27 +00:00
Nick O'Leary 9c09ee3b71
Rework Function node module integration 2021-02-12 18:14:13 +00:00
Nick O'Leary 438d51d26e
Allow nested msg properties in msg/flow/global expressions (#2822)
* Allow nested msg properties in msg/flow/global expressions

* Remove typo in RED.utils

Co-authored-by: Nick O'Leary <knolleary@users.noreply.github.com>
2021-01-27 20:32:52 +00:00
Nick O'Leary 545dda166f
Support bigint types in Debug sidebar 2020-11-17 20:50:29 +00:00
Nick O'Leary baffe4861c
Handle undefined value in Debug view of Array and Object
Fixes #2696
2020-09-07 21:05:27 +01:00
Nick O'Leary 597c4a2e4f
Add createNodeIcon and getDarkerColor to RED.utils 2020-05-01 17:37:15 +01:00
Nick O'Leary a5b33d11fc
[outline] Add outline section to info sidebar 2020-04-27 11:17:19 +01:00
Nick O'Leary 3f86fd7176
Upgrade to latest marked and dompurify libs 2020-02-24 11:22:47 +00:00
Hiroyasu Nishiyama d06dbbb4bd changed to color change reflect immediately on OK 2019-07-11 08:22:31 +09:00
Nick O'Leary f22762539f
Handle png/svg fallback for def.icon values. Remove old pngs 2019-06-21 15:41:17 +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
Dave Conway-Jones 33e20c9969
Only add copypath popover if button exists. 2019-05-28 21:43:21 +01:00
Dave Conway-Jones dc0b9231cd
Add popover tooltips to debug sidebar,function and template
path, value, pin buttons in debug
expand buttons in function and template.
2019-05-27 15:48:06 +01:00
Nick O'Leary afa25df1af
Allow RED.settings.get/set to use full property desc 2019-05-21 17:19:12 +01:00
Nick O'Leary 98a001a8ca
Deprecate editor-button css class 2019-05-17 10:42:43 +01:00
Nick O'Leary 031362a633
Move all colours to sass variables 2019-05-15 13:54:29 +01:00
Nick O'Leary bc540eefb6
Namespace projects CSS 2019-05-07 15:47:33 +01:00
Nick O'Leary ad77565508
Namespace CSS for Debug, Keyboard, Clipboard, Settings 2019-05-02 22:33:29 +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 e05ff01d57
Allow a project to be located below the root of repo 2019-02-15 22:11:25 +00:00
Dave Conway-Jones c409af0ea8
Add local time display option to numerics in debug window 2019-02-04 15:51:42 +00:00