Repository navigation
Fix: Case studies search box has no label and page buttons look uneven - #349
Open
krishanraja wants to merge 1 commit into
Open
krishanraja wants to merge 1 commit into
krishanraja wants to merge 1 commit into
Conversation
Fixes #346 Made by internal-auditor's fix queue from an issue. Closeout: not needed, a small fix recorded by its issue and pull request. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #346
What changed and the checks run
Fix notes: case studies search box and pager (#346)
What changed
src/components/mindmake/UseCaseFinder.tsx: the search input now has the placeholder "Search case studies". It already had an invisible accessible label, but sighted users saw an empty box.src/styles/mindmake-usecases.css:Why
The report said the search box had no words and the pager buttons differed in width. The first is fixed directly. In the CSS both pager buttons were already 44px wide. On the screenshot the previous button looks different mainly because it is disabled on page 1 and drawn at 35% opacity, which is intended. I pinned the sizing so no layout can make them differ, but I did not change the disabled look. If Krish wants the disabled button to look less different, that is a design choice.
Checks
npx tsc -p tsconfig.app.json --noEmit: passed with no errors.npx vitest run src/test/use-case-parity.test.ts: not run, the sandbox required approval for it. Nothing in the change touches the text that test checks, but it is unverified.Files
src/components/mindmake/UseCaseFinder.tsxsrc/styles/mindmake-usecases.cssOpened by internal-auditor's fix queue (
fix-queue.yml). It merges itself once every check is green; a red or conflicted fix is labelledneeds-krishand stays open.