Tags · mauriceboe/TREK · GitHub
Skip to content

Tags: mauriceboe/TREK

Tags

v3.1.2

Toggle v3.1.2's commit message
chore: bump version to 3.1.2 [skip ci]

v3.1.1

Toggle v3.1.1's commit message
chore: bump version to 3.1.1 [skip ci]

v3.1.0

Toggle v3.1.0's commit message
chore: bump version to 3.1.0 [skip ci]

v3.1.0-pre.3

Toggle v3.1.0-pre.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(planner): scroll long place description/notes on mobile (#1195) (#…

…1199)

The place details card (PlaceInspector) clipped long description/notes
with no way to scroll. The content area is a flex column whose children
(description/notes) had the default flex-shrink: 1, so once the card hit
its maxHeight cap they compressed to fit and their overflow:hidden clipped
the text instead of overflowing into a scroll region.

- Make the content area a bounded scroll region (flex: 1 1 auto,
  minHeight: 0, overflowY: auto, momentum + overscroll containment).
- Pin description/notes with flexShrink: 0 so they keep natural height and
  the card overflows into the scroll instead of clipping.
- Pin header/footer with flexShrink: 0 so they stay fixed while scrolling.
- Add wordBreak/overflowWrap to the description div to fix horizontal clip.

v3.1.0-pre.2

Toggle v3.1.0-pre.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(pwa): persist offline storage + Mapbox offline policy (H8, H9) (#…

…1184)

H8: prefetched tiles and file blobs could be evicted under storage pressure
(worsened by opaque tile responses inflating the quota ~7MB each), blanking the
offline map right when a traveler needs it. Request persistent storage at app
init so the browser exempts our caches from eviction. We deliberately keep tile
requests no-cors (a cors switch would break self-hosted/custom tile providers
without CORS headers), so persistence is the safe mitigation rather than
de-opaquing responses.

H9: Mapbox GL users had no offline map at all — no runtimeCaching matched the
Mapbox hosts. Add a StaleWhileRevalidate rule for api.mapbox.com /
*.tiles.mapbox.com so visited areas are available offline (best-effort; full
pre-download still requires the Leaflet renderer, now documented).

- new sync/persistentStorage.ts requestPersistentStorage(), called from main.tsx
- vite.config: mapbox-tiles SW cache rule
- MapViewAuto / tilePrefetcher comments document the offline-maps policy
- tests for the persist helper (granted / already-persisted / absent / rejects)

v3.1.0-pre.1

Toggle v3.1.0-pre.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(places): enrich list-imported places via the Places API (#886) (#…

…1161)

* feat(places): enrich list-imported places via the Places API (#886)

Google/Naver list imports only carry a name and coordinates, so the places open
as bare pins — the Maps tab jumps to coordinates, with no photo, address or
open/closed. Add an opt-in "Enrich places via Google" toggle to the list-import
dialog, shown only when a Google Maps key is configured.

When enabled, after the (fast, unchanged) import the server runs a background
pass that re-resolves each place by name — biased to and validated against the
imported coordinates so a common-name search cannot overwrite the wrong place —
and fills the empty address/website/phone/photo columns plus the resolved
google_place_id, pushing each row over the live sync. Opening hours and the
proper Maps link then work on demand from the stored id.

Enrichment only fills empty fields, runs detached so a long list never blocks
the import, and no-ops when no key is configured.

* fix(places): use the ToggleSwitch component for the enrich toggle

Match the rest of the app — the import-enrichment opt-in used a raw checkbox;
swap it for the shared ToggleSwitch (text left, switch right) like the settings
toggles.

v3.0.22

Toggle v3.0.22's commit message
chore: bump version to 3.0.22 [skip ci]

v3.0.21

Toggle v3.0.21's commit message
chore: bump version to 3.0.21 [skip ci]

v3.0.20

Toggle v3.0.20's commit message
chore: bump version to 3.0.20 [skip ci]

v3.0.19

Toggle v3.0.19's commit message
chore: bump version to 3.0.19 [skip ci]