qconrad / intellistar-emulator

A web application that displays weather information in the same visual presentation as the cable headend unit Intellistar.
https://qconrad.github.io/intellistar-emulator/
MIT License
89 stars 66 forks source link

US Territory/Worldwide/Airport Support #44

Closed igtampe closed 9 months ago

igtampe commented 1 year ago

The current setup for weather doesn't allow for input of US territories which use different ISO Country Codes (PR, GU, Etc.). We added a field to specify your country code. This also means you can now generate a local on the 8s for anywhere worldwide.

For funsies, we also added airport code handling to broaden location ranges, for both IATA and ICAO codes.

There's also been some light touch ups on the code.

image New Settings Page with selector between Postal Code with added country code field, and Airport (IATA or ICAO), and more space for writing a message or greeting text.

image San Juan, PR's current conditions (00926:PR)

image A weather alert for Hagatna, Guam (96910:GU)

image 7 Day Outlook for Vancouver, Canada (V5K:CA)

image Radar of Washington Dulles (IAD or KIAD)

image Hello London Heathrow! (EGLL)

image Location Not Found alert on 404 (previously silent)


This probably should've been a few different branches/PRs, and may need some more light touch up on the styling.

qconrad commented 9 months ago

Good stuff!