-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI Gauge - Dynamic Properties Support #1238
Conversation
icon () { | ||
return this.props.icon?.replace(/^mdi-/, '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced return this.props.icon?.replace(/^mdi-/, '')
from return this.getProperty('icon')
as material icon maker is not being used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as material icon maker is not being used
It is. Users can pass in mdi-<icon>
or <icon>
directly and we should support that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it currently seems to support both formats. Stripping the 'mdi-' prefix seems to have no effect on the outcome. Tested with only a couple of icons but proved the point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joepavitt @cstns
To be more clearer this dynamic icon only supports "Half Gauge" and "3/4 Gauge" and the functionality is already implemented in UIGaugeDialog.vue
which is a child component comes under the UIGauage.vue
therefore I used icon ()
computed property to fetch dynamic icon changes
@@ -1,8 +1,6 @@ | |||
<template> | |||
<ui-gauge-tile v-if="props.gtype === 'gauge-tile'" :id="id" :props="props" :value="value" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replaced conditional gauge type from dynamic component except 3/4 and half as doesn't support for dynamic component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all gauge types seem to be reacting to dynamic prop changes. What do you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took all three "ui-gauge-battery", "ui-gauge-tank" and "ui-gauge-dial" into one dynamic component Vue inbuilt element
just to reduce few lines of codes and to avoid v-else-if
as component
element handles them naturally but couldn't include ui-gauge-dial
to that as it looses reactivity and didn't get rendered properly
return this.props.gstyle | ||
}, | ||
updateOn () { | ||
return `${this.segments} ${this.gaugeStyle} ${this.min} ${this.max}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check for changes in segments, gauge styles, minimum values and maximum values and watching for changes in line 100
this.resize() | ||
this.update(val) | ||
}, | ||
updateOn () { | ||
this.update(this.value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
watching for changes as https://github.com/FlowFuse/node-red-dashboard/pull/1238/files#r1732422011 and update the gauge ui
I wouldn't expect the gauge to reset on each dynamic property message being sent, I suspect this is because we're storing the data into the client-side vuex store on every message received, when in actual fact, we should only store if a |
@joepavitt, |
You're not saving any of this data server-side, so a refresh completely clears any dynamic properties. Just realised this is also a problem in #1224 too - please fix both ASAP Please see:
For examples |
I will look look into this |
@joepavitt I just pushed the fixes after doing some manual testings. You can review and merge |
800bf46
to
7afa023
Compare
…lesser than the existing once
Trying to change the payload, _after_ setting `segments`, and sometimes just setting `segments` at all does seem to break the gauge. Hi Joe, I wasn’t able to recreate the exact issue you mentioned, but I did find another related issue with segment rendering. When setting fewer segments than the existing ones, the colours don’t map correctly because the previous SVG path nodes aren’t being cleared. This might be contributing to the behaviour you observed. The applied a fix is here 28953b9 and ready for review |
icon () { | ||
return this.props.icon?.replace(/^mdi-/, '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it currently seems to support both formats. Stripping the 'mdi-' prefix seems to have no effect on the outcome. Tested with only a couple of icons but proved the point
@@ -1,8 +1,6 @@ | |||
<template> | |||
<ui-gauge-tile v-if="props.gtype === 'gauge-tile'" :id="id" :props="props" :value="value" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all gauge types seem to be reacting to dynamic prop changes. What do you mean?
.data(segments) | ||
.enter() | ||
.append('path') | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
force adding a gauge without any segments throws an error in the console, check line 260
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<dt class="optional">max <span class="property-type">number</span></dt> | ||
<dd>Change the maximum value the gauge supports</dd> | ||
<dt class="optional">prefix <span class="property-type">string</span></dt> | ||
<dd>Change the text rendered after the Gauge's value</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this mean to say "before" or "above? (it is the exact same text as the suffix
has
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected
<li><code>Array<{color: String, from: Number}></code></li> | ||
</ul> | ||
</dd> | ||
<dt class="optional">gstyle <span class="property-type">see detail</span></dt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be gtype
?
And what is gstyle
/ where is that documented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should be gtype and documented gstyle
<dt class="optional">max <span class="property-type">number</span></dt> | ||
<dd>Change the maximum value the gauge supports</dd> | ||
<dt class="optional">prefix <span class="property-type">string</span></dt> | ||
<dd>Change the text rendered after the Gauge's value</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this state "only applicable to for 3/4 and Half gauges"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, also "gstyle", "units" and "icon". Updated them as well
<dt class="optional">prefix <span class="property-type">string</span></dt> | ||
<dd>Change the text rendered after the Gauge's value</dd> | ||
<dt class="optional">suffix <span class="property-type">string</span></dt> | ||
<dd>Change the text rendered after the Gauge's value</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this state "only applicable to for 3/4 and Half gauges"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you're correct. I've corrected it in the helper documentation
description: Text shown above the gauge, labelling what the gauge is showing. | ||
dynamic: true | ||
Prefix: | ||
description: Text to be added _before_ the value in the middle of the gauge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this state "only applicable to for 3/4 and Half gauges"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you're correct and also "Style", "Units" and "Icon".
I've updated them in the markdown
description: Text to be added _before_ the value in the middle of the gauge. | ||
dynamic: true | ||
Suffix: | ||
description: Text to be shown _after_ the value in the middle of the gauge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this state "only applicable to for 3/4 and Half gauges"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, updated
</ul> | ||
</dd> | ||
<dt class="optional">min <span class="property-type">number</span></dt> | ||
<dd>Change the minimum value the gauge supports</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need to mention "Not used by tile gauge"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<dt class="optional">min <span class="property-type">number</span></dt> | ||
<dd>Change the minimum value the gauge supports</dd> | ||
<dt class="optional">max <span class="property-type">number</span></dt> | ||
<dd>Change the maximum value the gauge supports</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need to mention "Not used by tile gauge"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned above we may need to conditionally show the range except the "Tile Gauge" type it we mention it here
demo flow for demonstrated issues: in here
[{"id":"a774e60fc7557ac3","type":"inject","z":"f80624abfd69b02e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"1","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"(\t $minimum := 1;\t $maximum := 10;\t $round(($random() * ($maximum-$minimum)) + $minimum, 0)\t)","payloadType":"jsonata","x":1290,"y":160,"wires":[["31ecdd62ca8e9de5","f9d9c480108b9fd1"]]},{"id":"4f5fa3becff2aa28","type":"inject","z":"f80624abfd69b02e","name":"","props":[{"p":"ui_control.label","v":"fault","vt":"str"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"fault","x":1300,"y":200,"wires":[["f9d9c480108b9fd1"]]},{"id":"1ce7443d3fd4fd67","type":"inject","z":"f80624abfd69b02e","name":"","props":[{"p":"ui_control.label","v":"normal","vt":"str"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"normal","x":1300,"y":240,"wires":[["f9d9c480108b9fd1"]]},{"id":"72038b62470fe699","type":"inject","z":"f80624abfd69b02e","name":"0","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"0","payloadType":"num","x":1350,"y":460,"wires":[["8d5573fdcfbc2e19"]]},{"id":"1cec13c1121203bc","type":"inject","z":"f80624abfd69b02e","name":"10","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"10","payloadType":"num","x":1350,"y":520,"wires":[["809ba7af9b89d494"]]},{"id":"05c1574c38c73f94","type":"inject","z":"f80624abfd69b02e","name":"dynamic","props":[{"p":"ui_update.suffix","v":"s","vt":"str"},{"p":"ui_update.prefix","v":"p","vt":"str"},{"p":"ui_update.gtype","v":"gauge-34","vt":"str"},{"p":"ui_update.icon","v":"cog","vt":"str"},{"p":"ui_update.units","v":"t","vt":"str"},{"p":"ui_update.gstyle","v":"needle","vt":"str"},{"p":"ui_update.title","v":"null","vt":"json"},{"p":"ui_update.min","v":"1","vt":"num"},{"p":"ui_update.max","v":"7","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":1450,"y":80,"wires":[["f9d9c480108b9fd1","809ba7af9b89d494","8d5573fdcfbc2e19","79afada40d824509"]]},{"id":"60ec1ead3443dc96","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":2,"width":"2","height":"2","gtype":"gauge-battery","gstyle":"needle","title":"b1 2x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#ea5353"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#5cd65c"}],"min":0,"max":"10","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1640,"y":160,"wires":[]},{"id":"5bbfaa0c7db976d7","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":25,"width":"6","height":"1","gtype":"gauge-battery","gstyle":"needle","title":"b2 6x1","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#ea5353"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#5cd65c"}],"min":0,"max":"10","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1640,"y":200,"wires":[]},{"id":"ee833568fa02539e","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":23,"width":"1","height":"5","gtype":"gauge-battery","gstyle":"needle","title":"b3 1x5","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#ea5353"},{"from":"1","color":"#ffc800"},{"from":"2","color":"#5cd65c"}],"min":0,"max":"3","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1640,"y":240,"wires":[]},{"id":"9b16accabd941cbf","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":21,"width":"3","height":"2","gtype":"gauge-battery","gstyle":"needle","title":"b4 3x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#f89696"},{"from":"1","color":"#333333"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1640,"y":280,"wires":[]},{"id":"7e3c4c44d22d6c97","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":19,"width":"2","height":"3","gtype":"gauge-battery","gstyle":"needle","title":"b5 2x3","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#373434"},{"from":"10","color":"#5cd65c"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1640,"y":320,"wires":[]},{"id":"627ee70aa40f9d2e","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":16,"width":"1","height":"3","gtype":"gauge-battery","gstyle":"needle","title":"b6 1x3","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"10","color":"#5cd65c"},{"from":"0","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1640,"y":360,"wires":[]},{"id":"151e14bd6bd71851","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":14,"width":"1","height":"2","gtype":"gauge-battery","gstyle":"needle","title":"b-mt 1x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#ea5353"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#5cd65c"}],"min":0,"max":"10","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1680,"y":460,"wires":[]},{"id":"fb375419af970c02","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":12,"width":"1","height":"2","gtype":"gauge-battery","gstyle":"needle","title":"b-full 1x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#ea5353"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#5cd65c"}],"min":0,"max":"10","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1680,"y":520,"wires":[]},{"id":"1834642199bfefc5","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":17,"width":"1","height":"3","gtype":"gauge-half","gstyle":"needle","title":"hg6 1x3","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1567,"y":401,"wires":[]},{"id":"659e3a1d476b82d3","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":26,"width":"2","height":"2","gtype":"gauge-tank","gstyle":"needle","title":"wl1 2x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":160,"wires":[]},{"id":"098d86debc681e97","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":24,"width":"6","height":"1","gtype":"gauge-tank","gstyle":"needle","title":"wl2 6x1","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":200,"wires":[]},{"id":"c49b3ac8be882616","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":22,"width":"1","height":"5","gtype":"gauge-tank","gstyle":"needle","title":"wl3 1x5","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"1","color":"#ffc800"},{"from":"2","color":"#ea5353"}],"min":0,"max":"3","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":240,"wires":[]},{"id":"837e0e6e57c02735","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":20,"width":"3","height":"2","gtype":"gauge-tank","gstyle":"needle","title":"wl4 3x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":280,"wires":[]},{"id":"701c3aaf70e55668","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":18,"width":"2","height":"3","gtype":"gauge-tank","gstyle":"needle","title":"wl5 2x3","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#050505"},{"from":"10","color":"#11ee2a"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":320,"wires":[]},{"id":"494753f30d793737","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":15,"width":"1","height":"3","gtype":"gauge-tank","gstyle":"needle","title":"wl6 1x3","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"7","color":"#ea5353"},{"from":"4","color":"#ffc800"},{"from":"0","color":"#5cd65c"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":360,"wires":[]},{"id":"94ad9c4dc58005a0","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":13,"width":"1","height":"2","gtype":"gauge-tank","gstyle":"needle","title":"wl-mt 1x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":460,"wires":[]},{"id":"cc36259a77a521a2","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":8,"width":"1","height":"2","gtype":"gauge-tank","gstyle":"needle","title":"wl-full 1x2","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":520,"wires":[]},{"id":"ceeb51344e07fd15","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":9,"width":"1","height":"1","gtype":"gauge-tank","gstyle":"needle","title":"wl-full 1x1","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1840,"y":580,"wires":[]},{"id":"2f2edbfec6f4a15e","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":10,"width":"1","height":"1","gtype":"gauge-tank","gstyle":"needle","title":"wl-mt 1x1","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1860,"y":500,"wires":[]},{"id":"7888499d196aad55","type":"ui-gauge","z":"f80624abfd69b02e","name":"","group":"5c9407416fba1d1b","order":11,"width":"1","height":"1","gtype":"gauge-tank","gstyle":"needle","title":"wl 1x1","units":"units","icon":"","prefix":"","suffix":"","segments":[{"from":"0","color":"#5cd65c"},{"from":"4","color":"#ffc800"},{"from":"7","color":"#ea5353"}],"min":0,"max":10,"sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":1850,"y":400,"wires":[]},{"id":"31ecdd62ca8e9de5","type":"junction","z":"f80624abfd69b02e","x":1410,"y":160,"wires":[["79afada40d824509"]]},{"id":"f9d9c480108b9fd1","type":"junction","z":"f80624abfd69b02e","x":1410,"y":240,"wires":[["2dd53643df28b205","1834642199bfefc5"]]},{"id":"2dd53643df28b205","type":"junction","z":"f80624abfd69b02e","x":1490,"y":240,"wires":[["60ec1ead3443dc96","5bbfaa0c7db976d7","ee833568fa02539e","9b16accabd941cbf","7e3c4c44d22d6c97","627ee70aa40f9d2e"]]},{"id":"8d5573fdcfbc2e19","type":"junction","z":"f80624abfd69b02e","x":1480,"y":460,"wires":[["151e14bd6bd71851","94ad9c4dc58005a0","2f2edbfec6f4a15e"]]},{"id":"809ba7af9b89d494","type":"junction","z":"f80624abfd69b02e","x":1480,"y":520,"wires":[["fb375419af970c02","cc36259a77a521a2","ceeb51344e07fd15"]]},{"id":"79afada40d824509","type":"junction","z":"f80624abfd69b02e","x":1730,"y":240,"wires":[["659e3a1d476b82d3","098d86debc681e97","c49b3ac8be882616","837e0e6e57c02735","701c3aaf70e55668","494753f30d793737","7888499d196aad55"]]},{"id":"5c9407416fba1d1b","type":"ui-group","name":"PR-1123","page":"868aaffa6da2e1ce","width":"6","height":"1","order":1,"showTitle":true,"className":"","visible":"true","disabled":"false"},{"id":"868aaffa6da2e1ce","type":"ui-page","name":"PR-1123","ui":"22ea43815413e748","path":"/page13","icon":"home","layout":"grid","theme":"c2ff5ba1f92a0f0e","order":1,"className":"","visible":"true","disabled":"false"},{"id":"22ea43815413e748","type":"ui-base","name":"base","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"navigationStyle":"default","titleBarStyle":"default"},{"id":"c2ff5ba1f92a0f0e","type":"ui-theme","name":"Default","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}] |
major issues to resolve:
|
Lastly, unable to clear dynamic values e.g.
This may not be a "this PR issue". So please assess and fix only if related to the new dynamic properties. If the issue is across all nodes and widgets, lets just raise an issue. EDIT: Initially, sending |
Fixed the above issues |
Description
Screen.Recording.2024-08-27.at.14.19.45.mov
Related Issue(s)
#1180
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label