Repository navigation
WIP - PR's for deploy env testing - Add a map of the day's rides - #1101
Open
onewheelskyward wants to merge 3 commits into
Open
onewheelskyward wants to merge 3 commits into
onewheelskyward wants to merge 3 commits into
Conversation
onewheelskyward
force-pushed
the
map-folding
branch
from
October 16, 2026 02:00
06ea380 to
c4b01fc
Compare
The calendar gets a Map tab ( /events/map ) showing a day's rides as pins; clicking a pin opens a dialog with the ride summary. Rides without coordinates are listed below the map. Coordinates are looked up with Nominatim when an organizer saves their event, and only when the location changes. A failed lookup doesn't prevent the save. The events api now includes latitude and longitude. - migration 0008 adds latitude, longitude, geoaddress to calevent; local sqlite databases get them automatically on startup. - SHIFT_GEOCODER_URL selects the server ( or "off" to disable ). - npm run -w tools geo-backfill looks up existing events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new /calmap/ page shows a day's rides as pins, linked from the "View events as" options next to List and Grid. Clicking a pin opens a dialog with the ride listing; rides without coordinates are listed below the map. ?date=YYYY-MM-DD picks the day ( default today ), with previous / next day buttons and a date picker. - leaflet 1.9.4 is vendored into static/lib/leaflet like the other libs. - main.js exposes renderEventsHTML() and lazyLoadEventImages() so the map reuses the existing mustache event template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The map is still being tested, so the calendar app's Map tab and the Hugo "View events as: Map" link only appear after visiting any page with ?map ( ?map=0 hides them again ). The map pages themselves are still reachable directly. The flag is remembered for the browser tab in sessionStorage, shared by both front-ends. ( Not localStorage: favorites.js treats every localStorage key as a favorite. ) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
onewheelskyward
force-pushed
the
map-folding
branch
from
October 30, 2026 02:53
7d4c32b to
ff0a059
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The calendar gets a Map tab ( /events/map ) showing a day's rides as pins; clicking a pin opens a dialog with the ride summary. Rides without coordinates are listed below the map.
Coordinates are looked up with Nominatim when an organizer saves their event, and only when the location changes. A failed lookup doesn't prevent the save. The events api now includes latitude and longitude.