Skip to content

fix: prevent calendar cell redirect and add date deselection#5543

Open
yuhanzhagn wants to merge 6 commits intousememos:mainfrom
yuhanzhagn:fix-calendar-filter-ui
Open

fix: prevent calendar cell redirect and add date deselection#5543
yuhanzhagn wants to merge 6 commits intousememos:mainfrom
yuhanzhagn:fix-calendar-filter-ui

Conversation

@yuhanzhagn
Copy link

@yuhanzhagn yuhanzhagn commented Jan 29, 2026

Fixes #5541

This PR:

  • Prevents clicking a calendar cell on the /explore page from navigating to the memos page
  • Allows deselecting an already selected date by clicking it again
  • add visual indicator for selected date

Tested:

  • Click calendar cells on /explore page (no redirect)
  • Select and deselect dates via calendar

The date toggle logic is adapted from the existing tag filter behavior to keep the UX consistent.

Rebased onto latest main and resolved conflicts in YearCalendar.tsx.

@yuhanzhagn yuhanzhagn force-pushed the fix-calendar-filter-ui branch 4 times, most recently from 19517e2 to 41d4037 Compare February 2, 2026 13:27
@yuhanzhagn yuhanzhagn force-pushed the fix-calendar-filter-ui branch from 41d4037 to 12505a0 Compare February 5, 2026 12:50
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.

Improve calendar date selection UX (missing visual feedback + toggle behavior)

1 participant