Release 1.0.1: Percentage map, list switch feature and NaN error fix #289
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR covers issues #285, #286, and #290. It includes the following features: adding percentage numbers to the map tips, switching the practice list when users switch between present and predicted data, and fixing the NaN display for some percentage calculations.
How to Test
Turn on the '2024-2031 Prediction' switch. You should see any practices that are not available in predicted years (such as Forest Management Practice Design) disappear from the map. The map and tables will update to reflect these changes.
Repeat steps 1 and 2 for the predicted data. No NaN value should appear in any tables or maps.
Turn the '2024-2031 Prediction' switch off and ONLY select practices that are not available in predicted years. Then turn the switch on, and you should see 'Total' being automatically selected in the practice list because all other practices have been removed.