Skip to content

t27f: FR-004 pixel test — badge label stays inside narrow fill - #13684

Open
gHashTag wants to merge 1 commit into
masterfrom
lane/uikit-badge-pad
Open

gHashTag wants to merge 1 commit into
masterfrom
lane/uikit-badge-pad

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Closes #13677

🤖 Generated with Claude Code


Note

Low Risk
Adds specification coverage only; no production or renderer logic changes in this diff.

Overview
Adds FR-004 integration test badge_label_stays_inside_narrow_fill in vf_card.t27 (#13677), extending the existing vc_badge_w unit checks with an end-to-end raster proof.

The test forces the SUCCESS "Open" badge layout width to 10 px (below label width), renders the standard 375 px card in TH_PAPER, then scans pixels via vc_ink_left / vc_ink_right to ensure the painted fill grows past the forced box, label ink stays inside the accent fill, and left/right padding gaps differ by at most one pixel.

Reviewed by Cursor Bugbot for commit 00cf6fe. Bugbot is set up for automated code reviews on this repo. Configure here.

…#13677)

Adds `badge_label_stays_inside_narrow_fill` test to specs/t27f/vf_card.t27.
Renders a badge whose layout box is forced narrower than its label (l.w[2]=10)
in TH_PAPER theme, then scans the raster pixel-level to assert:
(a) no ink pixel lies outside the fill boundaries (il >= fl, ir <= fr)
(b) left and right gaps between ink and fill differ by at most one pixel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cursor

cursor Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 083983c2-aacd-4aa3-bab7-a5d01666a8b7)

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-14 08:00:01 UTC

Summary

Status Count
Total Open PRs 39
PRs with Failing Checks 34
PRs with All Checks Green 5
READY 0
FAILING 34
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 34 + 0 + 0 = 34, and there are 39 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=af11a2d3abd1 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

This branch has not been deployed

No deployments
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.

t27f: keep label inside fill with equal side gaps - UI Kit badge

1 participant