Skip to content

fix: wrap complete pasted URL state badges - #5

Merged
systemslibrarian merged 1 commit into
mainfrom
repair/https-url-badge-reflow-20261010
Oct 10, 2026
Merged

systemslibrarian merged 1 commit into
mainfrom
repair/https-url-badge-reflow-20261010

Conversation

@systemslibrarian

Copy link
Copy Markdown
Owner

The address state badge can widen the page when a pasted URL contains a long fragment or query value. Live verification of PR #4 reproduced 324px document width on a 320px viewport for https://other.example/#user@github.com. A longer query also reproduces overflow on phone and desktop widths.

Allow badge text to wrap at any character without hiding, truncating or changing the pasted value. Add independent browser controls at 320, 390 and 1280px that preserve the full badge text, verify the URL-authority verdict and check document geometry. Document the bounded parser and wrapping behavior. The hostname repair from PR #4, certificate logic, dependencies and workflows remain intact.

Validation on commit 0a5f2ae:

  • New regression against unchanged application 7bc01db: all three tests fail on overflow (324, 1650 and 1771px document widths); the same three pass after the one-property CSS repair, with no retries.
  • npm test: 68 passed.
  • npm run build: both TypeScript projects and Vite passed; rebuilt CSS hash changes.
  • CI=1 npm run test:verdicts: 63 passed; all 25 recorded killing assertions observed.
  • CI=1 npm run test:a11y: all three full state drives passed at 1280, 390 and 320px.
  • git diff --check: passed; worktree clean.

Reuse private Fleet item c395acb8-efef-44b9-a7bc-8a0c4b201fc1. This verifies the offline teaching UI; it does not claim a live TLS handshake, browser trust-store validation or complete RFC5280 coverage.

@systemslibrarian
systemslibrarian merged commit 8065456 into main Oct 10, 2026
3 checks passed
@systemslibrarian
systemslibrarian deleted the repair/https-url-badge-reflow-20261010 branch October 12, 2026 11:47
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