Add Avatar test coverage, runtime status validation, and a11y fixes - #329
Merged
chonilius merged 2 commits intoAug 25, 2026
Merged
Conversation
…tion - Avatar.test.tsx: covers Avatar render (src fallback, dicebear URL, size, className) and AvatarStack overflow counts (under/at/over max) - coerceStatus: validates raw status strings against known BountyStatus values, falling back to "open" for unrecognized values - adaptBounty: uses coerceStatus instead of passing raw.status directly Issues: MergeFi#278, MergeFi#279
…archy
- MilestoneFundButton: accept optional milestoneName prop, set aria-label
"Fund milestone: {name}" for screen readers
- PoolDepositButton: accept optional poolRepo prop, set aria-label
"Deposit to pool: {repo}" for screen readers
- milestones/page: pass milestoneName and poolRepo to action buttons
- issues/page: insert sr-only h2 "Available bounties" between h1 and
BountyCard h3's to fix heading hierarchy (h1 → h3 skip)
Issues: MergeFi#280, MergeFi#281
|
@brightpixel-dev is attempting to deploy a commit to the chonilius' projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Closes #278
Closes #279
Closes #280
Closes #281
What changed
Why
How to test
npx jest src/components/ui/Avatar.test.tsx— all 13 tests passnpx jest src/components/ui/Badge.test.tsx— all 27 tests pass