Skip to content

NWAC Mountain Forecast UI Update - #1279

Open
kevinherdez wants to merge 2 commits into
NWACus:mainfrom
kevinherdez:kevinherdez/NWACmtnweatherUIUpdates
Open

kevinherdez wants to merge 2 commits into
NWACus:mainfrom
kevinherdez:kevinherdez/NWACmtnweatherUIUpdates

Conversation

@kevinherdez

@kevinherdez kevinherdez commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

@rchlfryn got guidance that mobile should match the mobile web version of the mountain weather forecast as best as possible.

Main Changes

  • The original UI was more like the full mountain weather forecast that showed 48 hours of forecast with the extended snow level outlook. This has been trimmed down to 24 hours and the extended snow level outlook has been removed
  • The legends for snow totals, freeze/snow levels, and wind have been added
  • Weather Synopsis has been moved up to the top of the forecast but defaulted to being collapsed on load
  • Small but import change, I updated the identifier for the Weather and Extended Synopses so that we have analytics on how many people open them specifically for NWAC

Deviations from Web

  • I copied and added nwacWeatherWindow from web. However, that file uses TZDate() from @date-fns/tz. While we pull in date-fns-tz, it's an older version that does not contain that type. I replicated the intent of TZDate with what we had available to not bring in a new package so that we can release this OTA. As a part of the Expo 58 PR that's open I can add the package and make a 1:1 match of web
  • The weather forecast is showing the latest issuance from web instead of showing the earlier issuance before 6pm and the later issuance after. Since the early mountain weather forecasts are not tied to a forecast I decided to match the full mountain weather forecast here with what we showed and it seems to match up, but let me know if this isn't correct.

PR Lay out

  • I broke out the NWACWeatherTab code into separate files to make them easier to reason about. The first commit has all of the changes related to the UI changes, and the second commit has the new files.

Screenshots

Before full tab UI

Part 1 Part 2 Part 3 Part4
Before1 Before2 Before3 Before4

After full tab UI

Part 1 Part 2 Part 3
After1 After2 After3

Multi station

Before After
MultiStation Screenshot iPhone 18 Pro 11-18-2026 at 6 32 50 PM

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@kevinherdez
kevinherdez requested a review from rchlfryn November 19, 2026 02:34
@yuliadub

Copy link
Copy Markdown
Collaborator

Awesome work! Excited to see this refreshed weather look in the app!

Looking at this on my phone I was going to suggest doing aligning of some of the column elements, but @rchlfryn let me know what you think, I am usually UX challenged :D

I think the starting potin for eve/Night should be the same for the columns (or maybe the end is the same, anyways just the alignment more clean
image

like so
image

similar comment for these
image

and these
image

}

if (metadata?.widget_config.stations?.token) {
if (incompleteQueryState(weatherStationsResult) || !weatherStations) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this wont load the forecast if the weather station api is down (but forecast has data), I think we have always done it that way but I had a thought maybe we want to load the forecast and print an error message for the weather stations? not a blocker just came to my mind so figured I'd share 😄

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