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

**URL:** <https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087>\
**Category:** Dashboard\
**Created:** [13 May 2019 21:26 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087 "2019-05-13T21:26:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 May 2019 21:26 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/1 "2019-05-13T21:26:46Z")

</div>

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](https://github.com/node-red/node-red-dashboard/pull/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

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [14 May 2019 06:39 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/2 "2019-05-14T06:39:44Z")

</div>

If I'm correct then the [API](https://github.com/node-red/node-red-dashboard/blob/master/index.js) exposes now `theme properties` and `site sizes`  
Helpful addition for custom ui-widget development

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [15 May 2019 15:34 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/3 "2019-05-15T15:34:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wongnam](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wongnam/32/8531_2.png) [@wongnam](https://discourse.nodered.org/u/wongnam)\
**Post date:** [21 May 2019 05:18 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/4 "2019-05-21T05:18:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 May 2019 05:57 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/5 "2019-05-21T05:57:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [26 May 2019 16:28 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/6 "2019-05-26T16:28:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [27 May 2019 11:37 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/7 "2019-05-27T11:37:56Z")

</div>

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/](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

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/5b11f3bd336e2001986f00e4750f1111035d639d.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 May 2019 11:42 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/8 "2019-05-27T11:42:28Z")

</div>

Yeah - fix already in master - [https://github.com/node-red/node-red-dashboard/commits/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 ?

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [27 May 2019 16:00 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/9 "2019-05-27T16:00:25Z")

</div>

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](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/76ebb2955e3e7f0c0ddc0b0bbb85fadc722aeef5.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 May 2019 16:07 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/10 "2019-05-27T16:07:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [30 May 2019 11:31 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/11 "2019-05-30T11:31:14Z")

</div>

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](https://github.com/node-red/node-red-dashboard/issues/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

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 June 2019 18:30 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/12 "2019-06-24T18:30:45Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [6 August 2019 08:05 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/13 "2019-08-06T08:05:20Z")

</div>

Hi,

I've updated from 2.14 to 2.15.5.  
The ui-switch seems to be broken after updating, the true input doesn't work.

![db2155](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/997f412c441231ac7afcce4a34afa0c23256630b.png)

```auto
[{"id":"4861d5bb.68746c","type":"ui_switch","z":"1d3866f1.0e8e09","name":"","label":"greenhouse control","tooltip":"","group":"8bcf4352.7afe4","order":1,"width":0,"height":0,"passthru":false,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":370,"y":220,"wires":[["c5f16c41.2387c"]]},{"id":"c5f16c41.2387c","type":"debug","z":"1d3866f1.0e8e09","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":550,"y":220,"wires":[]},{"id":"6592697e.812898","type":"inject","z":"1d3866f1.0e8e09","name":"","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":240,"wires":[["4861d5bb.68746c"]]},{"id":"f5144e2e.25a0a","type":"inject","z":"1d3866f1.0e8e09","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":200,"wires":[["4861d5bb.68746c"]]},{"id":"8bcf4352.7afe4","type":"ui_group","z":"","name":"Control","tab":"1ef6b756.7d01a9","order":3,"disp":true,"width":"6","collapse":false},{"id":"1ef6b756.7d01a9","type":"ui_tab","z":"","name":"Greenhouse","icon":"dashboard","order":5}]

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [6 August 2019 11:19 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/14 "2019-08-06T11:19:30Z")

</div>

check the `Pass though msg if payload matches new state:` box

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [6 August 2019 11:41 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/15 "2019-08-06T11:41:31Z")

</div>

Thanks! I know that but I can't set it because I get an infinity loop. (The example I uploaded is simplified).  
As I said it works with v2.14.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [6 August 2019 12:22 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/16 "2019-08-06T12:22:45Z")

</div>

Without more information l don’t see how anyone can help

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 August 2019 12:50 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/17 "2019-08-06T12:50:08Z")

</div>

I think this was a change made to the way the switch works. To allow an input to switch it as well as allowing manual switching I think you have to set Pass through. You can solve the loop problem by adding an RBE node after the switch

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [6 August 2019 13:12 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/18 "2019-08-06T13:12:12Z")

</div>

I compared ui\_switch.js (v2.14-2.15.5)  
Only line 86 has been added:

```auto
if (!this.forwardInputMessages && this.storeFrontEndInputAsState) { return oldval; }

```

Sure there are workarounds but it would be great to keep compatibility to v2.14.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 August 2019 13:30 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/19 "2019-08-06T13:30:01Z")

</div>

Is there a comment in the commit for that?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 August 2019 13:32 UTC](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087/20 "2019-08-06T13:32:36Z")

</div>

I'll have a look later

[Next page](https://discourse.nodered.org/t/announce-dashboard-version-2-15-0-1-2-3-4-5/11087.md?page=2)
