Connect Nostr, integrate place photos #45
Reference in New Issue
Block a user
Delete Branch "feature/nostr_place_reviews"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allows users to connect their Nostr identity via Web extension, or signing app with QR code scan, or signing app on Android via intent (iOS following later).
Marco will fetch a user's profile, avatar image, configured Blossom servers, and inbox and outbox relays. All of these will be cached. The app settings have been broken up into sub sections and there is a new section for Nostr settings. Users can edit their relays (only for usage in Marco) and choose to publish photos to all available servers instead of just their main/default/first one.
Once connected, they can upload photos for places, based on our new draft NIP (kind 360, see
doc/nostr).While browsing the map, Marco fetches and caches available photo events in the background. When opening a place, it also ensures we fetch events directly by OSM ID.
When there are photos available, it displays a carousel and preloads any photos currently in view as well as the next one(s). Blurhashes are rendered while photos are loading. On desktop, it shows one photo at a time, on mobile it shows multiple smaller photos side by side. Both allow to scroll horizontally. On desktop there are chevron buttons for easy browsing, while finger scrolling is preferred on mobile.
A photo gallery with full-size/zoomed view will be added later.
refs #7
closes #43
closes #44