Skip to content

fix: Remove snaps, add highlight to connection list#24099

Merged
jonybur merged 7 commits intodevelopfrom
23859-permissions-fix-remove-snaps
Apr 26, 2024
Merged

fix: Remove snaps, add highlight to connection list#24099
jonybur merged 7 commits intodevelopfrom
23859-permissions-fix-remove-snaps

Conversation

@jonybur
Copy link
Copy Markdown
Contributor

@jonybur jonybur commented Apr 18, 2024

Description

On-hover behavior for Connected Site on All Permissions screen.
Sites listed on the All Permissions screen should have an on-hover bg color to indicate that they are clickable and will take users to a different screen.

Snaps are removed from Permissions page

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

highlight.mp4

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@jonybur jonybur requested a review from a team as a code owner April 18, 2024 02:55
@github-actions
Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@jonybur jonybur added team-core-extension-ux Core Extension UX team needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. labels Apr 18, 2024
@jonybur jonybur mentioned this pull request Apr 18, 2024
7 tasks
&:active {
background-color: var(--color-background-default-hover);
}
} No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Needs new line here.

@@ -0,0 +1,2 @@
@import './connection-list-item';
@import './permissions-page'; No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Needs new line here.

textAlign={TextAlign.Center}
padding={4}
>
{t('siteConnections')}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

locale should be removed from en.json file and all the translations file

<Tabs tabsClassName="permissions-page__tabs">
<Tab
data-testid="permissions-page-sites-tab"
name={t('sites')}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

locale should be removed from en.json file and all the translations file

textAlign={TextAlign.Center}
padding={4}
>
{t('snapConnections')}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same here , should locale should be removed

@darkwing darkwing added the amon-hen-v1 Represents blocking issues for the release of Amon Hen label Apr 20, 2024
@darkwing
Copy link
Copy Markdown
Contributor

@jonybur yarn verify-locales:fix should fix this PR.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.43%. Comparing base (c33c5df) to head (47da602).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #24099      +/-   ##
===========================================
- Coverage    67.46%   67.43%   -0.03%     
===========================================
  Files         1259     1259              
  Lines        49268    49255      -13     
  Branches     12826    12817       -9     
===========================================
- Hits         33238    33213      -25     
- Misses       16030    16042      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [8a9aa64]
Page Load Metrics (1123 ± 609 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint753831438340
domContentLoaded1382372110
load55298111231269609
domInteractive1382372110
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: -1.12 KiB (-0.02%)
  • common: -114 Bytes (-0.00%)

@EtherWizard33 EtherWizard33 self-requested a review April 23, 2024 12:47
Copy link
Copy Markdown
Contributor

@EtherWizard33 EtherWizard33 left a comment

Choose a reason for hiding this comment

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

lgtm

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [47da602]
Page Load Metrics (725 ± 539 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint661491002412
domContentLoaded95922105
load5628177251122539
domInteractive95922105
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: -1.12 KiB (-0.02%)
  • common: -114 Bytes (-0.00%)

@jonybur jonybur merged commit 0edd2da into develop Apr 26, 2024
@jonybur jonybur deleted the 23859-permissions-fix-remove-snaps branch April 26, 2024 12:29
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
@gauthierpetetin gauthierpetetin added the release-12.0.0 Issue or pull request that will be included in release 12.0.0 label Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

amon-hen-v1 Represents blocking issues for the release of Amon Hen needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. release-12.0.0 Issue or pull request that will be included in release 12.0.0 team-core-extension-ux Core Extension UX team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants