Skip to content

fix overlap between full and favorite#1882

Open
hanaeatsplanes wants to merge 2 commits intotjcsl:devfrom
hanaeatsplanes:patch-1
Open

fix overlap between full and favorite#1882
hanaeatsplanes wants to merge 2 commits intotjcsl:devfrom
hanaeatsplanes:patch-1

Conversation

@hanaeatsplanes
Copy link
Copy Markdown

This pull request makes targeted improvements to the search command parsing logic in intranet/static/js/eighth/signup.search.js to ensure more precise filtering for favorite and full activities. The changes clarify which commands trigger specific filters, reducing ambiguity and potential conflicts.

Improvements to command parsing:

  • Updated the favorite activity filter to check for the "fa" command prefix instead of just "f", making the favorite filter more explicit and less likely to overlap with other filters.
  • Updated the full activity filter to check for the "fu" command prefix instead of just "f", ensuring that the full filter is only triggered when intended and does not conflict with the favorite filter.

see: #1881

@hanaeatsplanes hanaeatsplanes requested a review from a team as a code owner February 24, 2026 03:55
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