NASA-IMPACT / veda-ui

Frontend for the Dashboard Evolution project
Other
25 stars 5 forks source link

Adjust rescale values for small/large numbers #1226

Open aboydnw opened 3 weeks ago

aboydnw commented 3 weeks ago

Known Issues:

  1. The UI isn't great if you are trying to edit rescale values for long numbers (small decimals or large numbers)
  2. When the rescale values are very small decimals (<0.01) then the UI doesn't function properly

image

Acceptance Criteria

snmln commented 3 weeks ago

Another issue Identified while working through the bug identified here: https://github.com/NASA-IMPACT/veda-ui/pull/1224#issuecomment-2444969653

When the values start to travers large decimal values the representation of the data changes from numeric to exponential:

Screenshot 2024-10-30 at 10 56 10 AM

We should nail down if we want this to be how we present the data value to end users.

aboydnw commented 1 week ago

Another thing that Sid caught that might be good to update if it's easy:

When we change the rescale values (e.g. 50 to 43) should it also get reflected at the bottom? Every time it shows 50 what we have defined in the mdx.

Image