Skip to content

add ui-gauge#50

Open
kd9lsv wants to merge 5 commits into
FlowFuse:mainfrom
kd9lsv:ui_gauge
Open

add ui-gauge#50
kd9lsv wants to merge 5 commits into
FlowFuse:mainfrom
kd9lsv:ui_gauge

Conversation

@kd9lsv

@kd9lsv kd9lsv commented Dec 24, 2024

Copy link
Copy Markdown
Contributor

Description

Adds UI-gauge to migration list.

Related Issue(s)

Resolves #26

Checklist

  • [Y] I have read the contribution guidelines
  • [Y] Suitable unit/system level tests have been added and they pass
  • [Y] Documentation has been updated
    • [N/A] Upgrade instructions
    • [N/A] Configuration details
    • [N/A ] Concepts
  • [ N/A] Changes flowforge.yml?
    • [N/A ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • [ N/A] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • [N/A] Includes a DB migration? -> add the area:migration label

if (node.seg2 !== '') {
node.segments[2].from = node.seg2
} else {
node.segments[2].from = node.max - (node.max - node.min) * 0.3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where does the 0.3 (and 0.4 above) come from?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default "optional" marks that are empty in the D1.0 Node. Those values are required for D2.0. 40% and 70% of the range of the default in D2.0 ranges (0,4,7,10). The D2.0 node doesn't have a granular transition setting for each color, it is each point the user defines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Node: UI Gauge

2 participants