Skip to content

Feed: support video posts and polish post tiles - #93

Merged
domvo merged 1 commit into
mainfrom
feed-video-support
Oct 2, 2026
Merged

domvo merged 1 commit into
mainfrom
feed-video-support

Conversation

@domvo

@domvo domvo commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The homepage Mastodon feed now shows video and gifv attachments, which were previously dropped. Videos use preload="none", so nothing loads until someone presses play. gifv attachments autoplay muted on loop, the way they do on Mastodon.
  • Post tiles get theme-aware card styling (var(--card) / var(--border) instead of the hardcoded #ddd), more consistent spacing and lighter hashtag styling.
  • The post date now links to the original post on chaos.social.
  • New UI string posts.videoLabel (EN/DE) is the fallback aria-label for videos without a description.

Testing

  • npm run lint and npm run build pass
  • Checked in the dev server in light and dark mode, on desktop and mobile (iPhone 12 Pro size), including a video post

- Render Mastodon video and gifv attachments (lazy, no preload)
- Theme-aware card styling, date links to the original post
- Lighter hashtag styling and tidier spacing
@domvo
domvo marked this pull request as ready for review October 2, 2026 18:03
@domvo
domvo merged commit 268b3d8 into main Oct 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant