-
Notifications
You must be signed in to change notification settings - Fork 53
feat: improve token selection UI, add better sorting and filtering strategy #1588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
towanTG
merged 18 commits into
develop
from
feat/improve-token-selection-ui-sorting-filtering
Nov 19, 2025
Merged
feat: improve token selection UI, add better sorting and filtering strategy #1588
towanTG
merged 18 commits into
develop
from
feat/improve-token-selection-ui-sorting-filtering
Nov 19, 2025
Conversation
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
7679cc5 to
d7831ac
Compare
towanTG
reviewed
Nov 18, 2025
…on in swapkit context
…he swapkit-context module
* fix: resolve missing dependencies issue, set exact=true in bunfig.toml * feat: set up the dialog components for keystore * feat: add tabs from shadcn/ui, improve dialog footer layout * feat: restore and refactor some of the keystore connect implementation * feat: add shadcn/ui components for implementing rich forms * feat: move keystore connection state outside of swapkit context, use react-hook-form for WalletKeystoreConnectDialog * feat: add loading states, move file input onChange handler outside of jsx * chore: reorder imports * feat: show new keystore connect dialog on keystore click * chore: remove old keystore dialog, remove dialog components outside of the scope * chore: update bun.lock * feat: tweak dialog styles to handle edge cases * feat: add missing variables, handle styling edge cases
1f93ab0 to
8172ce1
Compare
* feat: remove redundant code * fix: fix next playground build issues, add exact=true to bunfig * feat: implement improved token selection UI, rework balance calculation in swapkit context * feat: improve balance state calculation, improve wallet drawer ui * fix: fix hook after balance naming changes * feat: switch to built-in assetValue staticTokensMap, load tokens in the swapkit-context module * feat: add small optimisation for calculating filtered values * fix: fix createSwapKit sdk type errors * fix: fix swapkit ui type errors * chore: revert WalletConnectButton and keystore dialog changes * chore: apply changes after review * chore: revert type changes * fix: fix types * fix: resolve missing dependencies issue, set exact=true in bunfig.toml * feat: set up the dialog components for keystore * feat: add tabs from shadcn/ui, improve dialog footer layout * feat: restore and refactor some of the keystore connect implementation * feat: add shadcn/ui components for implementing rich forms * feat: move keystore connection state outside of swapkit context, use react-hook-form for WalletKeystoreConnectDialog * feat: add loading states, move file input onChange handler outside of jsx * chore: reorder imports * feat: show new keystore connect dialog on keystore click * chore: remove old keystore dialog, remove dialog components outside of the scope * chore: update bun.lock * feat: tweak dialog styles to handle edge cases * feat: add missing variables, handle styling edge cases * feat: add setup for v3 quote and swap requets * feat: move into new way of overriding endpoints using SKConfig * feat: adjust swap flow to match API changes * chore: remove redundant code, fix smaller issues * feat: add simple localStorage form integration, remove custom apiKey field * feat: add `sk-ui-` prefix to widget's tailwindcss config, update @swapkit/ui to use prefixed classNames (#1591) * feat: update variables and tailwind config to use prefix * chore: replace tailwind classes in @swapkit/ui to match prefix * feat: set up sk-ui- prefix in tailwind config, disable preflight, update dependencies * feat: convert missing classNames to prefixed ones
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.
Done:
staticTokensMapthat is used as cache byAssetValueNext improvements:
Preview:
CleanShot.2025-11-14.at.17.25.02.mp4