fix(#567,#568,#561,#562): button size prop, navbar active link, dynamic imports, SEP-0010 auth - #707
Open
marshall8000 wants to merge 1 commit into
Open
Conversation
…it#562): button size prop, navbar active link, dynamic imports, SEP-0010 auth Stellar-split#567 — Button size prop (sm/md/lg) - Button component already had complete size prop implementation - Verified: size prop typed as 'sm' | 'md' | 'lg' with default 'md' - Each size maps to distinct Tailwind padding and text-size classes - All existing usages without size prop continue to render identically Stellar-split#568 — Navbar active link with prefix matching - Updated isActive() to use pathname.startsWith() for prefix matching - Added /invoice nav item so /invoice/* routes highlight correctly - Exact match preserved for root-level routes - No link highlighted on pages that don't match any nav item Stellar-split#561 — Dynamic imports and route-level code splitting - NotesEditor: added NotesEditor.dynamic.tsx with next/dynamic + ssr:false - TrendChart: created new TrendChart component + TrendChart.dynamic.tsx - transactionBuilder: new src/lib/stellar/transactionBuilder.ts loaded dynamically in invoice sign page to exclude stellar-sdk from initial bundle - next.config.js: fixed bundle analyzer (ANALYZE=true gates report), fixed withPWA config, fixed syntax error, fixed env var typo Stellar-split#562 — SEP-0010 Web Authentication - GET /api/auth/challenge: returns signed challenge tx (5 min TTL) - POST /api/auth/token: verifies signed tx, issues 24h JWT in httpOnly cookie - src/lib/auth/withAuth.ts: route handler wrapper requiring valid JWT (401 if absent/expired) - src/hooks/useSep10Auth.ts: challenge->sign->token flow hook with auto-retry on 401 - WalletContext: extended with sep10 auth state, auto-authenticates on wallet connect Misc: cleaned up .gitignore (removed duplicates, added all test artifact patterns)
|
@marshall8000 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@marshall8000 is attempting to deploy a commit to the kingsman-99's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
#567 — Button size prop (sm/md/lg)
#568 — Navbar active link with prefix matching
#561 — Dynamic imports and route-level code splitting
#562 — SEP-0010 Web Authentication
Misc: cleaned up .gitignore (removed duplicates, added all test artifact patterns)
closes #567
closes #568
closes #561
closes #562