Commit Graph
394 Commits
Author SHA1 Message Date
AirRocker 40fb29a080 fix vertical scroll freezing after content is rebuilt
The scroll cache in hazards, hourly and travel forecast is invalidated by
comparing element identity, but the lines element is persistent - a rebuild
only replaces its children - and displayHeight is a fixed value from css. Both
conditions stay false after the first measurement, so maxOffset keeps the
height of whatever content was measured first. When later content is taller,
the scroll clamps at the old offset and sits frozen there for the rest of the
screen's timing.

Invalidate the cache explicitly when the list is rebuilt, and reset
navBaseCount so new content scrolls from the top.

Invalidating alone would regress hazards: it refreshes every 60 seconds but a
long multi-alert scroll can run for several minutes, so rebuilding on every
refresh would restart it from the top and it would never reach the end. Each
display now also compares a signature of the content it is about to render and
skips the rebuild entirely when nothing changed, leaving an in-progress scroll
undisturbed. Hourly's signature includes the starting hour because its row
labels are derived from the current time.
2026-07-20 10:14:20 -05:00
Matt Walsh 3018c5ecbc fix no-data large icon url 2026-05-28 22:35:05 -05:00
Matt Walsh a5451e1779 update media query string parameters close #221 2026-05-28 18:31:30 -05:00
Matt Walsh 5f366c2b71 spc outlook styling and background portrait close #167 2026-05-17 22:32:13 -05:00
Matt Walsh 922cc21579 portrait spc additional data #167 2026-05-15 21:27:39 -05:00
Matt Walsh 24cb8cfc7b fix propigation of settings when changing modes #210 #188 #167 2026-05-11 14:12:51 -05:00
Matt Walsh c3764f566b portrait full screen sizing close #210 2026-05-11 14:00:26 -05:00
Matt Walsh 47b33988e6 css cleanup 2026-04-28 16:27:01 -05:00
Matt Walsh 5bbc032c5e radar portrait #167 2026-04-22 22:23:10 -05:00
Matt Walsh 0395e2cd08 portrait almanac #167 2026-04-22 21:36:29 -05:00
Matt Walsh 033bed96b9 Merge branch 'screen-enhance' of github.com:netbymatt/ws4kp into screen-enhance 2026-04-22 19:50:24 -05:00
Matt Walsh 5bbf487dd6 portrait extended forecast #167 2026-04-22 19:42:44 -05:00
Matt Walsh 8c4d04840d portrait local forecast #167 2026-04-20 16:25:43 -05:00
Matt Walsh 38d5132281 portrait regional forecast #167 2026-04-20 15:13:23 -05:00
Matt Walsh 0f1c12bf67 progress/menu #167 2026-04-20 14:21:32 -05:00
Matt Walsh cd2035490a portrait hourly graph #167 2026-04-19 22:14:30 -05:00
Matt Walsh 125490c158 portrait latest observations #167 2026-04-19 14:58:54 -05:00
Matt Walsh ad05f4c580 portrait current conditions #167 2026-04-19 14:39:59 -05:00
Matt Walsh e37c58a0ab split webpack builds 2026-04-18 14:03:06 -05:00
Matt Walsh 5adf74feee Merge branch 'main' into screen-enhance 2026-04-15 09:40:02 -05:00
Matt Walsh 62fbe1787f switch local forecast to mixed case for better readability and to match the latest captures from the late '00s 2026-04-14 08:52:36 -05:00
Matt Walsh 994c9240b8 shorten permalinks close #206 2026-04-13 16:19:26 -05:00
Matt Walsh 27d75ba62d current observations don't show like when the same close #207 2026-04-13 14:54:18 -05:00
Matt Walsh 63e089451d restructure wide/enhanced settings close #205 2026-04-13 14:36:15 -05:00
Matt Walsh a41b0da196 more generalized fix for mapclick enhanced timestamps close #203
moves changes made in 0b47cf79c1 to the mapclick processing for benefit of other mapclick calls
2026-04-09 12:18:56 -05:00
Matt Walsh 38d1455a4b fix custom text scroll 2026-04-09 11:29:49 -05:00
Matt Walsh 30ec847ed5 Hide cursor in kiosk
via @iapetusz
2026-04-09 11:22:36 -05:00
Matt Walsh d2bf8f3f99 fix radar tiles 2026-04-08 23:01:42 -05:00
Matt Walsh f4289e6329 Merge branch 'main' into screen-enahnce/magic-number-code 2026-04-08 22:56:20 -05:00
Matt Walsh 0b47cf79c1 don't overwrite timestamps when enhancing with mapclick 2026-04-08 22:41:42 -05:00
Matt Walsh dae5b20bc6 fix radar round/floor mismatch in calculations close #200 2026-04-08 11:39:25 -05:00
Matt Walsh 5dc214c6a5 filter station list upon receipt 2026-04-08 09:57:18 -05:00
Matt Walsh ec1169e07b redraw on entering/leaving enhanced close #198 2026-04-08 09:24:54 -05:00
Matt Walsh eee4519095 almanac #188 #196 #194 #193 2026-04-07 14:17:26 -05:00
Matt Walsh 38cdb46c85 enhance current weather, latest observations #188 #196 #193 #194 2026-04-07 13:50:37 -05:00
Matt Walsh e70639d7a6 local forecast enhanced-wide #188 #196 #193 #194 2026-04-07 10:38:12 -05:00
Matt Walsh 63d27d1a26 fix wide-enhanced radar tiles #188 #196 #193 #194 2026-04-06 16:53:11 -05:00
Matt Walsh 97ac0a1656 radar expanded, to do fix number of tiles 2026-04-06 16:41:03 -05:00
Matt Walsh 5fffc495ae regional map enhanced #188 #193 #196 2026-04-06 00:35:24 -05:00
Matt Walsh 9f6b90919c hourly enhanced #188 #195 #196 #193 #194 2026-04-05 23:58:50 -05:00
Matt Walsh 778b7f4456 almanac, current weather, extended forecast, hazards #193 2026-04-04 11:36:31 -05:00
Matt Walsh 443114f555 Add new screen enhancement settings close #195 2026-04-04 11:09:21 -05:00
Matt Walsh 15b68eba2f fix extended forecast day names close #190 2026-03-26 14:44:13 -05:00
Matt Walsh 678f04fe42 fix extended forecast preload close #189 2026-03-16 12:31:27 -05:00
Matt Walsh 245e9daf9c update eslint 2026-03-09 13:11:31 -05:00
Matt Walsh ec65025ae2 search for 4-letter stations on regional maps close #187 2026-03-06 15:55:28 -06:00
Matt Walsh d5b7c6630a re-instate custom text scroll close #186 2026-03-01 10:03:52 -06:00
Matt Walsh 8c83736aba remove rss feeds close #184 2026-02-16 21:30:13 -06:00
Matt Walsh 69d2b0f40b more robust backfilling of current weather properties close #177 2026-02-16 20:40:13 -06:00
Matt Walsh 0d9c445919 Fix hourly graph y axis labels close #176 2026-01-22 22:12:32 -06:00