• Aryan Noshirvnai's avatar
    Add location picker, live map, and song proposals/voting to Soundmarks · 543f0d38
    Aryan Noshirvnai authored
    Location picker (admin panel create/edit form): address-search
    autocomplete backed by the new backend geocode proxy, plus an
    embedded Leaflet/OpenStreetMap map - search, click, or drag the pin
    to set a soundmark's coordinates. Replaces raw lat/lon number inputs.
    
    Map screen + live location (Nearby page): a real map showing a
    live-updating "you are here" dot (tracks the existing watchPosition
    feed) and pins for whatever soundmarks are currently in range,
    alongside the existing text/card view - not a replacement for it.
    
    Song proposals + voting (Nearby page): shows every proposal for the
    detected soundmark with vote counts, a "Propose a song" button
    (reuses the existing SongPicker), and a vote toggle per proposal.
    Soundmarks with no anthem yet now show a "propose one" prompt instead
    of a play button, so there's an actual path to making the first
    proposal for a brand new soundmark.
    
    OpenStreetMap over Google Maps per explicit choice - no API key/
    billing setup required. leaflet + react-leaflet added; the default
    marker icon bundler quirk (broken image paths once bundled - a
    known issue with every bundler) is patched once via src/lib/leafletIcons.ts.
    
    10 new tests (LocationPicker search/selection, SoundmarkMap smoke
    tests, Nearby proposal/vote/propose flows and the "no anthem yet"
    state) - 83 webapp tests passing overall. Verified live end-to-end
    with a real Nominatim geocode search ("Eiffel Tower, Paris") and
    real Chromium geolocation mocking rather than stubbed data - the
    whole loop (create -> geocode -> place pin -> assign anthem -> detect
    via live location -> see it on the map -> view proposals) worked with
    zero console errors.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    543f0d38
Name
Last commit
Last update
..
auth.ts Loading commit data...
channels.ts Loading commit data...
client.test.ts Loading commit data...
client.ts Loading commit data...
discovery.ts Loading commit data...
jwt.test.ts Loading commit data...
jwt.ts Loading commit data...
library.ts Loading commit data...
music.ts Loading commit data...
remix.ts Loading commit data...
roomSocket.ts Loading commit data...
social.ts Loading commit data...
soundmarks.ts Loading commit data...
stream.ts Loading commit data...