[BHP1-1573] Fix Table Shader Rounding#230
Conversation
|
When I tried testing this, I wasn't able to modify the Custom Settings. I first started from a fresh build and an incognito app, and when I tried typing into the "Surface Fire Spread" a decimal it would immediately revert back to 0. Then I used the arrows and I was able to increase it to 1. Closing the Settings, then going back and changing it to another value using the arrows didn't stick. Let me know if this should be addressed in a separate ticket. |
|
Shanna and I saw this a last time we tried to update the decimal precision, try doing it twice by typing into the input box. We'll need separate ticket for this bug. |
|
The issue was because there was a mismatch in the path used for app db state. Fixed and also removed using an atom from the input field and use default-value instead (more idiomatic) |


Purpose
Related Issues
Closes BHP1-1573
Submission Checklist
BHP1-### <title>)clj-kondo --lint components/**/src bases/**/src projects/**/src)clojure -M:compile-cljs)Testing
Backing Rate of Spread (ch/h)
The true value of the cell was actually 0.19342908711679715. The old logic did not round this number and flagged it for shading, but what is displayed is 0.2 on the results, so this causes confusion.
Screenshots