Skip to content
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

Updated action list in token, NFTs and activity view #19702

Merged
merged 15 commits into from
Jun 27, 2023
Merged

Conversation

NidhiKJha
Copy link
Member

@NidhiKJha NidhiKJha commented Jun 21, 2023

This PR is to :

  1. Update the action list in Tokens, Nfts and Activity to include MetaMask support
  2. For the NFTs tab, if the user has autodetect enabled, then display Refresh List otherwise display enable autodetect
  3. For activity screen, support is to be in center
  4. Spacing between each action button should be 8px

Screencaps

Screen.Recording.2023-06-26.at.6.17.37.PM.mov

Manual Testing Steps

  • Go to NFT tabs, look for the updated UI for the actions button
  • Check support link is at the left for all the three tabs

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@NidhiKJha NidhiKJha marked this pull request as ready for review June 21, 2023 12:39
@NidhiKJha NidhiKJha requested a review from a team as a code owner June 21, 2023 12:39
@NidhiKJha NidhiKJha changed the title (WIP 👷‍♀️ ) updated ui for nft import button Updated action list in token, NFTs and activity view Jun 21, 2023
@NidhiKJha NidhiKJha added team-extension-client team-extension-ux DEPRECATED: please use "team-wallet-ux" label instead labels Jun 21, 2023
Copy link
Contributor

@darkwing darkwing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionally looks good but requires jest updates.

@gauthierpetetin gauthierpetetin added the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Jun 21, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [3ac6b64]
Page Load Metrics (1817 ± 73 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1192041502210
domContentLoaded15811977179013364
load15812105181715273
domInteractive15811977179013364
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 bytes
  • ui: -1304 bytes
  • common: -109 bytes

@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Merging #19702 (45bf9b7) into develop (c8a6612) will decrease coverage by 0.00%.
The diff coverage is 30.77%.

@@             Coverage Diff             @@
##           develop   #19702      +/-   ##
===========================================
- Coverage    69.83%   69.83%   -0.00%     
===========================================
  Files          980      980              
  Lines        36886    36888       +2     
  Branches      9890     9891       +1     
===========================================
+ Hits         25757    25758       +1     
- Misses       11129    11130       +1     
Impacted Files Coverage Δ
ui/components/app/asset-list/asset-list.js 77.78% <ø> (ø)
.../multichain/import-token-link/import-token-link.js 94.12% <ø> (ø)
ui/pages/home/home.component.js 44.83% <10.00%> (+0.33%) ⬆️
ui/components/app/nfts-tab/nfts-tab.js 100.00% <100.00%> (ø)

@NidhiKJha NidhiKJha requested a review from darkwing June 21, 2023 16:08
albertolive
albertolive previously approved these changes Jun 22, 2023
@darkwing
Copy link
Contributor

Looks great! The only thing I'm noticing is that the space between the links on the Tokens and NFTs tab looks different:

SCR-20230622-jwnq SCR-20230622-jwyt

@NidhiKJha
Copy link
Member Author

Looks great! The only thing I'm noticing is that the space between the links on the Tokens and NFTs tab looks different:

Fixed here e62431d

albertolive
albertolive previously approved these changes Jun 26, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [45bf9b7]
Page Load Metrics (1668 ± 66 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1151861462110
domContentLoaded14631995166813866
load14631995166813866
domInteractive14631995166813866
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 bytes
  • ui: -958 bytes
  • common: -109 bytes

vthomas13
vthomas13 previously approved these changes Jun 26, 2023
onClick={onRefresh}
>
{t('refreshList')}
</ButtonLink>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can incorporate this as well!

#19743

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this already exists here for NFTs

Screen.Recording.2023-06-26.at.9.58.01.PM.mov

Copy link
Contributor

@darkwing darkwing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, actually, shouldn't there be a "no nfts" message here?
SCR-20230626-lsdf

@NidhiKJha
Copy link
Member Author

Hmm, actually, shouldn't there be a "no nfts" message here?

Nice shout, Updated! here 2496b23

@metamaskbot
Copy link
Collaborator

Builds ready [349c3cd]
Page Load Metrics (1702 ± 143 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1052261413416
domContentLoaded140925201701298143
load140925201702298143
domInteractive140925201701298143
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 bytes
  • ui: 15 bytes
  • common: -78 bytes

@NidhiKJha NidhiKJha merged commit af56e34 into develop Jun 27, 2023
56 checks passed
@NidhiKJha NidhiKJha deleted the fix-711 branch June 27, 2023 06:35
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2023
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Jun 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-10.34.0 team-extension-ux DEPRECATED: please use "team-wallet-ux" label instead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants