Skip to content

Conversation

@Drakeoon
Copy link
Contributor

@Drakeoon Drakeoon commented Nov 13, 2025

Done:

  • Implement keystore connect dialog that is mostly aligned with designs
  • Add shadcn/ui components for building rich forms
  • Add react-hook-form to @swapkit/ui
  • Show new keystore connect dialog when user wants to connect keystore wallet
  • Tweak keystore state handling logic - move outside of swapkit-context, change balance-fetching strategy

Note:

There are still 2 dialogs in progress: Import phrase and Create keystore. I'll align styles to match designs once we have them in place

connect.keystore.dialog.mp4

@Drakeoon Drakeoon force-pushed the feat/improve-keystore-connect-dialog branch from 29b88a8 to d8c445f Compare November 14, 2025 17:23
@Drakeoon Drakeoon changed the title WIP feat: improve keystore connect dialog feat: improve keystore connect dialog Nov 14, 2025
@Drakeoon Drakeoon changed the base branch from develop to feat/improve-token-selection-ui-sorting-filtering November 14, 2025 17:23
@Drakeoon Drakeoon marked this pull request as ready for review November 14, 2025 17:24
@towanTG towanTG merged commit 1f93ab0 into feat/improve-token-selection-ui-sorting-filtering Nov 18, 2025
1 check passed
@towanTG towanTG deleted the feat/improve-keystore-connect-dialog branch November 18, 2025 11:09
Drakeoon added a commit that referenced this pull request Nov 18, 2025
* 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
towanTG added a commit that referenced this pull request Nov 19, 2025
…rategy (#1588)

* 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

* feat: improve keystore connect dialog (#1587)

* 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 v3 quote swap flow (#1590)

* 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

* chore: clean up assetValue static map export

* chore: dirty fix ts issue tailwind.config.ts no in rootDir

* chore: skip balance test

---------

Co-authored-by: towan <[email protected]>
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.

3 participants