Commit Graph

2881 Commits (bcbc5dec481521d752cc4cda0434ec41cb5cc32a)

Author SHA1 Message Date
dimitrieh f74beb6a92
Add Ctrl+1/Cmd+1 keyboard shortcut for zoom-to-fit 2025-10-14 10:04:33 +01:00
dimitrieh f6decfd589
Revert "Move zoom-to-fit button between reset and zoom-in"
This reverts commit e46cfc9479b2db429d4f73c981e1886b6c0cbbca.
2025-10-14 10:04:33 +01:00
dimitrieh 269cab2e9c
Move zoom-to-fit button between reset and zoom-in 2025-10-14 10:04:32 +01:00
dimitrieh e2a6a1b52d
Fix zoom button handlers - zoom in/out were reversed 2025-10-14 10:04:32 +01:00
dimitrieh c5209d8ea2
Add zoom-to-fit button to show all nodes at once
Add fourth zoom button that calculates bounding box of all active nodes
and zooms out to fit them all in viewport with padding.

- Add compress icon button to zoom controls in footer
- Implement zoomToFitAll() function with bounding box calculation
- Add 80px padding around nodes for visual breathing room
- Respect dynamic minimum zoom limit
- Center viewport on bounding box after zoom animation
- Register core:zoom-fit action for keyboard shortcut support
- Update documentation with new zoom-to-fit feature
2025-10-14 10:04:32 +01:00
dimitrieh 48b6fb353d
Fix grey padding at canvas bottom by resetting SVG margins
Remove 5px grey space that appeared at bottom of canvas when scrolled
to maximum position. The viewport scrollHeight was 8005px instead of
8000px due to default browser SVG margins.

- Add explicit padding and margin resets to workspace chart container
- Set SVG to display:block with zero margin/padding to prevent spacing
- Ensures scrollable area exactly matches 8000px canvas dimensions
2025-10-14 10:04:32 +01:00
dimitrieh f718069b46
Fix minimap viewport position at non-1.0 zoom levels
The minimap was treating scroll position as workspace coordinates,
but scrollLeft/scrollTop are actually in scaled canvas pixels.

At zoom levels other than 1.0, this caused the viewport rectangle
to appear in the wrong position. For example, at 2x zoom viewing
workspace position (500, 500), the scroll position would be 1000px,
and the minimap would incorrectly show it at workspace position 1000.

Fixed by converting scroll position to workspace coordinates first:
position = scrollPos / scaleFactor / nav_scale

The viewport rectangle now accurately reflects the actual visible
area at all zoom levels.
2025-10-14 10:04:32 +01:00
dimitrieh cdde99b9ab
Add scroll spacer to fix scrollable area at minimum zoom
When at minimum zoom with "cover" behavior, the SVG canvas may be
smaller than the viewport in one dimension. This causes the browser's
scrollWidth/scrollHeight to be limited by the SVG size rather than
the full canvas extent.

Added an invisible spacer div that matches the scaled canvas dimensions,
ensuring the scrollable area always reflects the actual canvas size.
This allows proper scrolling to reach all canvas edges without going
beyond canvas boundaries.
2025-10-14 10:04:32 +01:00
dimitrieh f132867a31
Add stable focal point tracking to Alt/Space scroll zoom
Alt+scroll and Space+scroll zoom now maintain a fixed focal point
like trackpad pinch zoom. Previously, the zoom point would drift
during continuous scrolling.

Implemented gesture session tracking that:
- Stores focal point in workspace coordinates for stability
- Locks focal point during continuous scroll events (< 100ms apart)
- Ends gesture after 500ms of inactivity
- Converts focal point back to screen coordinates for each zoom step

This makes all zoom methods (pinch, Alt+scroll, Space+scroll) behave
consistently with stable, cursor-centered zooming.
2025-10-14 10:04:31 +01:00
dimitrieh c07cce4fb0
Make Alt/Space scroll zoom speed match trackpad pinch zoom
Alt+scroll and Space+scroll were using fixed zoom steps (0.06/0.08),
making them zoom much faster than trackpad pinch zoom which uses
proportional scaling (0.005 * delta).

Changed to use trackpad-style proportional zoom for consistent feel
across all zoom input methods.
2025-10-14 10:04:31 +01:00
dimitrieh 45f3b01125
Fix spacebar hold causing unwanted canvas scrolling
When holding spacebar, browsers fire repeated keydown events. The
previous implementation only prevented default on the first keydown,
allowing subsequent events to trigger browser's space-scroll behavior.

