# Dashboard 2.0 Pre-Alpha Available

**URL:** <https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142>\
**Category:** General\
**Tags:** dashboard-2\
**Created:** [28 July 2023 13:39 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142 "2023-07-28T13:39:33Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 September 2023 08:21 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/101 "2023-09-05T08:21:43Z")

</div>

Do you have a fix for the blue-screen problem yet?

---

<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:** [5 September 2023 08:35 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/102 "2023-09-05T08:35:18Z")

</div>

That was fixed for me some time ago. Under what circumstance are you seeing it?

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [5 September 2023 08:37 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/103 "2023-09-05T08:37:16Z")

</div>

> [@TotallyInformation](#):
>
> Do you have a fix for the blue-screen problem yet?

Can't say I've been able to re-produce. As Colin mentioned, we did have an issue with that some time ago, but it did require complete clearance of Dashboard 2.0 nodes in the editor, and a re-install unfortunately.

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [5 September 2023 08:42 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/104 "2023-09-05T08:42:03Z")

</div>

> [@joepavitt](#):
>
> > As well as the display duration?
> 
> Not sure what you mean here?

on D1 we have the choice to display the data either in points or in time which I call "duration"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3ce6680c84536f1b49918db7c7b4a5b8938b7374.png)  
_in my dashboard I am on 24h display of measurements_  
I know that we can do all this by sending the node an object `msg.payload = {x: 10, y: 15}`, but for beginner access, as said above, it's good to have this type adjustment.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [5 September 2023 08:54 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/105 "2023-09-05T08:54:06Z")

</div>

Consider it added to the list: [Add Duration Option to Charts · Issue #173 · flowforge/flowforge-nr-dashboard · GitHub](https://github.com/flowforge/flowforge-nr-dashboard/issues/173)

Thanks for flagging

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [5 September 2023 09:05 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/106 "2023-09-05T09:05:52Z")

</div>

great 👍

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 September 2023 09:50 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/107 "2023-09-05T09:50:37Z")

</div>

> [@TotallyInformation](#):
>
> Do you have a fix for the blue-screen problem yet

I suspect you are referring to when node root is set. This is fixed here: [Fix dashboard not working when custom `httpNodeRoot` path is set by Steve-Mcl · Pull Request #167 · FlowFuse/node-red-dashboard · GitHub](https://github.com/flowforge/flowforge-nr-dashboard/pull/167)  
Unsure if that has been published to NPM yet though.

---

<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:** [5 September 2023 14:27 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/108 "2023-09-05T14:27:44Z")

</div>

Will there be a check to prevent the configuration of two ui-base nodes with the same Path? It gets rather confused when that is the case, not surprisingly.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [5 September 2023 15:32 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/109 "2023-09-05T15:32:42Z")

</div>

There certainly will, although likely some way off.

I had very ambitious plans with the `ui-base` node, which got put on hold (e.g. disabling the path setting) given the complexities with dynamic routes in ExpressJS which we use for routing.

---

<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:** [5 September 2023 15:42 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/110 "2023-09-05T15:42:09Z")

</div>

Is there a simple hack that would prevent multiple ui-base nodes for the moment? I imported a flow and ended up with two, and it took a little while to work out what was going on.

If not then just a heads up to all to watch out if you import a flow, make sure you do not end up with two.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [5 September 2023 16:06 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/111 "2023-09-05T16:06:59Z")

</div>

> [@Colin](#):
>
> If not then just a heads up to all to watch out if you import a flow, make sure you do not end up with two.

Curious where you imported from? I hadn't anticipated flows being published/available for importing just yet (but it's nice to see that it is!)

Where would you recommend putting such a warning? Open to suggestions based on where you've gone for your own information gathering.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 September 2023 16:12 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/112 "2023-09-05T16:12:26Z")

</div>

Joe, IIRC, the config node should recognise it has a duplicate and set `noerr` to alert the NR editor of an issue. Then when the user attempts to deploy, they will get a warning and the option to click a button to reveal ill configured nodes.

EDIT: ok, so that is how the function node does it. In the default object, there is a validated prop named `noerr` - that is set/cleared as required to indicate an error. The same mechanism can be employed in the ui-base.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 September 2023 16:22 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/113 "2023-09-05T16:22:04Z")

</div>

Here is how the MQTT node reveals a config node error...

### node highlights problem somewhere

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/9/b993c7c49e9a8a9a01d1273791d50fbcb087719d.png)

### deploy also flags an issue

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/f/cf8afea7b6a138ac63287e328a565c871c588761.png)

### Search for... button shows invalid nodes

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/7/579f639a2d04b990f104983ad2a61b95f0442b34.png)

### node reveals an issue with a config

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/05488c4780f39f7b1455efd069ea48ad58da3ce3.png)

### opening the config reveals the issue

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/1/81e313888c6e9e966d6b43ccb57c264e80bb8a01.png)

---

<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:** [5 September 2023 16:26 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/114 "2023-09-05T16:26:01Z")

</div>

> [@joepavitt](#):
>
> Curious where you imported from

I imported the flow in this issue [Issue: Button do not send a topic after deployment · Issue #170 · FlowFuse/node-red-dashboard · GitHub](https://github.com/flowforge/flowforge-nr-dashboard/issues/170)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 September 2023 19:13 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/115 "2023-09-05T19:13:49Z")

</div>

> [@Colin](#):
>
> Under what circumstance are you seeing it?

> [@joepavitt](#):
>
> Can't say I've been able to re-produce.

As I shared before I think.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc32b5c962a28ec2dd8866f775ded3cb3944fc3f.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/7/17b0f64bff1ab5b4f592170dfc7c8b4467fb95b2.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/b/3badf41fab6db065216b916d253cd66fef3ee15d.png)

Which is because `httpNodeRoot` is set and your link to the [Socket.IO](http://Socket.IO) client library has ignored it.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 September 2023 19:15 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/116 "2023-09-05T19:15:08Z")

</div>

> [@Steve-Mcl](#):
>
> I suspect you are referring to when node root is set. This is fixed here: [Fix dashboard not working when custom `httpNodeRoot` path is set by Steve-Mcl · Pull Request #167 · flowforge/flowforge-nr-dashboard · GitHub](https://github.com/flowforge/flowforge-nr-dashboard/pull/167)  
> Unsure if that has been published to NPM yet though.

Sorry, I replied before reading this Steve. No it has not yet been published.

Incidentally, the link from the sidebar also ignores it so hopefully that is fixed as well. 🙂

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 September 2023 19:24 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/117 "2023-09-05T19:24:12Z")

</div>

> [@joepavitt](#):
>
> I had very ambitious plans with the `ui-base` node, which got put on hold (e.g. disabling the path setting) given the complexities with dynamic routes in ExpressJS which we use for routing.

Ah, that brings back memories! Bad ones!! I faced exactly the same issues developing uibuilder.

Roughly speaking, uibuilder does 3 things related to this.

1. It keeps a separate record of all of the routers and their paths in an object. This gets round the issues of ExpressJS being utterly rubbish at that.
2. It publishes an API endpoint that lets the editor query what URL paths have already been used. This is, of course, complicated by the fact that you may have them in 2 places. For deployed nodes and for undeployed ones. uibuilder keeps track of both.
3. When copy/pasting or importing flows that contain a uibuilder node, the pasted node automatically blanks the URL path, putting the node in error so that users see something needs to be done.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [6 September 2023 19:48 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/118 "2023-09-06T19:48:15Z")

</div>

Dashboard v0.4.0  
Anyone noticed that the chart data line often overshoots the actual data point?  
(The points are positioned at the correct value)

![chart](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/b/abd19ef9c4b08e132b9ff064b4b87ac343b07cc2.jpeg)

```auto
[{"id":"3ae226c1cdb40ba0","type":"ui-chart","z":"51a81bf279dcf161","group":"72d0d297dc80bc0f","name":"","label":"chart","order":6,"chartType":"line","xAxisType":"linear","width":"14","height":"8","className":"","x":610,"y":220,"wires":[[]]},{"id":"ae966f9fe2e16c8c","type":"inject","z":"51a81bf279dcf161","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":220,"y":220,"wires":[["c2acca6d1833d5d7"]]},{"id":"c2acca6d1833d5d7","type":"function","z":"51a81bf279dcf161","name":"function 1","func":"msg.payload = Math.floor(Math.random() * (100 - 50 + 1)) + 50\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":420,"y":220,"wires":[["3ae226c1cdb40ba0"]]},{"id":"72d0d297dc80bc0f","type":"ui-group","name":"My group","page":"d3491e273d04f272","width":"15","height":"8","order":"","disp":true},{"id":"d3491e273d04f272","type":"ui-page","name":"Test","ui":"052a612d0e57bc06","path":"/","layout":"grid","theme":"792775d090ad7f74"},{"id":"052a612d0e57bc06","type":"ui-base","name":"UI Name","path":"/dashboard"},{"id":"792775d090ad7f74","type":"ui-theme","name":"mytheme","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"}}]

```

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [6 September 2023 19:54 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/119 "2023-09-06T19:54:15Z")

</div>

Odd indeed! Wonder if this is a Chart.js v4 issue?

Not entirely sure we can do anything about that? (maybe change the line thickness?)

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [6 September 2023 19:59 UTC](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142/120 "2023-09-06T19:59:19Z")

</div>

> [@Steve-Mcl](#):
>
> maybe change the line thickness?

Thinner lines do look much better IMO, like the lines in my Grafana charts (currently 1pt)

![chart](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e38df9c7e3ac93e65edb4af9a5aa31a8376c192d.jpeg)

[Previous page](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142.md?page=5)

[Next page](https://discourse.nodered.org/t/dashboard-2-0-pre-alpha-available/80142.md?page=7)
