Drawer headers: a shared DrawerHeader component renders the desktop nav-bar
layout (back + centered title + close) and a mobile variant (left title, no
back button, a single X that dismisses the top sheet — back when there is a
parent, otherwise close). Place details uses the place name as its title with
a compact, borderless header, and on mobile moves the photos below the place
type. The X and back buttons now have aria-labels.
Sheet scrolling: the content only scrolls while the sheet is at its largest
detent; below that, dragging anywhere on the sheet (including list rows and
links, not just the header) resizes it. At the largest detent, pulling down on
the content while it is scrolled to the top shrinks the sheet (overscroll to
shrink).
Place details opens at the medium detent again. The mobile photo carousel no
longer bleeds to the sheet edges, gets a wider gap and the same corner radius
as the action buttons.
Derive the sheet stack from the URL instead of mutating it: the route
template keeps rendering the top sheet, and application.gjs renders the
service-driven parent (search results, lists index, app menu) behind it on
mobile, inert, so closing the top sheet reveals the parent at its
remembered size.
- bottom-sheet modifier: `background` arg — background instances settle
immediately, inject no handle, take no gestures, never own the inset slot,
and never write the remembered detent (restore-only).
- z-index: demote background sheets below the top sheet, including the app
menu whose desktop z-index was inverted.
- outside tap on mobile pops to the parent without hideSidebar(), keeping
the session and detent alive; desktop keeps today's close-all.
- tracked matchMedia-backed viewport service for the mobile breakpoint.
- lists index extracted into a component so it can render top or background.
- scope .sidebar-content lookups and test selectors to .sheet-top.
Known v1 limitation: popping hard-cuts to the parent route (no exit
animation). The full derived stack with independent detents for 3-level
chains is deferred.
Mobile sheets (search results, place details, lists, menu, contributions,
activity, new place) become draggable bottom sheets with three detents
(collapsed / medium / expanded), fling-snapping, and swipe-down-to-dismiss.
The sheet is transform-based and content never reflows while dragging.
The map, crosshair, and pin-centering react to the live covered height through
mapUi.sheetInsetPx, replacing the old hardcoded "bottom 50%" assumptions.
Also fixes a backtracking crash that made the drawer disappear when opening a
place from search results: the modifier no longer writes tracked service state
during render. Writes are coalesced into an animation-frame flush and gated by
an ownership token, so a stale sheet can't corrupt the inset.
Offer the nostrconnect:// link on desktop too, instead of only on mobile,
and stop calling it a mobile-only signer.
The connect modal now shows an "Open signer app" link on every device,
alongside "Copy connection link" and a "Show QR code" toggle (hidden by
default). When the link is used, watch for the signer app taking over the
page and otherwise reveal a hint pointing at the QR code and copy link.
The mobile-only auto-redirect is gone; launching now happens through the
explicit button on all platforms.
Refs #127
The edit form only changes the saved entry's title and description, not the
OSM data, so surface it under the Save dropdown as "Edit saved place"
instead of a standalone action button.
This also keeps the actions row to Save and Share with even padding, so the
earlier equal-width row layout is no longer needed.
Add a Share button to the place details actions row. On systems with the
Web Share API it opens the native share sheet; everywhere else it opens a
small fallback menu offering "Copy link" and "Copy coordinates".
- OSM places share the public Marco place URL plus the name and
coordinates; custom places share name and coordinates only, since their
internal id is private and their Marco URL would not resolve for others
- No external map links; copy falls back to document.execCommand so the
feature keeps working on non-secure origins
- The button is hidden while editing and when there is nothing to share
By default, only automatically show photos for relays marked as trusted
(which by default is the required read relay). For other relays, only
show the user's own events by default, but allow showing all events via
link in place details (drawer bottom)
- Form field for optionally adding a description
- Publish as `imeta` `alt`
- Render as `<img>` alt when set
Fixes a placeholder being published instead. Also strips the current
placeholder if set as alt text (for existing uploads).
Bump eslint to ^10, @eslint/js to ^10, eslint-plugin-ember to ^13,
eslint-plugin-n to ^18, globals to ^17, stylelint to ^17,
stylelint-config-standard to ^40, sinon to ^22, and concurrently
to ^10.
Fix three new lint violations surfaced by the newer versions:
- Remove redundant padding-left after padding shorthand (stylelint 17)
- Remove useless null assignment before find() (eslint 10
no-useless-assignment)
- Attach caught error as cause on rethrown Error (eslint 10
preserve-caught-error)