Skip to content
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

Issue 296 field units #326

Merged
merged 11 commits into from
Nov 12, 2024
Merged

Issue 296 field units #326

merged 11 commits into from
Nov 12, 2024

Conversation

lstillwe
Copy link
Contributor

This PR adds a section to the settings panel to set unit of measurement to metric (default) or imperial.
The changes to the setting should mainly be visible in the legends and the ADCIRC raster settings functionality.
The units settings are persistent and will survive web page refresh.
One thing to note is that if the user switches between the metric and imperial settings, new default styles will be set for either one. All previously set ADCIRC raster setting will be lost and have to be reset.

@PhillipsOwen
Copy link
Collaborator

PhillipsOwen commented Nov 12, 2024

first review notes:

  • (since fixed) i see there is a console log outputting imperial/metric in units.js:51
  • (since fixed) color map slider is throwing a warning (color-map-slider.js:243). Invalid prop value supplied to ForwardRef(Slider)
  • Chart units arent changing
  • units dont seem to be changing on the hurricane icon tooltips

@PhillipsOwen PhillipsOwen self-requested a review November 12, 2024 19:22
Copy link
Collaborator

@PhillipsOwen PhillipsOwen left a comment

Choose a reason for hiding this comment

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

looks good!

@PhillipsOwen PhillipsOwen merged commit 5dd4801 into main Nov 12, 2024
@PhillipsOwen PhillipsOwen deleted the issue-296-field-units branch November 12, 2024 19:25
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.

2 participants