Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Releases: bartbutenaers/node-red-contrib-ui-svg

Maintenance release v2.3.3

01 Sep 21:25
f10f2a3
Compare
Choose a tag to compare

Fix to make sure the databinding attributes are regenerated, when a new svg is being set dynamically via replace_svg (see issue)

Maintenance release v2.3.2

19 Aug 07:30
aa241e0
Compare
Choose a tag to compare

Don't show error logs in the Debug panel when enabling or disabling the SVG node via msg.enabled (see issue).

Maintenance release v2.3.1

08 Dec 21:04
a832807
Compare
Choose a tag to compare
  1. Fix for dashboard colors being used instead of custom specified colors (caused by new CSS tabsheet). Fix for issues #106 and #104.

  2. At right mouse click, the browser popup appeared instead of the custom context menu. Fix for issue #103.

  3. Fix of panzoom library not being loaded anymore, causing a.o. events handlers not to be called anymore. For for issue #105.

  4. To determine which input message caused an error, the message id is now added to the error text (see troubleshooting section):

    image

    Based on feature request #102.

Milestone 2.3.0 release

16 Oct 21:20
23dcac7
Compare
Choose a tag to compare
  1. An extra tabsheet has been added to allow the user to customize the CSS:

    image

    Note that the CSS will only be applied to the SVG in this node.

    Thanks to @Steve-Mcl for an in-depth code review and enhancement suggestions!

  2. Js event bubble fix: when an event handler is applied to a parent element, but the event (e.g. click) is received on a child element. Then the parent element handler should be called, i.e. the event should bubble upwards from the child element to the parent element.

  3. A foreignElement property (with value true) can be specified for command "add_element", when a foreign element needs to be created. In other words to create a standard HTML element, which means a non-SVG element.

  4. Replace svg attributes fix: when a "replace_svg" command is injected and attributes are specified for the "svg" tag, then those attributes should be used in the dashboard.

  5. It is now possible to trigger a Javascript event handler when an input message arrives:

    image

  6. When ``msg.topic` has value "custom_msg", then the payload format can be anything. Which means it does not need to contain a "command" or anything else, because the node will ignore the content of this message completely. Such messages can be used in combination with the "input msg" Js event handler (see previous point), to send data to the custom Js event handler code.

  7. Some single-click/double-click event handler issues from the previous version have been solved.

Maintenance release v2.2.4

30 Aug 20:53
1a494df
Compare
Choose a tag to compare

Extra option to avoid click events in case of a double-click event, for shapes that have both click and double-click handlers (see discussion on Discourse):

image

Maintenance release v2.2.3

30 Aug 20:47
4c39bb4
Compare
Choose a tag to compare
Bump version 2.2.3