Skip to content

Fix verify PNG detection labels and authoritative status styling#349

Merged
kojibai merged 2 commits intomainfrom
codex/fix-sigil-seal-label-on-uploads
Jan 31, 2026
Merged

Fix verify PNG detection labels and authoritative status styling#349
kojibai merged 2 commits intomainfrom
codex/fix-sigil-seal-label-on-uploads

Conversation

@kojibai
Copy link
Copy Markdown
Owner

@kojibai kojibai commented Jan 31, 2026

Motivation

  • Clarify detection messaging so uploaded PNGs are distinguished between Kai-Notes (value notes) and Sigil-Seal proof receipts rather than always labeling them as “Kai-Note”.
  • Make the inline helper (“Original minted files only”) and the detected-status banner look more authoritative and visually prominent to match the app’s official tone.

Description

  • Update detection logic in src/pages/VerifyPage.tsx by introducing isNoteUpload and using it to determine detection copy, replacing the previous broad condition that caused mislabeling. (isExhaleNoteUpload is now driven from isNoteUpload).
  • Adjust the Sigil-Seal copy from "Quick verify" to "Proof seal" in src/pages/VerifyPage.tsx so proof receipts are labeled correctly.
  • Restyle the helper and detection badge in src/pages/VerifyPage.css by updating .vdrop-helper and .vdrop-detect to an uppercase, pill-shaped, gradiented, shadowed presentation with tighter letter-spacing and heavier weight to feel authoritative and “official”.

Testing

  • Launched the dev server with npm run dev and exercised the /verify UI in a headless browser via a Playwright script that navigated to http://localhost:4173/verify and captured artifacts/verify-detect-style.png, which completed successfully.
  • No unit/test-suite changes were required since this is a UI-only update; no automated unit tests were run or broken by these edits.

Codex Task

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
phi-network-5aii Ready Ready Preview, Comment Jan 31, 2026 9:03pm

Request Review

@kojibai kojibai merged commit d05c283 into main Jan 31, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant