Photo processing was slow on most devices because blurhash was encoded
from the full-resolution image, the original file was decoded up to five
times, and the Android fallback path skipped native resizing.
- Encode blurhash from a <=64px canvas instead of full resolution
- Process main image, thumbnail and blurhash in a single worker pass,
decoding the original only once and deriving the thumbnail from the
resized main image
- Retry createImageBitmap via an in-memory Blob before falling back to
stepped software scaling, and validate the browser honored the resize
- Avoid the redundant full-resolution canvas and release intermediate
canvases during stepped scaling
- Swap the preview to the processed thumbnail and decode it async
- Lower main image JPEG quality to 0.85
Adds unit tests for the image-processor service and documents the design
in doc/dev/photo-upload-performance.md.
Emit top-level x tags for the primary media and thumbnail SHA-256 hashes (with the primary also inside imeta) when publishing. Parsed photos expose the hash set, and photo deletion prefers it over extracting hashes from Blossom URLs, keeping URL extraction as a fallback for legacy events.
- Treat contacts as loaded only once the kind 3 event exists, so the first
home window is fetched with the follow list, and re-fetch the initial window
when contacts arrive late.
- Resolve sender kind 0 profiles from the user's relays and the content's
origin relays, and retry unresolved senders after the first load.
- Auto-load older pages while the end sentinel stays visible via a service-side
loop, guarded by hasMore and a fetch lock, with an epoch token so a mode
switch invalidates in-flight fetches.
- Deduplicate zap entries across window re-fetches.
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)
Our links would work after opening WhatsApp, but not render e.g. known
business names associated with the number on the intermediate page that
you open the app or web app from
- 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).
Remove applesauce-factory (deleted in v6) and bump applesauce-core,
applesauce-relay, and applesauce-signers to ^6.2.x. Rewrite all
EventFactory usage from the removed constructor API
(`new EventFactory({ signer }).sign(template)`) to the new chainable
builder (`EventFactory.fromKind(k).content(...).sign(signer)`).
Remove `relay.eoseTimeout` overrides in nostr-auth — the eoseTimeout
property was removed in v6; NostrConnectSigner now uses persistent
subscriptions that don't rely on EOSE-based timeouts.
Update photo-gallery test mock to use 64-char hex pubkeys/ids/sigs
because v6's sign() validates event structure via validateEvent().
Also includes safe semver bumps to all other dependencies.