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

Adelle/wl station name updates #3174

Merged
merged 7 commits into from
Oct 21, 2024
Merged

Conversation

Adelle-Pitsas
Copy link
Contributor

@Adelle-Pitsas Adelle-Pitsas commented Oct 11, 2024

This PR addresses latest tasks in #2860

  • Alphabetizes station names in sensor selection dropdown on sensor page
  • Adds long name to sensor selection dropdown. See screenshot.
  • Adds NAVD88 as an option for datum changed (it is disabled currently since we don't have it configured in offsets yet). See screenshot.
  • Changes Feet to ft in sidebar (to address the case of 1 Feet)
Screenshot 2024-10-11 at 1 09 42 PM

@@ -51,7 +57,7 @@ export const WaterLevelSensorSelector = ({ sensors }) => {
style={{ border: "1px solid black", borderRadius: "7px" }}
>
<DropdownToggle color={"#FFFFFF"} caret={true}>
{sensorId}
{sensor.id} {sensor.properties.station_name ? `- ${sensor.properties.station_name}` : null}
Copy link
Member

Choose a reason for hiding this comment

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

We might want to make a function to help standardize this formatting. Then we would only have one place to change as opinions on how they are displayed change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds like a plan!

@Adelle-Pitsas Adelle-Pitsas marked this pull request as ready for review October 21, 2024 17:53
@Adelle-Pitsas Adelle-Pitsas merged commit d75a186 into main Oct 21, 2024
7 of 8 checks passed
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