Moved preventDefault() outside conditional to block all spacebar events.
2025-10-14 10:04:31 +01:00
dimitrieh 3bef2d6481
Improve minimap auto-show behavior
- Remove view:selection-changed listener to prevent minimap showing on node selection
- Remove view:navigate emissions from pan mode entry points (no longer shows when starting pan)
- Add view:navigate emission to touchpad scroll handler for consistent behavior
- Minimap now only appears during actual panning and zooming actions

The minimap previously showed when selecting nodes or just starting a pan gesture,
causing unnecessary flashing. Now it only appears during actual navigation (pan/zoom)
and fades after 2 seconds of inactivity.
2025-10-14 10:04:31 +01:00
dimitrieh 08a5d04df6
Enable diagonal trackpad panning
- Prevent browser's native axis-locked scroll behavior
- Manually handle both deltaX and deltaY in wheel event handler
- Update touch-action CSS from pan-x pan-y to manipulation
- Add documentation of fix to CANVAS_INTERACTION.md

Fixes issue where trackpad scrolling was restricted to horizontal
or vertical movement only, not both simultaneously.
2025-10-14 10:04:31 +01:00
Dimitrie Hoekstra 6725fd6426
Hide scrollbars and add auto-show/hide minimap on navigation
- Hide scrollbars on canvas while keeping it scrollable
- Add minimap auto-show functionality that triggers on zoom and pan
- Minimap appears for 2 seconds during navigation then fades out
- Add smooth fade in/out animations for minimap visibility
- Emit view:navigate events for all zoom and pan operations
- Minimap stays visible if manually toggled with button
2025-10-14 10:04:31 +01:00
Dimitrie Hoekstra 7dca55fdb8
Add dynamic minimum zoom recalculation on viewport resize
- Recalculate minimum zoom when window resizes to ensure canvas fits properly
- Automatically adjust zoom if current level falls below new minimum after resize
- Ensures canvas boundaries remain appropriate for different viewport sizes
2025-10-14 10:04:30 +01:00
Dimitrie Hoekstra b4c3faf034
Implement dynamic zoom limits to match canvas boundaries
- Add calculateMinZoom() function to dynamically compute minimum zoom based on viewport size
- Ensure canvas always covers the entire viewport (no empty space visible)
- Use 'cover' behavior: zoom limited so canvas fills viewport completely
- Update all zoom methods (buttons, wheel, trackpad, touch) to use calculated minimum
- Prevent zooming out beyond what's needed to fill the viewport with canvas content
2025-10-14 10:04:30 +01:00
Dimitrie Hoekstra 4938833227
Fix zoom gesture detection after two-finger panning
Clear touchStartTime timeout when entering two-finger pan mode to prevent
interference with subsequent zoom gestures. The timeout was being used for
long-press detection but wasn't cleared during pan, causing the next
gesture to incorrectly maintain the old touch state.
2025-10-14 10:04:30 +01:00
Dimitrie Hoekstra bf73261ecb
Prevent UI pinch-to-zoom while keeping canvas zoomable
- Add touch-action CSS to prevent pinch-zoom on UI elements
- Apply touch-action: pan-x pan-y to html, body, and editor
- Apply touch-action: none to canvas for custom gestures
- Add JavaScript prevention for touchpad pinch on non-canvas areas
- Block Ctrl+wheel events outside the workspace chart
2025-10-14 10:04:30 +01:00
Dimitrie Hoekstra 3e2fb85821
Add two-finger panning and spacebar+click panning
- Implement spacebar+left-click panning for desktop
- Add two-finger pan gesture for touch devices
- Use mode locking to prevent laggy gesture switching
- Lock into pan or zoom mode based on initial movement
- Fix focal point regression caused by pan/zoom interaction
- Improve gesture detection with better thresholds (10px for zoom, 5px for pan)
2025-10-14 10:04:30 +01:00
Dimitrie Hoekstra 541977312e
Improve zoom smoothness and control
- Make mouse wheel zoom smooth without jarring animations
- Reduce zoom acceleration from 2x to 1.2x max
- Slow down zoom velocity by 40-50% for better control
- Add asymmetric zoom speeds (zoom out slower than zoom in)
- Reduce acceleration range to 0.7-1.1 for gentler transitions
- Disable legacy mousewheel handler in favor of modern wheel event
2025-10-14 10:04:30 +01:00
Dimitrie Hoekstra 782821b590
Fix zoom focal point stability at canvas edges
- Store focal point in workspace coordinates instead of screen coordinates
- Prevents focal point drift when scroll changes due to canvas boundaries
- Maintains consistent zoom focus even when view shifts at edges
- Add early return in zoomView() to prevent unnecessary updates at zoom limits
- Improve gesture state management for both trackpad and touch gestures
2025-10-14 10:04:30 +01:00
Dimitrie Hoekstra 49222c5737
Fix trackpad zoom direction - spreading fingers now zooms in
- Inverted deltaY value for trackpad pinch gestures
- Matches standard macOS trackpad behavior
- Spreading fingers (negative deltaY) zooms in
- Pinching fingers (positive deltaY) zooms out
2025-10-14 10:04:29 +01:00
Dimitrie Hoekstra eaf68815fd
Implement smooth zoom functionality with pinch-to-zoom support
- Add smooth zoom animation with 125ms duration and easing curves
- Implement space+scroll zoom mode alongside existing Alt+scroll
- Fix pinch-to-zoom with proper ratio-based scaling and fixed focal point
- Add gesture state management for consistent zoom behavior
- Enhance spacebar handling to prevent scroll artifacts
- Fix zoom button layout (correct zoom in/out direction)
- Add zoom animation utilities (view-zoom-animator.js)
- Add zoom configuration constants (view-zoom-constants.js)
- Fix scale lock issues with improved tolerance handling
- Update Gruntfile to include new zoom modules in build

