Skip to content

Add rewatch tag - #39

Merged
joebailey26 merged 2 commits into
masterfrom
feature/add-rewatch-tag
Jun 14, 2026
Merged

joebailey26 merged 2 commits into
masterfrom
feature/add-rewatch-tag

Conversation

@joebailey26

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a “Rewatch” tag for tracked shows, including database support, API read/write support, and UI controls to toggle and browse rewatch-tagged shows.

Changes:

  • Add tags + showTags tables (with a seeded rewatch tag) and expose tags/rewatch on transformed show types.
  • Update show APIs to (a) return tag data and (b) allow toggling the rewatch tag via PATCH /api/show/:id.
  • Add UI for toggling “Rewatch” on the show detail page and a “Rewatch” category link in navigation.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
server/types/transformed.d.ts Adds global ShowTag and adds tags/rewatch to transformed show typing.
server/db/schema.ts Defines new tags and showTags tables and indices.
server/api/shows.get.ts Adds “rewatch” category filtering and includes rewatch in list results.
server/api/show/[id].patch.ts Enables toggling the rewatch tag via rewatch: boolean in PATCH body.
server/api/show/[id].get.ts Returns tags list and rewatch boolean for a tracked show.
drizzle/0003_rewatch_shows.sql Migration creating tag tables and seeding the rewatch tag.
app/pages/show/[id].vue Adds “Rewatch” checkbox UI and PATCH call to toggle it.
app/pages/my-shows.vue Small layout tweak (flex-wrap).
app/components/nav.vue Adds “Rewatch” link to the My Shows categories.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread server/api/shows.get.ts
@joebailey26
joebailey26 merged commit 2e1ce79 into master Jun 14, 2026
3 checks passed
@joebailey26
joebailey26 deleted the feature/add-rewatch-tag branch June 14, 2026 20:49
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.

2 participants