Modern Apps git

← Modern-Apps.git

weather: drop Open-Meteo references and dedup loading spinners

Commit
b46c24fe0289b28afbd56034cdce99bff0936935
Author
vayun-mathur <[email protected]>
When
2026-10-07 20:57 UTC (1 month ago)
Parents
42a2b1e

Diff

library/ui/src/main/java/com/vayunmathur/library/ui/MaterialComponents.kt
diff --git a/library/ui/src/main/java/com/vayunmathur/library/ui/MaterialComponents.kt b/library/ui/src/main/java/com/vayunmathur/library/ui/MaterialComponents.ktindex 7e2d0b1f3f..3133479f5c 100644--- a/library/ui/src/main/java/com/vayunmathur/library/ui/MaterialComponents.kt+++ b/library/ui/src/main/java/com/vayunmathur/library/ui/MaterialComponents.kt@@ -1095,12 +1095,18 @@ fun Tab( /**  * Shared pull-to-refresh container using the M3 Expressive contained loading  * indicator (the spinner from the M2 era is gone).+ *+ * @param indicatorAlignment where the indicator sits. Default is the M3+ * top-center slot; pass e.g. [Alignment.TopCenter] with a top padding to+ * clear a floating bar the default would overlap.  */ @Composable fun PullToRefreshBox(     isRefreshing: Boolean,     onRefresh: () -> Unit,     modifier: Modifier = Modifier,+    indicatorAlignment: Alignment = Alignment.TopCenter,+    indicatorPadding: PaddingValues = PaddingValues(),     content: @Composable BoxScope.() -> Unit, ) {     val state = androidx.compose.material3.pulltorefresh.rememberPullToRefreshState()@@ -1110,10 +1116,14 @@ fun PullToRefreshBox(         modifier = modifier,         state = state,         indicator = {-            androidx.compose.material3.pulltorefresh.PullToRefreshDefaults.LoadingIndicator(-                state = state,-                isRefreshing = isRefreshing,-            )+            Box(+                modifier = Modifier.align(indicatorAlignment).padding(indicatorPadding),+            ) {+                androidx.compose.material3.pulltorefresh.PullToRefreshDefaults.LoadingIndicator(+                    state = state,+                    isRefreshing = isRefreshing,+                )+            }         },         content = content,     )
weather/src/main/java/com/vayunmathur/weather/data/SavedLocation.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/data/SavedLocation.kt b/weather/src/main/java/com/vayunmathur/weather/data/SavedLocation.ktindex 4c9fae0e98..7f2e7c3d76 100644--- a/weather/src/main/java/com/vayunmathur/weather/data/SavedLocation.kt+++ b/weather/src/main/java/com/vayunmathur/weather/data/SavedLocation.kt@@ -8,7 +8,7 @@ import androidx.room3.PrimaryKey  * search ([isCurrent] = false) or auto-tracked from the device location  * ([isCurrent] = true, single-row constraint enforced at the DAO level).  *- * [latitude] / [longitude] are what the Open-Meteo forecast endpoint accepts+ * [latitude] / [longitude] are what the bundle endpoint accepts  * directly. [name] / [country] are what the UI shows; for the current-device  * row [name] is left blank until reverse geocoding fills it in.  */
weather/src/main/java/com/vayunmathur/weather/data/WeatherCache.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/data/WeatherCache.kt b/weather/src/main/java/com/vayunmathur/weather/data/WeatherCache.ktindex 496cac81cd..229e78e683 100644--- a/weather/src/main/java/com/vayunmathur/weather/data/WeatherCache.kt+++ b/weather/src/main/java/com/vayunmathur/weather/data/WeatherCache.kt@@ -10,7 +10,7 @@ import androidx.room3.Entity  * Forecast and air quality are cached together under a single  * [fetchedAtEpochMs] so every piece of weather data for a location shares one  * "last updated" time and can't drift out of sync. [airQualityJson] is- * nullable because Open-Meteo's air-quality endpoint can be unavailable for a+ * nullable because air quality can be unavailable for a  * point even when the forecast succeeds.  *  * Coordinates are rounded to 4 decimals (≈11 m) before insertion so we don't
weather/src/main/java/com/vayunmathur/weather/domain/DateTimeFormat.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/domain/DateTimeFormat.kt b/weather/src/main/java/com/vayunmathur/weather/domain/DateTimeFormat.ktindex d5f9489512..b259d32332 100644--- a/weather/src/main/java/com/vayunmathur/weather/domain/DateTimeFormat.kt+++ b/weather/src/main/java/com/vayunmathur/weather/domain/DateTimeFormat.kt@@ -109,7 +109,7 @@ private fun parseUtcIsoToEpochSec(iso: String): Long? =         ?: runCatching { LocalDateTime.parse(iso.removeSuffix("Z")).toInstant(UtcOffset.ZERO).epochSeconds }.getOrNull()  /**- * Open-Meteo returns local-time ISO strings with no offset (e.g.+ * The bundle mapper emits local-time ISO strings with no offset (e.g.  * `2024-05-30T05:42`). Combine with `utc_offset_seconds` from the response to  * recover a true epoch, falling back to explicit-offset / `Z` strings.  */
weather/src/main/java/com/vayunmathur/weather/domain/MetricSeries.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/domain/MetricSeries.kt b/weather/src/main/java/com/vayunmathur/weather/domain/MetricSeries.ktindex ef4789b3bb..5dc9c4443d 100644--- a/weather/src/main/java/com/vayunmathur/weather/domain/MetricSeries.kt+++ b/weather/src/main/java/com/vayunmathur/weather/domain/MetricSeries.kt@@ -23,11 +23,11 @@ enum class WeatherMetric(@StringRes val title: Int) { }  /**- * The Open-Meteo `hourly=` variable name that backs each metric. Used by the+ * The bundle `hourly` variable name that backs each metric. Used by the  * map's grid-sampling query so the same measure shown in the graph can be  * shaded across the area.  */-val WeatherMetric.openMeteoHourlyVar: String+val WeatherMetric.bundleHourlyVar: String     get() = when (this) {         WeatherMetric.Temperature -> "temperature_2m"         WeatherMetric.FeelsLike -> "apparent_temperature"
weather/src/main/java/com/vayunmathur/weather/domain/SelectedData.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/domain/SelectedData.kt b/weather/src/main/java/com/vayunmathur/weather/domain/SelectedData.ktindex bdb77f274a..2b06386d4b 100644--- a/weather/src/main/java/com/vayunmathur/weather/domain/SelectedData.kt+++ b/weather/src/main/java/com/vayunmathur/weather/domain/SelectedData.kt@@ -16,7 +16,7 @@ import kotlin.math.sqrt  * sunrise/sunset ISO strings and the moon fields feed the UV + Sun + Moon  * blocks.  *- * Resolution prefers hourly data for a selected hour (Open-Meteo exposes+ * Resolution prefers hourly data for a selected hour (the bundle exposes  * apparent temp, humidity, dew point, wind, pressure, visibility and UV  * hourly), falls back to the matching day, and finally to `current`.  */
weather/src/main/java/com/vayunmathur/weather/domain/WmoCode.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/domain/WmoCode.kt b/weather/src/main/java/com/vayunmathur/weather/domain/WmoCode.ktindex dd6b514732..fb91bf9faa 100644--- a/weather/src/main/java/com/vayunmathur/weather/domain/WmoCode.kt+++ b/weather/src/main/java/com/vayunmathur/weather/domain/WmoCode.kt@@ -5,10 +5,9 @@ import com.vayunmathur.weather.R import com.vayunmathur.library.ui.R as UiR  /**- * Bucket the WMO weather codes Open-Meteo returns (0..99) into a handful of- * categories we have icons + labels for. The mapping follows- * https://open-meteo.com/en/docs#api_form table "Weather variable- * documentation → weather_code".+ * Bucket the WMO weather codes the bundle returns (0..99) into a handful of+ * categories we have icons + labels for. The code table follows the WMO+ * standard (No. 306, code table 4677).  *  * Use [forCode] from anywhere that needs a label / icon for a numeric code.  */
weather/src/main/java/com/vayunmathur/weather/domain/map/OmDomains.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/domain/map/OmDomains.kt b/weather/src/main/java/com/vayunmathur/weather/domain/map/OmDomains.ktindex 52a1e00672..85a5d0206d 100644--- a/weather/src/main/java/com/vayunmathur/weather/domain/map/OmDomains.kt+++ b/weather/src/main/java/com/vayunmathur/weather/domain/map/OmDomains.kt@@ -1,7 +1,7 @@ package com.vayunmathur.weather.domain.map  /**- * Grid geometry for an Open-Meteo spatial model, mirroring the relevant fields+ * Grid geometry for a spatial model, mirroring the relevant fields  * of `weather-map-layer/src/domains.ts`. A regular lat/lon grid: node `(j, i)`  * sits at `lat = latMin + dy*j`, `lon = lonMin + dx*i`, with the `.om` array  * stored `[ny, nx]`.
weather/src/main/java/com/vayunmathur/weather/domain/map/OmMapMetadata.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/domain/map/OmMapMetadata.kt b/weather/src/main/java/com/vayunmathur/weather/domain/map/OmMapMetadata.ktindex daaf2476a4..105effac30 100644--- a/weather/src/main/java/com/vayunmathur/weather/domain/map/OmMapMetadata.kt+++ b/weather/src/main/java/com/vayunmathur/weather/domain/map/OmMapMetadata.kt@@ -2,7 +2,7 @@ package com.vayunmathur.weather.domain.map  import com.vayunmathur.library.network.NetworkClient import com.vayunmathur.weather.domain.WeatherMetric-import com.vayunmathur.weather.domain.openMeteoHourlyVar+import com.vayunmathur.weather.domain.bundleHourlyVar import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.json.Json@@ -10,7 +10,7 @@ import kotlinx.serialization.json.Json /**  * Metadata for a spatial model, from  * `https://api.vayunmathur.com/data_spatial/<model>/latest.json` (P1 tiles- * passthrough; upstream is the Open-Meteo S3 bucket).+ * passthrough; upstream is the model-data S3 bucket).  *  * - [referenceTime] is the model run (drives the `.om` folder path).  * - [validTimes] are the hourly forecast steps (drive the time slider).@@ -33,7 +33,7 @@ data class OmMapMetadata(  /** The `.om` variable name backing [WeatherMetric]; identical to the JSON API name. */ val WeatherMetric.omVariable: String-    get() = openMeteoHourlyVar+    get() = bundleHourlyVar  private const val WIND_U = "wind_u_component_10m" private const val WIND_V = "wind_v_component_10m"
weather/src/main/java/com/vayunmathur/weather/network/AirQualityDto.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/network/AirQualityDto.kt b/weather/src/main/java/com/vayunmathur/weather/network/AirQualityDto.ktindex 26838f4fba..4a472fc534 100644--- a/weather/src/main/java/com/vayunmathur/weather/network/AirQualityDto.kt+++ b/weather/src/main/java/com/vayunmathur/weather/network/AirQualityDto.kt@@ -4,15 +4,14 @@ import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable  /**- * Subset of the air-quality response we use. Shape-origin: Open-Meteo's- * `/v1/air-quality` (now served mapped from the self-hosted `wx/v1/bundle`- * `aq` section).+ * Subset of the air-quality response we use, mapped from the self-hosted+ * `wx/v1/bundle` `aq` section.  *  * Provides US AQI (0..500 with 0..50 = good, 51..100 = moderate, …) plus  * tree/grass/weed/ragweed/birch/olive/mugwort/alder pollen concentrations  * (grains/m³). We collapse pollens into the standard three "categories"  * for display: grass, tree (= max of tree species), weed (= max of weed- * species). Open-Meteo returns nulls outside coverage areas.+ * species). The section is absent outside coverage areas.  */ @Serializable data class AirQualityResponse(val current: AirQualityCurrent? = null)
weather/src/main/java/com/vayunmathur/weather/network/GeocodingDto.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/network/GeocodingDto.kt b/weather/src/main/java/com/vayunmathur/weather/network/GeocodingDto.ktindex 1eb9156677..61316b4d72 100644--- a/weather/src/main/java/com/vayunmathur/weather/network/GeocodingDto.kt+++ b/weather/src/main/java/com/vayunmathur/weather/network/GeocodingDto.kt@@ -4,8 +4,8 @@ import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable  /**- * Self-hosted geocoding response (`GET /wx/v1/search?name=...`), shape 1:1- * with the Open-Meteo geocoding API it replaces.+ * On-device place catalogue response (`GeoDatabase.searchPlaces`), with the+ * same result fields city search has always shown.  */ @Serializable data class GeocodingResponse(val results: List<GeocodingResult> = emptyList())
weather/src/main/java/com/vayunmathur/weather/network/OpenMeteoDto.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/network/OpenMeteoDto.kt b/weather/src/main/java/com/vayunmathur/weather/network/OpenMeteoDto.ktindex e873f67a17..8d0dbdb2d2 100644--- a/weather/src/main/java/com/vayunmathur/weather/network/OpenMeteoDto.kt+++ b/weather/src/main/java/com/vayunmathur/weather/network/OpenMeteoDto.kt@@ -4,8 +4,8 @@ import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable  /**- * Subset of the forecast response we actually use. Shape-origin: Open-Meteo- * `/v1/forecast` (now served mapped from the self-hosted `wx/v1/bundle`).+ * Subset of the forecast response we actually use, mapped from the+ * self-hosted `wx/v1/bundle`.  *  * We always request: current weather + hourly arrays + daily arrays in metric  * units. Unit conversion for the UI happens at display time so swapping@@ -25,10 +25,10 @@ data class ForecastResponse( )  /**- * Minimal Open-Meteo `/v1/forecast` response used only to resolve the IANA- * time zone (and its current abbreviation) for a coordinate via- * `timezone=auto`. Requested with a single trivial variable since the endpoint- * rejects requests with no weather variables.+ * Minimal bundle envelope used only to resolve the IANA+ * time zone (and its current abbreviation) for a coordinate.+ * Requested with `fields=tz`, which returns the envelope with no weather+ * data at all.  */ @Serializable data class RegionTimezone(@@ -38,9 +38,9 @@ data class RegionTimezone( )  /**- * Minimal Open-Meteo `/v1/forecast` response used to show the current- * temperature next to a city-search result. Requests only `temperature_2m`- * so the per-result lookups stay cheap.+ * Minimal bundle response used to show the current+ * temperature next to a city-search result. Requests only the `current`+ * section so the per-result lookups stay cheap.  */ @Serializable data class CurrentTemperatureResponse(
weather/src/main/java/com/vayunmathur/weather/network/WxBundleMapper.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/network/WxBundleMapper.kt b/weather/src/main/java/com/vayunmathur/weather/network/WxBundleMapper.ktindex 9d1122424f..ddb5795461 100644--- a/weather/src/main/java/com/vayunmathur/weather/network/WxBundleMapper.kt+++ b/weather/src/main/java/com/vayunmathur/weather/network/WxBundleMapper.kt@@ -9,7 +9,7 @@ import kotlinx.datetime.toLocalDateTime  * [ForecastResponse]/[AirQualityResponse] types.  *  * Epoch→local-ISO formatting reproduces exactly the naive-local strings- * Open-Meteo sends today (`yyyy-MM-dd'T'HH:mm` hourly/current/sun/moon,+ * the domain layer consumes (`yyyy-MM-dd'T'HH:mm` hourly/current/sun/moon,  * `yyyy-MM-dd` daily) using the bundle's own `utcOffset` — so  * [com.vayunmathur.weather.domain.SelectedData] string-matching,  * `MetricSeries`, the [com.vayunmathur.weather.platform.precipitationNowcast]@@ -23,7 +23,7 @@ import kotlinx.datetime.toLocalDateTime  private fun epochToNaiveLocal(epochSec: Long, utcOffsetSec: Int): String {     // Shift by the location's offset, then format the wall clock — exactly-    // the naive-local strings Open-Meteo sends today.+    // the naive-local strings the domain layer consumes.     val ldt = Instant.fromEpochSeconds(epochSec + utcOffsetSec)         .toLocalDateTime(TimeZone.UTC)     val d = ldt.date
weather/src/main/java/com/vayunmathur/weather/platform/Precipitation.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/platform/Precipitation.kt b/weather/src/main/java/com/vayunmathur/weather/platform/Precipitation.ktindex a530efaf92..0437898bd0 100644--- a/weather/src/main/java/com/vayunmathur/weather/platform/Precipitation.kt+++ b/weather/src/main/java/com/vayunmathur/weather/platform/Precipitation.kt@@ -6,7 +6,7 @@ import com.vayunmathur.weather.domain.parseLocalIsoToEpochSec import com.vayunmathur.weather.network.Minutely15  /**- * Short-range precipitation nowcast built from Open-Meteo's 15-minute+ * Short-range precipitation nowcast built from the bundle's 15-minute  * [Minutely15] series. Returns a localized string like "Raining now",  * "Rain in ~30 min", or "No rain in the next 2 hours" — or null when there  * is no usable data.
weather/src/main/java/com/vayunmathur/weather/ui/ForecastColumn.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/ui/ForecastColumn.kt b/weather/src/main/java/com/vayunmathur/weather/ui/ForecastColumn.ktindex d57e1b19bb..c433b65bb1 100644--- a/weather/src/main/java/com/vayunmathur/weather/ui/ForecastColumn.kt+++ b/weather/src/main/java/com/vayunmathur/weather/ui/ForecastColumn.kt@@ -63,9 +63,15 @@ internal fun ForecastColumn(     val scrollState = rememberScrollState()      PullToRefreshBox(-        isRefreshing = state.refreshing,+        // No pull indicator on first load: the centered LoadingIndicator below+        // already covers it, and the two spinners stack. Refreshes still show it.+        isRefreshing = state.refreshing && forecast != null,         onRefresh = { actions.refreshAll(force = true) },         modifier = Modifier.fillMaxSize(),+        // Same spot as the first-load LoadingIndicator (TopCenter + 64.dp):+        // the default top-center slot overlaps the floating search bar.+        indicatorAlignment = Alignment.TopCenter,+        indicatorPadding = PaddingValues(top = 64.dp),     ) {         Column(modifier = Modifier.fillMaxSize().verticalScroll(scrollState)) {             MainSearchBar(
weather/src/main/java/com/vayunmathur/weather/ui/WeatherMapPage.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/ui/WeatherMapPage.kt b/weather/src/main/java/com/vayunmathur/weather/ui/WeatherMapPage.ktindex 57387e98bc..511cf1ac59 100644--- a/weather/src/main/java/com/vayunmathur/weather/ui/WeatherMapPage.kt+++ b/weather/src/main/java/com/vayunmathur/weather/ui/WeatherMapPage.kt@@ -51,8 +51,8 @@ import com.vayunmathur.library.map.GeoPoint  /**  * Full-screen map that shades an area by a chosen weather [metric], decoded- * natively from Open-Meteo's binary `.om` spatial files (keyless, model-native- * resolution) via the Rust/JNI [OmTilesNative] bridge. The decoded field is+ * natively from the self-hosted binary `.om` spatial files (keyless,+ * model-native resolution) via the Rust/JNI [OmTilesNative] bridge. The decoded field is  * colorized to a bitmap and drawn as a translucent [RasterLayer] over a muted  * raster basemap. Panning/zooming re-decodes only the visible region; the  * measure and time step can be changed on the fly. Pre-set from the graph sheet
weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/MoonBlock.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/MoonBlock.kt b/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/MoonBlock.ktindex cf7eb5826b..9b39965371 100644--- a/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/MoonBlock.kt+++ b/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/MoonBlock.kt@@ -41,7 +41,7 @@ import kotlin.math.sin  * horizon has elapsed, over a translucent panel of rise / set times. The marker  * is the moon itself, shaded to the current phase.  *- * [moonPhase] is Open-Meteo's `moon_phase` fraction — 0 and 1 are new, 0.25 is+ * [moonPhase] is the bundle's `moon_phase` fraction — 0 and 1 are new, 0.25 is  * first quarter, 0.5 is full, 0.75 is last quarter.  */ @Composable@@ -169,7 +169,7 @@ private fun DrawScope.drawMoonDisc(     } } -/** Buckets Open-Meteo's phase fraction into the eight conventional phase names. */+/** Buckets the moon phase fraction into the eight conventional phase names. */ @StringRes private fun moonPhaseNameRes(phase: Double): Int = when {     phase < 0.03 || phase > 0.97 -> R.string.moon_phase_new
weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/PollenBlock.kt
diff --git a/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/PollenBlock.kt b/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/PollenBlock.ktindex 5b090e49e2..525ce73be1 100644--- a/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/PollenBlock.kt+++ b/weather/src/main/java/com/vayunmathur/weather/ui/components/blocks/PollenBlock.kt@@ -16,7 +16,7 @@ import com.vayunmathur.weather.network.AirQualityCurrent  /**  * Pollen block — added beyond WeatherMaster's set since we already fetch- * pollen counts from the Open-Meteo Air Quality endpoint. Same square+ * pollen counts from the bundle's air-quality section. Same square  * `extraLarge` shell as the other simple blocks.  */ @Composable
weather/src/screenshotTest/kotlin/com/vayunmathur/weather/ui/MetadataPreviews.kt
diff --git a/weather/src/screenshotTest/kotlin/com/vayunmathur/weather/ui/MetadataPreviews.kt b/weather/src/screenshotTest/kotlin/com/vayunmathur/weather/ui/MetadataPreviews.ktindex 29a0317602..bee7028ba7 100644--- a/weather/src/screenshotTest/kotlin/com/vayunmathur/weather/ui/MetadataPreviews.kt+++ b/weather/src/screenshotTest/kotlin/com/vayunmathur/weather/ui/MetadataPreviews.kt@@ -75,8 +75,8 @@ private fun <T> withHistory(sample: List<T>): List<T> {  /**  * [HISTORY_HOURS] of history followed by 24 hours from [NOW_ISO_HOUR] onwards.- * Open-Meteo returns local-time ISO strings with no offset — [UTC_OFFSET_SEC]- * is what turns them back into instants.+ * The bundle mapper emits local-time ISO strings with no offset —+ * [UTC_OFFSET_SEC] is what turns them back into instants.  */ private val SAMPLE_HOURLY = Hourly(     time = historyHourLabels() + listOf(@@ -235,7 +235,7 @@ private val SAMPLE_DAILY = Daily(     uvIndexMax = listOf(5.9, 6.1, 3.8, 6.6, 6.9, 7.1, 6.2, 6.4, 5.7, 6.8, 7.2, 7.0, 4.4, 5.6),     precipitationProbabilityMax = listOf(20, 10, 65, 25, 5, 0, 10, 15, 30, 5, 0, 0, 70, 25),     precipitationSum = listOf(0.2, 0.0, 4.1, 0.5, 0.0, 0.0, 0.1, 0.0, 0.8, 0.0, 0.0, 0.0, 5.4, 0.4),-    // A real Open-Meteo lunation (waxing gibbous through full), relabelled onto+    // A real lunation (waxing gibbous through full), relabelled onto     // the sample fortnight. The moon is a 2%-lit sliver on these actual dates, which     // would render as an all-but-invisible disc in the store screenshot.     moonPhase = listOf(@@ -313,7 +313,7 @@ private val LONDON = SavedLocation(  *  - Order matters, and it comes from the function names. The generated PNG filenames embed  *    the function name, so `Preview1Forecast`/`Preview2Hour`/... sort into listing order.  *    Renumber the functions if you reorder the listing.- *  - Everything must be a literal. Open-Meteo, the Room cache and the device's regional+ *  - Everything must be a literal. The bundle API, the Room cache and the device's regional  *    preferences do not exist here, so the state above is the whole input — which is also  *    what makes the output reproducible from a clean checkout. Timestamps hang off  *    [NOW_EPOCH_SEC] rather than the clock for the same reason.
weather/src/test/java/com/vayunmathur/weather/network/WxBundleMapperTest.kt
diff --git a/weather/src/test/java/com/vayunmathur/weather/network/WxBundleMapperTest.kt b/weather/src/test/java/com/vayunmathur/weather/network/WxBundleMapperTest.ktindex cadda049a2..442edd490f 100644--- a/weather/src/test/java/com/vayunmathur/weather/network/WxBundleMapperTest.kt+++ b/weather/src/test/java/com/vayunmathur/weather/network/WxBundleMapperTest.kt@@ -8,7 +8,7 @@ import kotlin.test.assertTrue  /**  * Golden tests for the self-hosted bundle mapper: wire epochs in, the exact- * naive-local strings Open-Meteo used to send out. Anchored on Berlin+ * naive-local strings the domain layer consumes. Anchored on Berlin  * (CEST, UTC+2 in October): 2026-10-07T01:00Z == "2026-10-07T03:00" local.  */ class WxBundleMapperTest {