Skip to content

Improve passport lock safety guidance#351

Open
jynbil1 wants to merge 4 commits into
nation3:mainfrom
jynbil1:codex/passport-safety-lock-ux
Open

Improve passport lock safety guidance#351
jynbil1 wants to merge 4 commits into
nation3:mainfrom
jynbil1:codex/passport-safety-lock-ux

Conversation

@jynbil1

@jynbil1 jynbil1 commented May 14, 2026

Copy link
Copy Markdown

Summary

  • Adds a compact Passport safety panel above the lock form.
  • Resolves the existing ui/yarn.lock conflict markers so CI can install deterministically.
  • Shows projected $veNATION, the passport threshold, buffer, estimated threshold drop date, and a factual status badge.
  • Keeps the existing lock/increase transaction flow unchanged while making the decay risk visible at the decision point.

Design notes

  • Followed the existing Nation3 light card style, DaisyUI patterns, cyan/mint accents, and outline icon language.
  • Kept the tone informational rather than alarmist.
  • Added a responsive wrapper so the lock page fits mobile viewport width.

Validation

  • Generated a GPT image mockup before implementation and used it as the layout reference.
  • prettier --check ui/pages/lock.tsx
  • yarn lint
  • yarn test --runInBand
  • yarn build
  • Chrome headless screenshot/DOM checks for desktop and mobile; no horizontal overflow detected.

Dework

Dework task: https://app.dework.xyz/nation3/open-bounties-95838?taskId=4e0eac8d-5173-4d8e-9de0-20833a8ef6f7

Fixes #200

CI note

The Mainnet GitHub Actions workflow is passing after the lockfile cleanup. The Sepolia workflow currently fails in the existing Liquidity Cypress suite, outside this /lock page change. Vercel preview deployment still requires Nation3 team authorization.

@jynbil1
jynbil1 requested a review from a team as a code owner May 14, 2026 02:41
@vercel

vercel Bot commented May 14, 2026

Copy link
Copy Markdown

@jynbil1 is attempting to deploy a commit to the Nation3 DAO Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented May 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
citizen-app-mainnet Error Error May 14, 2026 3:46am

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.

Improve UX/UI for locking $NATION needed for minting passport

1 participant