Skip to content

feat filter panel custom hour any - #2547

Merged
junjun107 merged 4 commits into
developfrom
2385-add-any-to-time-filter
Sep 23, 2025
Merged

feat filter panel custom hour any#2547
junjun107 merged 4 commits into
developfrom
2385-add-any-to-time-filter

Conversation

@junjun107

Copy link
Copy Markdown
Member

Closes #2385

WHAT

Open Time filter logic was updated to support more flexible custom day/time selections

  • Day + Time → keeps existing behavior (filters by exact day and time).

  • Day + Any → new filter logic, If user picks SUN + "Any", you’ll get all Sunday results.

  • Time + Any day → new filter logic , If user don't pick a day + "11AM", you’ll get all results for 11AM

  • Both empty → shows all results (no filtering).

What this PR Changed / Updated

Refactored useOrganizationBests filtering to handle four clear cases:

  1. Day + Time
  2. Day only (any time)
  3. Time only (any day)
  4. No filter

Replaced old "SUN" hack in time-only filtering with a check across all days.
Added "Any" to the time dropdown

Media

Screenshot 2025-09-13 at 9 03 16 PM Screenshot 2025-09-13 at 9 03 54 PM Screenshot 2025-09-13 at 9 05 01 PM

@VirginiaWu11 VirginiaWu11 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.

LGTM

@junjun107
junjun107 merged commit ef68087 into develop Sep 23, 2025
1 check passed
@junjun107
junjun107 deleted the 2385-add-any-to-time-filter branch September 23, 2025 01:37
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.

Date and time filter should not require both fields be filled out, and should allow "any"

2 participants