Skip to content

Prod to staging#1237

Merged
Hugo0 merged 19 commits intopeanut-wallet-devfrom
peanut-wallet
Sep 18, 2025
Merged

Prod to staging#1237
Hugo0 merged 19 commits intopeanut-wallet-devfrom
peanut-wallet

Conversation

@jjramirezn
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Sep 18, 2025

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

Project Deployment Preview Comments Updated (UTC)
peanut-wallet Ready Ready Preview Comment Sep 18, 2025 9:56pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 18, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Implements maintenance mode across middleware and UI, updates the maintenance page to a client component with a support CTA, swaps Layout banner to GenericBanner, adjusts passkey validator contract enum, and bumps two Zerodev dependencies. Expands middleware matcher to broader routes.

Changes

Cohort / File(s) Summary of changes
Dependencies
package.json
Bump @zerodev/passkey-validator ^5.5.0 → ^5.6.0; bump @zerodev/sdk 5.4.0 → 5.5.0.
Maintenance Page UI
src/app/maintenance/page.tsx
Converted to client component; replaced layout wrapper with self-contained UI; added image/Button/router; updated copy; added support button navigating to /support; changed export to const arrow plus default export.
Global Layout Banner
src/components/Global/Layout/index.tsx
Replaced Banner usage with GenericBanner; removed Footer import; added temporary maintenance notice banner.
Kernel Client Passkey Validator
src/context/kernelClient.context.tsx
Changed validator contract enum from V0_0_2 to V0_0_2_UNPATCHED in toPasskeyValidator options.
Middleware Maintenance Gate
src/middleware.ts
Added maintenance-mode redirect allowing only whitelisted paths/assets; expanded config.matcher to broader route set; retained existing promo/auth/no-cache logic.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

enhancement

Suggested reviewers

  • Hugo0
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch peanut-wallet

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 77f11b6 and fbb6d12.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • package.json (1 hunks)
  • src/app/maintenance/page.tsx (1 hunks)
  • src/components/Global/Layout/index.tsx (2 hunks)
  • src/context/kernelClient.context.tsx (1 hunks)
  • src/middleware.ts (2 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Hugo0 Hugo0 merged commit 1cb251e into peanut-wallet-dev Sep 18, 2025
6 of 8 checks passed
@coderabbitai coderabbitai bot added the enhancement New feature or request label Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants