Skip to content

feat(schedule): add my-vote filter chips#206

Open
chiptus wants to merge 4 commits into
claude/188-195-filter-sheetfrom
claude/188-196-my-vote-chips
Open

feat(schedule): add my-vote filter chips#206
chiptus wants to merge 4 commits into
claude/188-195-filter-sheetfrom
claude/188-196-my-vote-chips

Conversation

@chiptus

@chiptus chiptus commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Adds Must Go / Interested / Won't Go chips to the Schedule filters, letting the viewer filter both Timeline and List to sets they voted on themselves.
Selection is OR-ed, persists in the URL, and counts toward the filter badge.

Closes #196. Stacked on the #195 filter-sheet branch/PR - review only the top commit if that PR is still open.

Verification

  • Sign in, vote Must Go on one set and Interested on another, tap both chips: only those two sets remain visible on List; the same holds after switching to Timeline.
  • Tap a selected chip again to deselect: all sets return (OR semantics, off when none selected).
  • Sign out: the chips are absent from both the Timeline toolbar and the List filter row (no disabled state, no login teaser).
  • Filter badge count increases by one per selected chip and matches across Timeline/List for the same URL.
  • pnpm run lint, pnpm run typecheck, pnpm vitest run all pass.

Generated by Claude Code

Adds Must Go / Interested / Won't Go chips (OR-ed, URL-persisted) next to
the Filters trigger on both Timeline and List, filtering sets through the
shared filterScheduleDays predicate keyed to the viewer's own votes.
Hidden entirely when logged out; selection counts toward the filter badge.

Closes #196

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AziTqr3f12fxALYD6jhrW8
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
upline Ready Ready Preview, Comment Jul 16, 2026 2:29pm

A shared ?votes= link no longer dead-ends logged-out visitors: without a
viewer identity the vote predicate passes every set and the filter badge
skips the vote count. Malformed vote entries in the URL are dropped
individually instead of discarding the whole selection.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AziTqr3f12fxALYD6jhrW8
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AziTqr3f12fxALYD6jhrW8
…o claude/188-196-my-vote-chips

# Conflicts:
#	src/hooks/useTimelineUrlState.ts
#	src/lib/searchSchemas.ts
#	src/pages/EditionView/tabs/ScheduleTab/horizontal/TimelineToolbar.tsx
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