FuelBoard Contributor
bb6ee33254
Stations: move price-rating Key (legend) into a modal sheet opened by an info button in the nav header; list stays focused on stations. Sheet = medium detent, inline nav title 'Key', Done button; legend rows unchanged. Adds -showKeySheet launch arg (QA hook for sim).
2026-08-14 23:53:02 +01:00
FuelBoard Contributor
fd7fa5f9c9
Settings: price display toggle — station sign (£129.9) vs pounds & pence (£1.299); display-only, all surfaces (list, widgets, Live Activity, Siri cards); Siri dialog stays speech-safe pounds
2026-08-14 15:33:26 +01:00
FuelBoard Contributor
2409b71f2f
Labels: pluralize miles (1 mile) and show true distances in the chosen unit (5 mi = 8 km) across Alerts/Stations pickers + captions
2026-08-13 15:10:23 +01:00
FuelBoard Contributor
2d070fa3ba
Fuel colours: align with wheel palette — Unleaded #30D158, Premium #FFD60A, Diesel #64D2FF
2026-08-13 13:09:22 +01:00
FuelBoard Contributor
c2a9943d4c
Favourites tab: fuel-type selector gets the same coloured pump icons
...
- FuelTypeSegmentedPicker promoted to shared (was private in StationsView)
and parameterised by fuel list so Favourites passes only fuels with favourites
- Favourites tab swaps native .segmented picker for the capsule control with
green/purple/grey fuelpump icons, matching Stations
2026-08-12 23:03:35 +01:00
FuelBoard Contributor
d864319593
Fuel-type segmented control: coloured pump icons per fuel
...
- Custom capsule segmented control (native .segmented can't tint per-segment)
- fuelpump.fill icon per segment: green=Unleaded, purple=Premium, grey=Diesel
- FuelType.tintColor: Premium blue -> purple (also updates the nav title icon)
- Selected segment keeps the raised-capsule look; save+widget reload unchanged
2026-08-12 22:52:03 +01:00
FuelBoard Contributor
35e0adaf0b
Favourites are fuel-scoped: starring pins the station for one fuel only
...
Fixing the bug where favouriting an Unleaded entry also created a Diesel
favourite. Favourites are now [FavouriteEntry] = (station, fuel) pairs:
- Starring a row pins it only for the fuel being viewed
- Favourites tabs show only fuels that actually have favourites
- Geofence monitor gives priority slots only to favourites matching the
monitored fuel
- Tests updated + new fuel-scoping test (31/31 passing)
2026-08-12 08:31:08 +01:00
FuelBoard Contributor
a6b1e24cd6
Merge station count into the top explainer
...
The 'N stations within X' caption now lives in the header explainer
(Closest/Cheapest + radius + count on one line); the Distance section
shows just the picker.
2026-08-12 08:02:38 +01:00
FuelBoard Contributor
75cfb3681d
Remove 'Distance only applies to Cheapest' explainer
...
Closest mode now shows the disabled distance picker with no caption;
the N-stations-within caption still appears in Cheapest mode.
2026-08-12 07:58:01 +01:00
FuelBoard Contributor
44c6c38536
Add Settings tab: distance units toggle, onboarding replay, £4.99 tip; drop E10/E5 from labels
...
- FuelType labels: 'Unleaded (E10)'/'Premium (E5)' -> 'Unleaded'/'Premium'
- New DistanceUnit (miles/km) preference; all app + widget distances,
radii and alert text convert/display in the chosen unit
- Settings tab (4th tab): segmented miles/km picker, 'Show introduction'
replay button (onboarding moved out of Alerts tab), StoreKit tip £4.99
- ProximityMonitor + widget notifications use the chosen unit
- Tests: label expectations updated, DistanceUnit conversion + format tests
2026-08-12 07:46:08 +01:00
FuelBoard Contributor
05f3ef0a70
Add (E10)/(E5) bracket labels to Unleaded/Premium in picker and descriptions
2026-08-11 22:41:50 +01:00
FuelBoard Contributor
313fe84037
Use native large-title behaviour: drop custom icon header, .navigationTitle + .large (exact Mail-style collapse)
2026-08-11 22:27:38 +01:00
FuelBoard Contributor
24fffe1e8f
Pin large title above list so it fades+collapses in place on scroll (Mail-style cross-fade)
2026-08-11 22:21:09 +01:00
FuelBoard Contributor
ec191d77aa
Cross-fade large title with compact bar on scroll (Mail-style)
2026-08-11 22:15:11 +01:00
FuelBoard Contributor
cf69350472
Use native onScrollGeometryChange (iOS 18) so the compact icon+title bar actually appears on scroll, Mail-style
2026-08-11 22:05:03 +01:00
FuelBoard Contributor
8d24de401d
Large icon+title header at rest; compact gas-pump bar appears only after scrolling (tracker on header row background)
2026-08-11 21:59:32 +01:00
FuelBoard Contributor
644342ae63
Nav bar: always show gas-pump icon next to title (inline mode); remove scroll-offset row hack
2026-08-11 21:54:56 +01:00
FuelBoard Contributor
12cb3707b6
Nav bar: show compact gas-pump+title only when scrolled (large title at rest); drop icons from fuel picker
2026-08-11 21:49:18 +01:00
FuelBoard Contributor
39b310d68d
Add gas-pump icon left of title + coloured fuel-type tab icons (Unleaded green, Premium blue, Diesel grey)
2026-08-11 21:36:28 +01:00
FuelBoard Contributor
7be98c51ad
Closest mode: TOP + deltas vs the CHEAPEST within radius (not the nearest); list stays nearest-first
2026-08-11 20:16:32 +01:00
FuelBoard Contributor
2ca1274b8f
Closest mode: deltas vs the CLOSEST station (signed +X.Xp/-X.Xp), not the nationwide cheapest; baseline = sortedStations.first
2026-08-11 20:04:29 +01:00
FuelBoard Contributor
3bc795317a
Distance picker disabled in Closest mode; whole-country pool for nearest-first (radius never empties Closest)
2026-08-11 19:49:26 +01:00
FuelBoard Contributor
d62ac1b265
Distance filter below fuel type under Distance heading; list paginated 10 rows with Show more
2026-08-11 19:38:08 +01:00
FuelBoard Contributor
e0a5bb3d5d
Cheapest reference uses chosen miles radius (same pool as list) in app + widget; header shows 'within N miles'
2026-08-11 18:29:20 +01:00
FuelBoard Contributor
213f93aa04
Results filter is now search radius in miles (5/10/15); relay fetch scoped to radius, limit 500; changing miles re-fetches; caption shows stations within N miles
2026-08-11 18:02:23 +01:00
FuelBoard Contributor
8230daa249
Cache-first refresh policy: auto-fetch at most twice a day (12h gate), no fetch on launch/foreground/location/fuel-switch, pull-to-refresh forces; geofences still follow location
2026-08-11 17:43:11 +01:00
FuelBoard Contributor
2d95c4e1d6
Scope cheapest/RAG/TOP to alert trigger radius in app + widget; header shows 'within X km'; falls back to full fetch when radius pool empty
2026-08-11 17:21:36 +01:00
FuelBoard Contributor
60d25164d6
Tabs (Stations/Favourites/Alerts): favourites with cheapest-first ranking, proximity geofence alerts (favourites priority, 3km default radius, 1h dedup), Always location + background mode
2026-08-11 15:17:26 +01:00