Signer demo: auth, permissions & signing flows, plus mobile polish#254
Open
srinjoyc wants to merge 13 commits into
Open
Signer demo: auth, permissions & signing flows, plus mobile polish#254srinjoyc wants to merge 13 commits into
srinjoyc wants to merge 13 commits into
Conversation
…d states Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Extract LogoutOverlay into its own component - Add sugar-high syntax highlighting to code snippets - Add amorphous background video (compressed from 6.2MB to 357KB) with poster frame and preload hint - Gate page render on video ready state with spinner - Add install block showing headless vs UI kit options - Rewrite marketing copy around "Auth in. Smart wallet out." positioning - Fix mobile AuthFlow scaling (was unclipped below sm breakpoint) - Lighten settings modal backdrop to backdrop-blur-sm - Fix Navbar indentation and import ordering
- Cap the Settings dropdown and session-key / info tooltips to the viewport width so they can't overflow on narrow screens. - Show a shortened wallet address in the header on mobile, full on sm+.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- README: accurate, concise overview of the demo and its use cases, plus correct env vars and setup. - Landing value props: pause auto-rotation once the user selects one, hide the progress bar after selection, outline-circle bullets, and align the description with the title. - Navbar: drop sticky/z-index so it no longer creates a stacking context that blocks the 1Password passkey prompt.
…/hydration fixes - Navbar: glass header (black/1% + 60px blur, no border/shadow), DM Sans, frosted pill around Documentation/API keys, external-link icons, dark #19110B Contact sales with white arrow-in-circle, medium weights - Landing: single centered column — hero h1 (76px desktop, responsive) + description, with the tabs and wallet centered below; removed the left intro/value-prop accordion and install block - Fix wallet hydration mismatch (gate status UI behind mount) and add a reconnect timeout so a stalled session reveals the login instead of hanging
- Navbar: dev-only Preview link + Default/Sample 1 page toggle; Wallet Demo as a label centered with the logo - New /sample-1 route (two-column hero + wallet, WALLET DEMO label, sliding pill tabs) - Shared wallet-reset util (clears localStorage + IndexedDB) used by landing + dashboard to recover stalled sessions - Dashboard preview (?preview=1): bypass auth gates with placeholder address, DM Sans, bg animation, frosted card, separated title section, single-line address+assets row, restyled metric labels
Brings in #271 (GET-with-stamp auth endpoints) and related core/react/react-kit updates so wallet-core matches the staging backend protocol. The entire apps/zerodev-signer-demo directory is kept at the branch version (ours); pnpm-lock.yaml taken from main and regenerated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
A pass over the
zerodev-signer-demoauthenticated experience — new use cases, real on-chain flows, and a mobile polish.Use cases
eth_getLogsscan, since the bundler RPC doesn't reliably serve logs).@zerodev/permissions: create key → grant allowance → live "drip" payouts on a timer → revoke & reset. On-chain enforcement is shown (drip stops at the rate-limit cap; revoke kills the key), with an "active session key" badge in the header.UI / UX
FaucetLinkcopies the wallet address before opening the faucet; clicking ETH/USDC in the header jumps to the send step.Fixes / infra
localStoragereads inuseStateinitializers.@zerodev/permissions; bumptsconfigtarget to ES2020.Notes
CallPolicyVersion.V0_0_4 → V0_0_5is a one-line fallback.