[Announce] Dashboard Version 2.15.0, 1, 2, 3, 4, 5

Just a few tiny updates and fixes this time, so small you may not notice or need them.

Enhancements

  • Allow ui_chart to have many more options set by control message, see config-fields.md
  • Allow ui.middleware in settings.js to specify middleware for use with dashboard endpoint. See PR #209 for example usage.

Fixes

  • Ensure msg.enabled applies to all themes. Issue #481
  • Ensure theme applies to popup dialog alerts also.
  • Ensure slider only sends on mouse up when in that mode. Issue #490
3 Likes

If I'm correct then the API exposes now theme properties and site sizes
Helpful addition for custom ui-widget development

2 Likes

And now have released 2.15.1 and .2 with some small fixes to issues raised

Fixes

  • Fix legend being visible when it should not be. Issue #494
  • Fix ui_text_input time mode to accept and passthrough input correctly. Issue #495
  • Fix theme to better handle new ui_list node switch styles.
  • Fix built in fa-icons font paths

Hi,

After I upgraded it to the latest version, but I want to try some things on the older version eg 2.14.0. How to return to the older version.
Is there a wiki to guide this? Sorry if this topic is already in the forum.

Thank you.

Same as any npm package npm i node-red-dashboard@2.14.0

And now with more fixes as per below.... particular thanks to @wongnam for flushing out so many wrinkles.

2.15.3: Maintenance Release

Enhancements

  • Let ui_template use full screen editor (when used with NR 1.0)

Fixes

  • Fix slider css so numbers stay visible when in "on release only" mode
  • Fix switch to show correct state for late connecting clients. Issue #497
  • Fix button to show correct state for late connecting clients. Issue #499
  • Fix sidenav to ensure colour picker is behind it. Part of issue #492
  • Better contrast for sidebar menu buttons to work across themes. Issue #500
  • Revert colour picker to its default design with colour + lightness, add square option, and fix cursor. Issue #502
  • Fix slider discrete mode to align better, blend theme better and not hide thumb. Issue #503
  • Fix button to return to original colour on loss of focus. Issue #504

Chart and gauge editors have style issue

Welcome to Node-RED

27 May 13:33:32 - [info] Node-RED version: v1.0.0-beta.2
27 May 13:33:32 - [info] Node.js version: v10.14.0
27 May 13:33:32 - [info] Windows_NT 10.0.17134 x64 LE
27 May 13:33:33 - [info] Loading palette nodes
27 May 13:33:35 - [info] Worldmap version 1.5.39
27 May 13:33:35 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
27 May 13:33:35 - [info] Dashboard version 2.15.3 started at /ui
27 May 13:33:35 - [info] Settings file : \Users\endele.node-red\settings.js
27 May 13:33:35 - [info] HTTP Static : E:\nrs
27 May 13:33:35 - [info] Context store : 'default' [module=localfilesystem]
27 May 13:33:35 - [info] User directory : \Users\endele.node-red
27 May 13:33:35 - [info] Server now running at http://127.0.0.1:1880/admin/
27 May 13:33:35 - [info] Active project : TestAndDo
27 May 13:33:35 - [info] Flows file : \Users\endele.node-red\projects\TestAndDo\flow.json

Yeah - fix already in master - https://github.com/node-red/node-red-dashboard/commits/master
Which of course I spotted 5 mins after publishing it.

Any more wrinkles anyone can see before I push 2.15.4 ?

1 Like

Sorry if I'm late but
Switch node editor exposes Icon customizing fields if default icon is selected. By filling them with data and closing editor, nothing stored. Nothing really broken also but not correct behavior from the user perspective.

If you change the Icon option to custom and then back to default, the customizing option fields will be hidden, which they should be for initial state I think.

image

nice one - that's exactly the sort of thing... Thanks

Version 2.15.4 released... hopefully little bits now mopped up

Enhancements

  • Add CSS variable names for main theme colours to make user customisations easier

Fixes

  • Re-fix switch to not visibly switch when set to show input not output. Issue #506
  • Fix colour swatch widths in ui_chart and ui_gauge.

Note: For users creating their own ui_templates the following CSS variable names are now available
to help pick up the theme colours.

  • --nr-dashboard-pageBackgroundColor
  • --nr-dashboard-pageTitlebarBackgroundColor
  • --nr-dashboard-groupBackgroundColor
  • --nr-dashboard-groupTextColor
  • --nr-dashboard-groupBorderColor
  • --nr-dashboard-widgetBackgroundColor
  • --nr-dashboard-widgetTextColor
  • --nr-dashboard-widgetBorderColor
1 Like

2.15.5: Maintenance Release

Quite a few wrinkles mopped up - thanks to all of you for reporting them, and one extra... We are adding the compression middleware by default to try to speed up loading times... let us know if you think it makes things worse. So far it looks good - but I can't test all use cases...

Enhancements

  • Add compression middleware by default to speed up loading. Thanks @zyrorl

Fixes

  • Fix legend to keep items hidden when new data arrives. Issue #507
  • Re-re-fix switch to not show correct icon despite passthru, and toggle output correctly. Issue #506
  • Make Dialog and Toast be more consistent
  • Fix odd gauge behaviour when in donut mode
  • Fix UI redraw (not redrawing when changing tabs). PR #508
  • Fix vertical slider in only on release mode
  • Let webfont loader be async to not delay page load when offline, and fail silently
  • Fix Datepicker to honour Site date format
  • Tweak passthrough option wording to try to match what actually happens
  • Fix text-input to only send one message when using tab key to move fields