Skip to content

fix: highlight search quote button when active (@byseif21)#7807

Open
byseif21 wants to merge 3 commits intomonkeytypegame:masterfrom
byseif21:fix/search-quote-active-state
Open

fix: highlight search quote button when active (@byseif21)#7807
byseif21 wants to merge 3 commits intomonkeytypegame:masterfrom
byseif21:fix/search-quote-active-state

Conversation

@byseif21
Copy link
Copy Markdown
Contributor

Closes #7796

Copilot AI review requested due to automatic review settings April 10, 2026 16:10
@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Apr 10, 2026
@github-actions github-actions bot added the waiting for review Pull requests that require a review before continuing label Apr 10, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Improves UX around Quote Search mode by visually indicating when Quote Search is the currently active quote-length setting (i.e., quoteLength === [-2]), helping users understand why quotes may not rotate normally after a test.

Changes:

  • Desktop test config: highlight the Quote Search (magnifier) button when quoteLength is [-2].
  • Mobile test config: treat Quote Search (-2) as an “active” quote length option when quoteLength is [-2].

Reviewed changes

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

File Description
frontend/src/ts/components/pages/test/TestConfig.tsx Adds active state to Quote Search button based on quoteLength === [-2].
frontend/src/ts/components/modals/MobileTestConfigModal.tsx Fixes Quote Search option active-state detection to reflect quoteLength === [-2].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quote not changing [CAN'T REPLICATE]

3 participants