Add an /e/:event_id route that resolves a NIP-19 event reference to its place and opens it. It accepts a nevent (including relay hints), a note, an naddr, a raw 64-hex event id, an optional nostr: prefix, and full permalinks (resolved via the last path segment). The event's i tag gives the place, which is opened through the existing place route.
When the linked event is a place photo, the place details carousel focuses it, carried through a ?photo=<event-id> query param on the place URL.
It also fixes place photo loading: the selected place's #i subscription now stays open instead of completing on the first relay's EOSE. Previously the request could finish right after the fastest relay (the submission relay holds only a subset of a place's photos), so photos that live on a slower relay were dropped, e.g. a deep link that only shows one photo until the page is reloaded.
Tests cover the pointer parser, the /e/ route, the carousel focus, and the live place-photo subscription.
Add an `/e/:event_id` route that resolves a NIP-19 event reference to its place and opens it. It accepts a `nevent` (including relay hints), a `note`, an `naddr`, a raw 64-hex event id, an optional `nostr:` prefix, and full permalinks (resolved via the last path segment). The event's `i` tag gives the place, which is opened through the existing place route.
When the linked event is a place photo, the place details carousel focuses it, carried through a `?photo=<event-id>` query param on the place URL.
It also fixes place photo loading: the selected place's `#i` subscription now stays open instead of completing on the first relay's EOSE. Previously the request could finish right after the fastest relay (the submission relay holds only a subset of a place's photos), so photos that live on a slower relay were dropped, e.g. a deep link that only shows one photo until the page is reloaded.
Tests cover the pointer parser, the `/e/` route, the carousel focus, and the live place-photo subscription.
Add an /e/:event_id route that resolves a NIP-19 event reference (nevent
with relay hints, note, naddr, raw hex id, an optional nostr: prefix, or a
full permalink) to the event, reads its i tag and opens the place. When the
event is a place photo, focus it in the place details carousel via a
?photo= query param.
Also keep the selected place's photo subscription open instead of completing
on the first relay's EOSE, so photos that live on a slower relay are no
longer dropped (the submission relay holds only a subset).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add an
/e/:event_idroute that resolves a NIP-19 event reference to its place and opens it. It accepts anevent(including relay hints), anote, annaddr, a raw 64-hex event id, an optionalnostr:prefix, and full permalinks (resolved via the last path segment). The event'sitag gives the place, which is opened through the existing place route.When the linked event is a place photo, the place details carousel focuses it, carried through a
?photo=<event-id>query param on the place URL.It also fixes place photo loading: the selected place's
#isubscription now stays open instead of completing on the first relay's EOSE. Previously the request could finish right after the fastest relay (the submission relay holds only a subset of a place's photos), so photos that live on a slower relay were dropped, e.g. a deep link that only shows one photo until the page is reloaded.Tests cover the pointer parser, the
/e/route, the carousel focus, and the live place-photo subscription.