Features implemented:
- Smooth animated zoom transitions (125ms with ease-out)
- Space+scroll for zoom mode
- Fixed focal point during pinch gestures
- No scroll artifacts when pressing space
- Proper state management when cursor leaves canvas
- Natural acceleration/deceleration curves

Known issue: Trackpad pinch-to-zoom needs additional work on macOS
2025-10-14 10:04:29 +01:00
claude[bot] bd51b0c153
feat: Add enhanced zoom and scroll features
- Added space+scroll zoom functionality
- Implemented cursor-centered zoom (focuses on cursor position)
- Enhanced pinch-to-zoom with trackpad support (Ctrl+wheel)
- Added momentum scrolling with edge bounce animation
- Improved touch pinch gesture handling with proper center tracking

Co-authored-by: Dimitrie Hoekstra <dimitrieh@users.noreply.github.com>
2025-10-14 10:04:28 +01:00
Nick O'Leary 2f2199e71b
Bump for 4.1.1 release 2025-10-13 11:37:18 +01:00
Nick O'Leary 2c1fe60d25
Merge pull request #5307 from GogoVega/5245-filter-suggestions-for-disabled-set
Filter suggestions to ensure only enabled set are shown
2025-10-13 11:12:12 +01:00
Nick O'Leary b5edcf6ac9
Update packages/node_modules/@node-red/editor-client/src/js/ui/view.js 2025-10-13 11:06:30 +01:00
Nick O'Leary 6d1fd0b616
Show all catalog items if small enough and no search time provided 2025-10-13 10:56:40 +01:00
GogoVega c1cd5d9593
Filter suggestions to ensure only enabled set are shown 2025-10-10 18:16:25 +02:00
Nick O'Leary 5427d43a98
Merge pull request #5306 from node-red/5244-redraw-after-clearing-suggestion
Force a redraw after clearing suggested flow on mouse down
2025-10-10 16:03:36 +01:00
Nick O'Leary f4cbebca66
Merge pull request #5299 from joebordes/i18n_003
i18n(NodeRed) update ES translation files to latest code base
2025-10-10 15:50:48 +01:00
Nick O'Leary 4173e9a71b
Force a redraw after clearing suggested flow on mouse down 2025-10-10 15:47:31 +01:00
Nick O'Leary e85476b925
Merge pull request #5301 from node-red/5245-filter-suggestions-for-known-types
Filter suggestions to ensure only known types are shown
2025-10-10 15:06:00 +01:00
GogoVega 7c1505eeaf
Use the action label if provided 2025-10-10 13:38:03 +02:00
Nick O'Leary 00b879f855
Filter suggestions to ensure only known types are shown 2025-10-10 12:02:36 +01:00
Joe Bordes fd4e78089b i18n(NodeRed) update ES translation files to latest code base 2025-10-09 17:12:38 +02:00
Nick O'Leary 39975fd46a
Handle subflow virtual port nodes when generating quick-add context 2025-10-09 13:56:19 +01:00
Nick O'Leary b0485b1229
Merge pull request #5293 from GogoVega/fix-5286
Prevents label from taking up all the space for env autocomplete
2025-10-09 11:26:36 +01:00
Nick O'Leary e5ebf5029c
Merge pull request #5292 from GogoVega/fix-5289
Fix env autocomplete result if searchKey starts with `${`
2025-10-09 11:25:59 +01:00
Nick O'Leary 1813a5791d
Merge pull request #5290 from node-red/5283-fix-ui-lockup-for-typed-arrays
Fix UI lock-up when typed arrays are expanded in debug window
2025-10-09 11:24:43 +01:00
Nick O'Leary 11feee3294
Merge pull request #5278 from GogoVega/fix-5275
Fix undo node output changes inside a Subflow
2025-10-09 10:18:46 +01:00
Nick O'Leary 75e6ba209c
Merge pull request #5266 from node-red/fix-monaco-uncaught-promise-canceled
Fix uncaught Monaco error
2025-10-09 10:09:45 +01:00
Nick O'Leary 17fe94d368
Merge pull request #5265 from node-red/add-url-types-to-server-side-fn
Add 'url' module to default server-side types in Monaco editor
2025-10-09 10:07:28 +01:00
GogoVega ebf5ae0ef3
Prevents label from taking up all the space for env autocomplete 2025-10-08 15:27:07 +02:00
GogoVega 90d5776f79
Fix env autocomplete result if searchKey starts with `${` 2025-10-08 14:41:20 +02:00
Steve-Mcl 36f98133bf Fix UI lock-up when typed arrays are expanded in debug window
closes #5283
2025-10-05 12:18:18 +01:00
GogoVega cad105bbd1
Fix undo node output changes if instances exist 2025-09-22 10:33:22 +02:00
GogoVega 83df61018f
Fix undo node output changes inside a Subflow 2025-09-22 09:53:09 +02:00
Steve-Mcl b074b67ed1 Fix uncaught error, update monaco, update types 2025-09-07 20:51:17 +01:00
Steve-Mcl dfb19b2636 add 'url' module to default server-side types in Monaco editor 2025-09-07 20:43:56 +01:00
Ben Hardill d35b31cbef
Catch errors from RED.comms.subscribe callback
fixes #5262
2025-09-05 14:25:37 +01:00
Nick O'Leary 9ad329e5a1
Merge pull request #5237 from GogoVega/fix-node-docs-icon
Fix node documentation icon for long catalog loading
2025-08-28 13:53:02 +01:00
Kazuhito Yokoi a7491b0227 Add tooltip for event log view 2025-08-03 09:43:56 +09:00
GogoVega addec16001
Fix the node docs icon for long catalog loading 2025-07-31 11:26:09 +02:00
Nick O'Leary ab1f1a284e
Update for 4.1.0 release 2025-07-29 15:55:04 +01:00
Nick O'Leary 432884f84a
Merge pull request #5223 from node-red/5219-fix-undo-splice-in-group
Add splice history events to original add event
2025-07-21 17:47:49 +01:00
Nick O'Leary 2b5fa37b70
Add splice history events to original add event 2025-07-21 17:26:34 +01:00
Nick O'Leary 412f4465c7
Merge branch 'master' into dev 2025-07-21 16:29:52 +01:00
Nick O'Leary 9b4acba82e
Merge pull request #5202 from node-red/5198-monaco-esc-handling
Better Monaco `esc` key bubbling
2025-07-21 15:24:12 +01:00
Nick O'Leary e97e307fed
Add typeSearch context when adding nodes 2025-07-14 15:20:53 +01:00
Nick O'Leary c0b9fb5eac
Handle applying suggestion without having selected one 2025-07-14 14:28:04 +01:00
Nick O'Leary 8380c06a19
Support multiple suggestions at once 2025-07-11 09:32:51 +01:00
Nick O'Leary 2608beeea5
Merge pull request #5206 from GogoVega/french-nls-4.1
Update French translation for 4.1
2025-07-10 10:03:40 +01:00
GogoVega df53354f02
Update French translation for 4.1 2025-07-03 12:46:56 +02:00
Nick O'Leary 3f66dd2134
Apply suggestion from @knolleary 2025-07-02 16:03:15 +01:00
Kazuhito Yokoi 49b4c2bfee Add Japanese translations for 4.1.0-beta.2 2025-06-29 23:46:40 +09:00
Steve-Mcl d60e48a0f5 Prevent esc of monaco widgets bubbling up to edit form scope
closes #5200
2025-06-29 11:37:52 +01:00
GogoVega 68c2640b68
Do not select a nearest node if move is active 2025-06-29 12:16:55 +02:00
Nick O'Leary 2c63d2fe4c
Bump for 4.1.0-beta.2 2025-06-26 15:14:34 +01:00
Nick O'Leary 8d822f52ea
Remove testing plugins 2025-06-26 15:08:46 +01:00
Nick O'Leary 7f147b97ca
Merge pull request #5195 from node-red/add-splice-to-add-event
Add `splice` property to nodes:add event context
2025-06-26 15:07:10 +01:00
Nick O'Leary 26f9052f51
Merge pull request #5194 from node-red/5082-autocomplete-plugin-support
Add support for plugin sources of autoComplete fields
2025-06-26 15:06:17 +01:00
Nick O'Leary c532b55513
Add `splice` property to nodes:add event context 2025-06-26 15:01:06 +01:00
Nick O'Leary 9bf9b7a635
Update context on autoComplete api 2025-06-26 14:30:13 +01:00
Nick O'Leary 0ae9f3dd8a
Add support for plugin sources of autoComplete fields 2025-06-26 14:21:21 +01:00
Nick O'Leary b18fb321b6
Do not update suggestion whilst typeSearch hiding 2025-06-26 11:05:55 +01:00
Nick O'Leary 176ab9c554
Merge branch 'master' into dev 2025-06-26 11:01:07 +01:00
Nick O'Leary ebc475c76f
Merge pull request #5180 from node-red/suggest-api-improvements
setSuggestedFlow api improvements
2025-06-26 10:40:13 +01:00
Nick O'Leary 2d67d082c6
On update suggestion view when it changes 2025-06-26 10:36:06 +01:00
Nick O'Leary 0b172be7a5
Don't require x/y when providing single node in suggestion api 2025-06-26 10:30:25 +01:00
Nick O'Leary 08c3feb8d0
Merge pull request #5192 from node-red/jquery-update
Update jquery
2025-06-26 10:17:47 +01:00
Nick O'Leary cd4a951983
Update jquery 2025-06-26 10:05:21 +01:00
Nick O'Leary 26902d71aa
Update event-log.js 2025-06-26 10:02:01 +01:00
Nick O'Leary 303e606a74
NLS the suggestion label 2025-06-25 17:24:58 +01:00
Nick O'Leary 3ff835174d
Merge pull request #5122 from AllanOricil/remote_editor_shade_tray_click_listener
feat: tray's primary button function will no longer run when clicking anywhere in #red-ui-editor-shade
2025-06-25 17:03:23 +01:00
Nick O'Leary 052533962c
Swap manage/install-all buttons in dependency notification 2025-06-25 16:56:31 +01:00
Nick O'Leary 01815b995e
Merge pull request #5167 from gorenje/gorenje-mermaid-fix
Mermaid diagram fix for rendering diagrams inside Node-RED
2025-06-25 16:48:31 +01:00
Nick O'Leary e8d4fe8a07
Merge branch 'dev' into remote_editor_shade_tray_click_listener 2025-06-25 15:03:53 +01:00
Nick O'Leary c6d0ec4dc2
Fixes infotip handling of cursor keys and updates english tip 2025-06-25 14:49:24 +01:00
Nick O'Leary 1552fe20c5
Use type label if suggestion doesn't provide one 2025-06-25 14:21:09 +01:00
Nick O'Leary b2d6eeadbd
Fix deleting suggested node with wire 2025-06-25 14:18:44 +01:00
Nick O'Leary e65728e94b
Better grid snapping for suggestion auto-placement 2025-06-25 13:49:50 +01:00
Nick O'Leary 1717e0f39b
Remove suggestedFlow actions and hardcode key handling 2025-06-25 13:43:13 +01:00
Nick O'Leary 412d47b303
Allow suggestion to be automatically positioned relative to source 2025-06-24 14:10:02 +01:00
Nick O'Leary d95af6acd6
Do not mark workspace dirty when generating names without history 2025-06-24 09:58:24 +01:00
Nick O'Leary a1060524d4
Add flow suggestion plugin api 2025-06-23 11:02:01 +01:00
Nick O'Leary 99b8b4c91b
Add tab to apply current suggested flow 2025-06-23 10:14:45 +01:00
Nick O'Leary 63b4615e78
Add escape to clear suggested flow 2025-06-23 10:08:27 +01:00
GogoVega a25595765f
Do not check the type editors 2025-06-19 16:41:34 +02:00
Nick O'Leary 1a873b8389
Add event-log widget to status bar 2025-06-19 15:17:56 +01:00
Stephen McLaughlin 4967de8e5b
Merge branch 'dev' into suggest-api-improvements 2025-06-19 09:26:47 +01:00
Nick O'Leary af0903eae1
Add clickToApply flag to suggestion 2025-06-17 10:41:32 +01:00
Nick O'Leary d9715eab99
Fix lint 2025-06-16 17:01:21 +01:00
Nick O'Leary 5ec075a49a
Allow source node to be set in setSuggestedFlow api 2025-06-16 16:54:01 +01:00
Nick O'Leary 71e7b821a2
Merge pull request #5173 from kazuhitoyokoi/dev-addjpn
Add Japanese translations for 4.1.0-beta.1
2025-06-16 14:14:19 +01:00
Nick O'Leary f24bf3549c
Do not use css display when counting filtered palette nodes 2025-06-16 11:32:43 +01:00
Kazuhito Yokoi 51e0e18045 Fix typo in welcome tour 2025-06-15 01:29:39 +09:00
Kazuhito Yokoi 2886fc326c Add Japanese translations for 4.1.0-beta.1 2025-06-15 01:01:55 +09:00
Kazuhito Yokoi 09a539a710 Make explanation of update notifications more specific 2025-06-15 00:58:20 +09:00
Kazuhito Yokoi 922229221f Fix image URLs in welcome tour for Node-RED v4.0 2025-06-15 00:53:35 +09:00
GogoVega 07d6c4e582
Prevent the editor to open the same dialog multiple times 2025-06-11 17:25:14 +02:00
GogoVega e5f2e8783a
Fix pending_version not setted after module update 2025-06-11 16:51:11 +02:00
Gerrit Riessen 559be0b52b
Step 1 : include base64 code in pre for mermaid diagrams
and also remove the "word-break: break-all" for mermaid diagrams.

