Skip to content

Implement sidebar, resolves FRONT-912#118

Draft
arentant wants to merge 23 commits intodevfrom
dev-sidebar
Draft

Implement sidebar, resolves FRONT-912#118
arentant wants to merge 23 commits intodevfrom
dev-sidebar

Conversation

@arentant
Copy link
Copy Markdown
Contributor

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 30, 2026

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

Project Deployment Actions Updated (UTC)
trainapp Ready Ready Preview Apr 23, 2026 7:24pm

Request Review

…odal and move some items there from menu, and other changes for the sidebar usage
@yasha-meursault yasha-meursault changed the title Implement sidebar Implement sidebar, resolves FRONT-912 Apr 1, 2026
yasha-meursault and others added 2 commits April 18, 2026 17:50
- Drop "use client" from wrapper pages; move it to view components
  (swapComponent, SettingsView, TransactionsView, NoCookies)
- Consolidate providers.tsx from 4 wrappers into a single Providers
  function; inline maintenance fallback branch (replaces notFound())
- Restore Pages Router CDN caching behavior via middleware.ts
  (Cache-Control: public, s-maxage=60, stale-while-revalidate)
- Progress bar: inline singleton in providers + history.pushState
  monkey-patch for programmatic-nav coverage (replaces Pages Router's
  Router.events.on("routeChangeStart"))
- Widget: drop useSearchParams hook, read window.location.search
  inside goBack callback
- Fix handleViewSwap on /transactions: navigate to /swap?sourceNetwork
  =X&txHash=Y instead of flipping swapModalOpen (drawer only mounts on /)
- Delete dead handleViewSwap copy from useMenuNavigation
- Move PendingSwap to persistent top app-header in themeWrapper so it's
  visible across routes (desktop); keep mobile placement in widget header
- PendingSwap click: navigate to /swap when off root, open drawer in place on /
- Add animate-press-down-weak (scale 0.99) for sidebar menu items and
  interactive SettingsCard; keep regular press-down (0.97) elsewhere
- Update CLAUDE.md to reflect current layout, force-dynamic decision,
  progress-bar pattern, and active-swap modal mounting constraint

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- tailwind.config.js: replace stale "./pages/**/*" glob with
  "./app/**/*.{js,ts,jsx,tsx}". Classes unique to app/ files
  (layout, providers, pages) were not being generated.
- app/layout.tsx: replace 30 lines of raw <head> JSX with typed
  Next.js Metadata API (export const metadata / viewport). Set
  metadataBase so relative OG/Twitter image URLs resolve correctly.
  Keep inline cookieCheckScript as a manual <script> (Metadata API
  has no equivalent for inline scripts).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…passkeys

- Promote SettingsOverlay to AppDialogue (+ appDialogueStore), used from the
  sidebar on every path instead of path-conditional drawers.
- Sidebar: single code path for wallets + login status; switch nav to <Link>.
- Rework LoginModal into an explicit step wizard (intro/saved/create/signing/
  error/unsupported) with no auto-start; users can log in to a specific saved
  credential via WebAuthn allowCredentials.
- Passkey storage gains human-readable labels (StoredPasskey { id, label }),
  persisted in IndexedDB; slugify WebAuthn user.name while keeping displayName.
- UserStatus shows labels; SwapHistory card drops the z-index stacking hack.
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.

2 participants