Repository navigation
Video library: browse finished videos with thumbnails and publish status - #3
Merged
Merged
Conversation
A new Library button in the top bar opens a grid of finished videos: thumbnail, subject, date and Auto-Publish status, including the time of a scheduled post. Each card plays the video inline and keeps the task actions (open folder, regenerate, delete). - It is a dialog rather than a separate page: switching pages would skip rendering the generation form, and Streamlit drops the state of widgets it does not render, losing a half-typed subject or script. - Thumbnails are the frame at 0.5 s (first frame for shorter videos), made with ffmpeg once and cached next to the video until it changes. - Play uses an on_click callback so the player, above the grid, appears on the same rerun; portrait videos play in the middle third. - Card actions show icons only, with the label kept for screen readers, like the Task Manager rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #2 (which is stacked on #1). Merge those first; this PR's diff shows one commit.
What it does
A Library button in the top bar opens a grid of finished videos. Each card shows:
Each card plays the video inline and keeps the task actions: open folder, regenerate, delete. Cards load 12 at a time.
Notes
on_clickcallback, so the player above the grid appears on the same rerun. Portrait videos play in the middle third instead of filling the dialog.Tests
test_webui_library.py:🤖 Generated with Claude Code