Dashboard 1.0 Migration Scripts
Description
Thought: could we provide a form/service where users upload their Dashboard 1.0 flow.json, and in return we provide an auto-parsed flow.json which is our best attempt at re-producing that flow for Dashboard 2.0.
In most cases, variables are the same, and we need to write a detailed migration guide (#212) anyway, so this could be a very powerful accompanying value.
For users/companies with extensive Dashboard 1.0 flows, this could be a golden nugget in persuading them to convert over.
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Have you considered how to cope with the use of Angular Filters for formatting the data as provided in the Value Format field in several of the D1 nodes?
I'll need to have some example of the filters that are supported by default.
We will never be able to get every use case working perfectly, but my hope is to at least get users 80% of the way, and save having to manually rewire and configure so many nodes that we have duplicated functionality for
A typical use case for Value Format might be
{{msg.data.temperature | number:1}}°
The same syntax can be used in the Label field.
I'm itching to try out Dashboard 2.0 and very sad that Dashboard 1 is no longer to be developed - though I was never very happy with the use of Angular. You asked about people with extensive Dashboards - quick look at my blog will show I've been building that up for years now and absolutely cannot abandon it. I'm pleased to see we'll be able to run the two side by side and build up DB2 in stages...
I'm itching to try out Dashboard 2.0 and very sad that Dashboard 1 is no longer to be developed - though I was never very happy with the use of Angular. You asked about people with extensive Dashboards - quick look at my blog will show I've been building that up for years now and absolutely cannot abandon it. I'm pleased to see we'll be able to run the two side by side and build up DB2 in stages...
same for me!
We are going to publish @flowfuse/node-red-dashboard-2-migration, subject to a couple of PR reviews. This will be a JS module, and a terminal cmd prompt that will convert (as a starting point) the pages and groups automatically to at least save the manual labour there. We'll be adding more migrations over time.