See https://discourse.nodered.org/t/node-red-mermaid-rendering-is-off-by-one/97546 for details
2025-06-11 10:20:50 +02:00
Gerrit Riessen 558ea9d45e
Step 2 - using b64 data for mermaid content
see https://discourse.nodered.org/t/node-red-mermaid-rendering-is-off-by-one/97546 for details
2025-06-11 10:17:18 +02:00
Nick O'Leary 6717cce644
Merge pull request #5163 from node-red/rel410b1-prep
Initial prep for 4.1.0-beta.1 release
2025-06-10 16:29:56 +01:00
GogoVega 0e0a1d5e7b
Add French translation for 4.1 Welcome tour 2025-06-09 20:46:23 +02:00
Nick O'Leary 9c086a1e61
Update tour for beta.1 2025-06-09 17:01:59 +01:00
GogoVega c32e8875ef
Add French translation for 4.1 2025-06-09 13:19:57 +02:00
Nick O'Leary 6f34696687
Initial prep for 4.1.0-beta.1 release 2025-06-09 11:47:18 +01:00
Nick O'Leary 5511b27855
Merge branch 'master' into dev 2025-06-09 10:51:35 +01:00
Nick O'Leary 42f98d6f71
Merge pull request #5143 from GogoVega/major-version-and-link
Add link icon to node docs and warn for major update
2025-06-06 11:05:21 +01:00
Nick O'Leary edf9fe1050
Merge pull request #5154 from GogoVega/typedInput-node-filter
Node filter support for typedInput's builtin node
2025-06-06 10:50:31 +01:00
Nick O'Leary 843313185a
Apply suggestions from code review 2025-06-06 10:15:53 +01:00
Nick O'Leary 332fbae39e
Merge branch 'dev' into feature/export-module-info-2 2025-06-06 10:07:32 +01:00
Nick O'Leary 1d9b4de8d5
Merge branch 'master' into fix-5133 2025-06-06 09:45:09 +01:00
GogoVega a224b692f7
Type guard for null, undefined and empty value 2025-06-04 19:47:47 +02:00
GogoVega 7a8d0abd59
Node filter support for typedInput's builtin node 2025-06-04 18:38:36 +02:00
Gauthier Dandele 3cf77f8a77
Merge branch 'dev' into major-version-and-link 2025-06-03 18:02:17 +02:00
Nick O'Leary 07e4933ed4
Fix linting 2025-06-03 16:57:36 +01:00
Nick O'Leary 66271c5e7d
Handle keyboard nav when updating suggestions 2025-06-03 16:57:36 +01:00
Nick O'Leary cc2ef506e1
Add node suggestion api to editor and apply to typeSearch 2025-06-03 16:57:36 +01:00
Nick O'Leary 30215b02ac
Merge branch 'master' into dev 2025-06-03 16:55:29 +01:00
Nick O'Leary bf1272e9ca
Merge pull request #5117 from node-red/5102-telemetry
Add update notification
2025-06-03 16:34:30 +01:00
GogoVega 26e58a53b7
Exclude internal properties from node definition 2025-06-02 14:26:41 +02:00
GogoVega 8b4759f3f8
Add msg and button to the node docs for a major update 2025-06-02 09:58:29 +02:00
GogoVega 143efce16b
Add the link icon (node docs) to the nodes tab 2025-06-02 09:56:24 +02:00
Mauricio Bonani 4439b6f851 Remove Internet Explorer hacks 2025-05-30 17:33:32 -04:00
Nick O'Leary 7cc2f05464
Update message catalogue 2025-05-13 14:05:56 +01:00
Nick O'Leary da79e70f9c
Show deprecated message if module flagged 2025-05-13 13:55:44 +01:00
Nick O'Leary b540a04105
Update consent wording 2025-05-09 14:25:13 +01:00
GogoVega f14c50c20c
Don't call `eventLog` anymore because it's handled in the queue 2025-04-28 21:47:35 +02:00
GogoVega 570dd1f5a4
Only install missing modules 2025-04-28 21:45:57 +02:00
GogoVega 75e37dc75f
Replace `installEverything` by `InstallAll` 2025-04-28 20:52:46 +02:00
GogoVega 222ab71f21
Add spinner + fix typos 2025-04-28 20:52:26 +02:00
GogoVega a81d6f3a89
Allow `core:manage-palette` action to auto install modules 2025-04-28 20:51:42 +02:00
Allan Oricil c0920aaa8a feat: tray's primary button function will no longer run when clicking anywhere in #red-ui-editor-shade 2025-04-28 15:38:13 -03:00
GogoVega 42af21c1a4
Improve `getModuleListForNodes` + fix typo 2025-04-28 20:37:26 +02:00
GogoVega cad93b3650
Add function docs 2025-04-28 20:37:07 +02:00
Nick O'Leary a113392b50
Merge pull request #4944 from GogoVega/truncate-debug-msg
Truncate long messages from the Debug Sidebar
2025-04-28 17:43:52 +01:00
Nick O'Leary 0f653ed7b2
Merge pull request #4945 from GogoVega/fix-4865
Support for a module with nodes and plugins in the palette
2025-04-28 17:21:14 +01:00
Nick O'Leary 71c85af147
Fix filtering node tab on palette-manager via action 2025-04-28 17:07:18 +01:00
Nick O'Leary 1289487079
Only offer to manage dependencies when theres a missing module identified 2025-04-28 16:39:29 +01:00
Nick O'Leary 2ab34b89e9
Fix linting again 2025-04-28 16:28:30 +01:00
Nick O'Leary cf2aab81f6
Fix linting error 2025-04-28 16:18:46 +01:00
Nick O'Leary 0f012a4465
Merge branch 'dev' into export-module-info 2025-04-28 16:11:14 +01:00
Nick O'Leary 7eb0e6bb51
Merge pull request #4955 from node-red/add-doc-annotation
Add a node annotation if the info property is set
2025-04-28 16:10:15 +01:00
Joe Pavitt 0be14f390f
Update packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2025-04-28 09:52:31 +01:00
Joe Pavitt fc42e9f083
Update packages/node_modules/@node-red/editor-client/locales/en-US/editor.json
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2025-04-28 09:52:25 +01:00
Joe Pavitt 214fe51a47
Update packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
2025-04-28 09:52:18 +01:00
Nick O'Leary 833687fd55
Merge pull request #5106 from node-red/5090-fix-label-action
Handle link nodes with show/hide label action
2025-04-25 17:44:16 +01:00
Nick O'Leary 3a3571b37e
Consolidate update widgets 2025-04-25 15:51:10 +01:00
Nick O'Leary 0d4854a079
Fix linting 2025-04-24 13:35:06 +01:00
Nick O'Leary 350ab52b99
Update consent message 2025-04-24 11:39:56 +01:00
Nick O'Leary 6220f990c4
Add update available widget 2025-04-23 17:35:58 +01:00
Nick O'Leary 86558126ab
Add telemetry settings to user settings dialog 2025-04-23 17:35:24 +01:00
Nick O'Leary 36f533f390
Add telemetry consent dialog 2025-04-23 17:34:52 +01:00
Nick O'Leary bd244027c6
Move 4.0 tour to archive and reset for 4.1 2025-04-23 17:33:38 +01:00
Nick O'Leary 9921f2d5ba
Add RED.popover.dialog api 2025-04-23 17:30:14 +01:00
Steve-Mcl 0a450b2207 updates monaco to latest. Includes fix for action widget sizing 2025-04-17 09:00:35 +01:00
Joe Pavitt a2cb730a52 Handle no info.downloads use case for custom catalogues 2025-04-15 17:11:25 +01:00
Joe Pavitt ea25406d00 Sort by downloads when doing a search of modules 2025-04-15 14:26:47 +01:00
Nick O'Leary b3ee7b4ca0
Merge pull request #5103 from joepavitt/hex-logo
Update the Node-RED logo to use the hex variant
2025-04-14 14:17:51 +01:00
Nick O'Leary debd71d1e1
Merge pull request #4922 from bonanitech/fix-sass-deprecation-warnings
Fix Sass deprecation warnings
2025-04-14 12:00:03 +01:00
Nick O'Leary 20fae98ecd
Merge branch 'master' into dev 2025-04-14 11:04:06 +01:00
Nick O'Leary 2c71e11fbf
Handle link nodes with show/hide label action 2025-04-14 10:36:51 +01:00
Nick O'Leary 71501dd6aa
Merge pull request #5088 from node-red/5084-bump-i18next
Bump i18next to 24.x and auto-migrate message catalog format
2025-04-14 10:07:02 +01:00
Joe Pavitt 9650ef2cbc Update the Node-RED logo to use the hex variant 2025-04-11 17:32:41 +01:00
Nick O'Leary a5383f4064
Bump i18next to 24.x and auto-migrate message catalog format 2025-03-24 17:38:21 +00:00
Nick O'Leary 5251e848b9
Properly handle scale factor in getLinksAtPoint for firefox 2025-03-24 16:34:01 +00:00
Nick O'Leary b8f0e13cd6
Merge branch 'dev' into export-module-info 2025-03-17 16:51:44 +00:00
Nick O'Leary 7285244e8d
Add user setting for showing the node info icon 2025-03-17 16:21:14 +00:00
Nick O'Leary ba7eec44fa
Add a node annotation if there info property set 2025-03-17 16:08:25 +00:00
Nick O'Leary 686efc4720
Merge branch 'master' into dev 2025-03-17 16:07:46 +00:00
Nick O'Leary a976f48be1
Merge pull request #5079 from node-red/5068-improve-error-object-debug
Improve debug display of error objects
2025-03-11 16:46:08 +00:00
Nick O'Leary 6a38808fbb
Merge pull request #5078 from node-red/5077-typedInput-border
Add a border to better distinguish typedInput type/option dropdowns
2025-03-11 16:07:48 +00:00
Nick O'Leary 5eea8b6b60
Improve debug display of error objects 2025-03-10 17:43:06 +00:00
Nick O'Leary af6e33d4ec
Add a border to better distinguish typedInput type/option dropdowns 2025-03-10 16:29:48 +00:00
Nick O'Leary 7e512c94fe
Merge pull request #5012 from GogoVega/fix-subflow-dialog
Fix undo of subflow color change not applying to instances
2025-03-10 15:51:33 +00:00
Nick O'Leary 336c73fd2a
Merge pull request #5073 from Rotzbua/chore_dompurify_flag
chore(editor): update `DOMPurify` flag
2025-03-06 09:43:11 +00:00
Nick O'Leary d847bce8b9
Merge pull request #5072 from node-red/5061-refresh-sidebar-on-lock-action
Refresh config node sidebar when changing lock state of a flow
2025-03-06 09:42:30 +00:00
Rotzbua 287c7f8da5
chore(editor): update `DOMPurify` flag
DOMPurify 2.1.0: Removed the SAFE_FOR_JQUERY flag (we are safe by default now for jQuery)
https://github.com/cure53/DOMPurify/releases/tag/2.1.0
2025-03-03 21:04:22 +01:00
Nick O'Leary f0d217e1c7
Merge pull request #5059 from node-red/update-drop-text
Update markdown drop-target appearance
2025-03-03 16:41:57 +00:00
Nick O'Leary ce23d89739
Refresh config node sidebar when changing lock state of a flow 2025-03-03 16:39:58 +00:00
Nick O'Leary 02d7d76d3b
Merge pull request #5061 from GogoVega/tab-config-category-disabled
Support for disabled categories in Sidebar Config
2025-03-03 16:39:02 +00:00
Rotzbua 263f6136e8
chore(editor)!: remove Internet Explorer polyfill
IE support was removed in node-red v3.
MS Edge does not use `msSaveBlob`.
2025-03-03 16:19:12 +01:00
GogoVega 6da890bf88
Manage badge locations with pure CSS + cleanup 2025-02-24 21:09:44 +01:00
GogoVega b8eeef182c
Add `changed` badge for category header + fix cropped badge 2025-02-24 21:09:11 +01:00
GogoVega 54e0de64a7
Add the `changed` badge for the config node 2025-02-24 21:08:43 +01:00
GogoVega 5d1fa49045
Support for disabled categories in sidebar config 2025-02-24 20:05:14 +01:00
Nick O'Leary 87b7fc69c7
Update markdown drop-target appearance 2025-02-24 16:51:51 +00:00