Skip to content

Add Music Booth history and requeueing#314

Merged
mpiorowski merged 2 commits into
mainfrom
mateu/yb_booth_history
Jun 6, 2026
Merged

Add Music Booth history and requeueing#314
mpiorowski merged 2 commits into
mainfrom
mateu/yb_booth_history

Conversation

@mpiorowski
Copy link
Copy Markdown
Owner

Summary

  • Adds a community Music Booth History so previously played YouTube tracks can be reviewed, voted on, and queued again without past votes affecting the new queue item.

Changes

  • Adds DB-backed media_history_items and media_history_votes tables/models.
  • Records tracks into history when they are promoted to Now Playing.
  • Adds a Queue/History switch in the Music Booth modal.
  • Supports history upvotes/downvotes/clearing votes and Enter-to-requeue.
  • Updates booth help text and audio context docs for the new history behavior.

Behavior notes

  • History keeps up to 30 unique YouTube tracks, ranked by history vote score and recency.
  • Requeued history tracks create fresh queue rows with 0 live queue votes.
  • Audio bans block history voting and requeueing; normal submission rate limits apply to requeueing.
  • This includes a new migration, 073_create_media_history.sql.

Feature flags

  • None.

Screenshots / Video

  • Not included in this draft; attach before review.

Testing

  • Automated: Not run; repo policy says agents should not run cargo test, cargo nextest, or cargo clippy.
  • Manual: Not run; no live TUI verification was performed for this draft.

@mpiorowski mpiorowski merged commit 36c5d0a into main Jun 6, 2026
1 check passed
@mpiorowski mpiorowski deleted the mateu/yb_booth_history branch June 6, 2026 18:02
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