Repository navigation
feat: add wallet seam, discovery url params, media query hook and not found page - #174
Merged
Marvell69 merged 1 commit intoOct 18, 2026
Conversation
|
@Pro-builder 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! 🚀 |
|
@Pro-builder is attempting to deploy a commit to the Marvel'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.
Closes #133
Closes #134
Closes #135
Closes #136
Wallet seam (#133)
WalletContextis exported fromlib/stellar/WalletProvider.tsxso tests and stories can provide a fake value without loading the wallet kit.lib/stellar/testing/fake-wallet.ts:fakeWallet(preset, overrides)withdisconnected,connecting,connected,wrongNetwork,unauthenticatedandwithErrorpresets. The signer always rejects with{ code: -4, message: "User declined" }, so nothing can sign.lib/stellar/testing/fake-wallet.test.ts.Responsive groundwork (#134)
lib/hooks/useMediaQuery.ts: SSR safe hook built onuseSyncExternalStore, returnsnullon the server so prerendered HTML does not mismatch.min-h-11 min-w-11).Not found states (#135)
app/not-found.tsx(static) linking back to/markets.URL synced discovery (#136)
lib/markets/discovery-params.ts:parseDiscoveryandserializeDiscoveryforq,status,categoryandsort. Defaults are omitted, keys are in a stable order, unknown values fall back to defaults,status=ALLround trips, andqis trimmed to 100 chars.NETWORK_LABELinstead of the hardcoded "Stellar Testnet".lib/markets/discovery-params.test.ts.