From 543a66ca70323921acf4da9b8e4fca8128cf0b58 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 3 Oct 2026 13:12:30 -0700 Subject: Feed media views: a grid of pictures, videos to flip through MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All / Images / Videos sits under the feed chips (remembered). - Images lays the feed's pictures out as a three-column grid. - Videos opens straight into a full-screen pager: one clip per screen, snapping, the one on screen playing with sound (muted with an Unmute button when the browser refuses), the next a flick or ↓ away. Closing it leaves a grid of the clips. - The pager shows only the media until tapped; a tap shows the author (tap for their profile), the post's words as a caption without the media links (tap to expand), and likes and sats in the bottom right, which also like and zap. - It is a place: Back or Escape closes it. Built outside the morph, so a repaint never restarts a clip; off-screen clips let go of their media. - Near the end of the grid or the pager the feed fetches older posts and new slides are appended. - Toasts now sit above full-screen viewers. tools/feed-media-views-test.js Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01ULQZS9MQa6iAsXnrJUD9Du --- src/i18n.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index cb0e752..932b552 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -299,6 +299,11 @@ const STR = { askSignInCreate: 'Create a new account', askNotNow: 'Not now', feedLangLabel: 'Language', + mediaAll: "All", + mediaImages: "Images", + mediaVideos: "Videos", + mediaNoImages: "No pictures in this feed yet.", + mediaNoVideos: "No videos in this feed yet.", feedRelays: 'Relays', feedRelaysFormHelp: 'Read this feed from these relays only. Leave empty for the usual ones.', feedAllToggle: 'Every post on these relays (a firehose)', -- cgit v1.2.3