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.
Remote signers truncate the app name in their connection list, and Amber turns the space in "Marco (host)" into a literal plus sign. Keep the host suffix only outside of production builds, where distinguishing dev and self-hosted instances is useful.
- 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.
Bump applesauce-core/common/loaders/relay/signers to major v7.
Adapt test fixtures to v7's stricter isEvent() (128-char hex signatures and string-only tag values) and to the batched EventStore timeline emissions.
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
Split the monolithic test file into 8 single-responsibility modules:
contacts, relay configuration, provenance, trust evaluation, geohash
loading, place photos, my contributions, and zap receipts. Extract
shared setup helper to eliminate duplication.
Listen to the store's deletes stream instead of a timeline (kind 5
events never enter the event database), and unsubscribe the
subscription on destroy. Add unit tests for relay getters,
provenance handling, and trust partitioning.
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).