-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
wallet-ext: multiple accounts in active connections view #8436
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
795f887
to
321343d
Compare
321343d
to
ede4922
Compare
ede4922
to
75a2bc0
Compare
41a4c50
to
42c80dc
Compare
75a2bc0
to
84e0389
Compare
0737ac4
to
1743a5f
Compare
074e62b
to
9b86bc8
Compare
1743a5f
to
8097910
Compare
* move the creation of the explorer link out of the ExplorerLink component
* added DAppInfoCard a box that shows the dapp icon name and link * added DAppPermissionsList that shows a list of permissions * updated SummaryCard to fix overflow and borders for footer and add a divider option * updated WalletListSelect to add disconnect mode, disabled state and allow filtering visible accounts
* allow disconnecting specific account from a dapp * some refactoring for SuiApps to * connected apps to use also the data from the WalletDapps list * simplify Props * fix stylings and use new components like Link and Button
* use suiDark link color in DAppInfoCard
8097910
to
ae023d8
Compare
<div className={st.desc}> | ||
<div className={st.title}>Builders in sui ecosystem</div> | ||
{ecosystemApps?.length ? ( | ||
<> | ||
Apps here are actively curated but do not indicate any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a blocker we could use Text component here
href={accountOnExplorerHref!} | ||
text="View account on Sui Explorer" | ||
onClick={() => { | ||
trackEvent('ViewExplorerAccount'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for the bracket before and after trackEvent
title={name} | ||
className={st.ecosystemApp} | ||
showIcon={false} | ||
onClick={onClickAppLink} | ||
onClick={() => { | ||
trackEvent('AppOpen', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except for the minor nit and connected app issue LGTM
@Jibz1 about the Text component, we should revisit the components used here anyway to remove scss modules use new UI components etc. Now I just tried to touch as less as possible in interest of time. Will leave this and the function props to be addressed at that time. About the issue you mean the one we discussed offline right (not something else)? - When we connect to a site and we have the wallet in the connected view on another tab, the list of connected apps doesn't update (jira issue) . This is an existing behaviour and this PR didn't break it so I think it should be addressed in another PR. |
* useExplorerLink hook * move the creation of the explorer link out of the ExplorerLink component * components to be used in connected dapps view * added DAppInfoCard a box that shows the dapp icon name and link * added DAppPermissionsList that shows a list of permissions * updated SummaryCard to fix overflow and borders for footer and add a divider option * updated WalletListSelect to add disconnect mode, disabled state and allow filtering visible accounts * add functionality to disconnect only specific accounts * support multi accounts in connected apps view * allow disconnecting specific account from a dapp * some refactoring for SuiApps to * connected apps to use also the data from the WalletDapps list * simplify Props * fix stylings and use new components like Link and Button * mint demo nft toasts and using mutation Playground/WalletApps listing page styling changes https://user-images.githubusercontent.com/10210143/220197176-e68aff9e-515b-4633-a82d-275c721cd5db.mov Multi-accounts in Disconnect app view https://user-images.githubusercontent.com/10210143/220197372-c982fc9e-ba83-4820-896c-c08e902a203e.mov https://user-images.githubusercontent.com/10210143/220197417-730f9b3b-2fd8-47c7-a95d-6f5aa45856c4.mov https://user-images.githubusercontent.com/10210143/220197467-b2a682d2-23ed-42dc-a484-66e9c69ed3b6.mov closes APPS-284
Playground/WalletApps listing page styling changes
Screen.Recording.2023-02-20.at.20.50.58.mov
Multi-accounts in Disconnect app view
Screen.Recording.2023-02-20.at.20.51.59.mov
Screen.Recording.2023-02-20.at.20.53.47.mov
Screen.Recording.2023-02-20.at.20.54.18.mov
closes APPS-284