From 85ac8de5d9f0e4144b45535bd3c6ddf67e990610 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sat, 11 Jul 2026 13:52:36 -0400 Subject: [PATCH] style: apply prettier across fork files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit check:prettier was not part of my gate routine, so formatting drift accumulated across the session's touched files (and a few older ones). Run prettier --write to bring the repo back to 'All matched files use Prettier code style!'. Formatting only — no logic changes. tsc/tests/build all green. Co-Authored-By: Claude Opus 4.8 --- LOTUS_FEATURES.md | 16 +- LOTUS_TODO.md | 2 +- src/app/components/editor/output.test.ts | 3 +- src/app/components/editor/output.ts | 2 +- src/app/components/emoji-board/EmojiBoard.tsx | 6 +- .../image-pack-view/RoomImagePack.tsx | 8 +- .../components/message/MsgTypeRenderers.tsx | 6 +- .../message/content/PollContent.tsx | 224 +++++++++--------- .../components/url-preview/UrlPreviewCard.tsx | 18 +- src/app/features/bookmarks/BookmarksPanel.tsx | 9 +- src/app/features/room/MediaGallery.tsx | 4 +- src/app/features/room/PollCreator.tsx | 7 +- src/app/features/room/RoomInput.tsx | 5 +- .../features/room/ScheduledMessagesTray.tsx | 222 ++++++++--------- .../room/message/ForwardMessageDialog.tsx | 8 +- .../features/room/message/MessageEditor.tsx | 3 +- .../features/room/message/RemindMeDialog.tsx | 5 +- .../features/room/thread/ThreadsListPanel.tsx | 21 +- .../settings/developer-tools/DevelopTools.tsx | 4 +- .../notifications/SystemNotification.tsx | 4 +- src/app/hooks/useAccountData.ts | 4 +- src/app/hooks/useRoomThreads.ts | 5 +- src/app/state/recentStickers.test.ts | 6 +- src/app/state/recentStickers.ts | 4 +- src/app/state/room/markedUnread.test.ts | 4 +- src/app/utils/bookmarks.test.ts | 7 +- src/app/utils/bookmarks.ts | 3 +- src/app/utils/notifications.test.ts | 4 +- src/app/utils/poll.test.ts | 2 +- src/app/utils/poll.ts | 2 +- src/app/utils/statusPresets.test.ts | 6 +- src/app/utils/statusPresets.ts | 6 +- src/app/utils/threadList.test.ts | 12 +- src/app/utils/videoEmbed.test.ts | 58 ++++- src/app/utils/videoEmbed.ts | 37 ++- 35 files changed, 395 insertions(+), 342 deletions(-) diff --git a/LOTUS_FEATURES.md b/LOTUS_FEATURES.md index 9ea56e6f5..3c059beb1 100644 --- a/LOTUS_FEATURES.md +++ b/LOTUS_FEATURES.md @@ -810,12 +810,12 @@ resolver, `parseMediaEmbed(url, host)` in `src/app/utils/videoEmbed.ts`, maps a URL to `{ provider, kind, embedUrl }`; `MediaEmbedCard` / `TikTokEmbedCard` / `TwitterCard` in `UrlPreviewCard.tsx` render it. Four render `kind`s: -| kind | shape | providers | -| ----------- | ------------------------ | ----------------------------------------------------------------- | -| `landscape` | 16:9 video player | YouTube, Vimeo, Dailymotion, Streamable, Twitch, Loom, Kick (live) | -| `portrait` | 9:16 video player | YouTube Shorts, TikTok | -| `audio` | fixed-height audio player | Spotify, SoundCloud, Apple Music, Tidal | -| `rich` | self-resizing post embed | X/Twitter, Instagram, Reddit, Bluesky | +| kind | shape | providers | +| ----------- | ------------------------- | ------------------------------------------------------------------ | +| `landscape` | 16:9 video player | YouTube, Vimeo, Dailymotion, Streamable, Twitch, Loom, Kick (live) | +| `portrait` | 9:16 video player | YouTube Shorts, TikTok | +| `audio` | fixed-height audio player | Spotify, SoundCloud, Apple Music, Tidal | +| `rich` | self-resizing post embed | X/Twitter, Instagram, Reddit, Bluesky | **Privacy-friendly facade.** The tile first shows the homeserver's cached `og:image` thumbnail + a play button; the third-party `