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

New Settings: Show extension in full size view #22383

Merged
merged 5 commits into from
Jan 12, 2024
Merged

New Settings: Show extension in full size view #22383

merged 5 commits into from
Jan 12, 2024

Conversation

dan437
Copy link
Contributor

@dan437 dan437 commented Dec 22, 2023

Description

There are people who love to use the extension in the full size view. It's a bit time consuming to always click in the extension on three dots and then on Expand view. With this new setting the extension will open in the full size view after clicking on the extension icon (except if a 3rd party opens it, e.g. signing a Swap on Uniswap with MetaMask).

Screenshots/Recordings

image

Testing

  • Open the extension
  • Go to Settings -> Advanced
  • Enable "Show extension in full size view"
  • Click outside of the extension popup to close it
  • Click on the MetaMask extension icon again, it will open in full size view

@dan437 dan437 requested a review from a team as a code owner December 22, 2023 13:03
Copy link
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.

@metamaskbot metamaskbot added the INVALID-PR-TEMPLATE PR's body doesn't match template label Dec 22, 2023
@dan437 dan437 force-pushed the full-size-view branch 2 times, most recently from c33cd4a to fcd5fdf Compare January 5, 2024 16:46
@dan437 dan437 added release-11.9.0 Issue or pull request that will be included in release 11.9.0 area-settings labels Jan 8, 2024
@dan437 dan437 force-pushed the full-size-view branch 2 times, most recently from 17733e5 to 4b59fc0 Compare January 9, 2024 12:12
@dan437 dan437 added team-swaps and removed INVALID-PR-TEMPLATE PR's body doesn't match template labels Jan 9, 2024
@darkwing
Copy link
Contributor

darkwing commented Jan 9, 2024

Great feature addition!

@DDDDDanica
Copy link
Contributor

LGTM ! Just need to update the snapshot for e2e test

One question: is it possible to append some e2e tests for this new feature ?

Copy link
Contributor

@digiwand digiwand left a comment

Choose a reason for hiding this comment

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

Lgtm! +1 on @DDDDDanica's comment above regarding tests

@@ -13,6 +13,7 @@ import {
setFeatureFlag,
setShowFiatConversionOnTestnetsPreference,
setShowTestNetworks,
setShowExtensionInFullSizeView,
Copy link
Contributor

Choose a reason for hiding this comment

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

[super nit] placement breaks alphabetical prop ordering here and other places above

@dan437 dan437 force-pushed the full-size-view branch 6 times, most recently from 1b5d411 to 0661b11 Compare January 12, 2024 15:03
@metamaskbot
Copy link
Collaborator

Builds ready [759cbd0]
Page Load Metrics (1327 ± 138 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint903311797737
domContentLoaded10251758943
load98819511327287138
domInteractive10250758943
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 62 Bytes (0.00%)
  • ui: 1.79 KiB (0.03%)
  • common: 239 Bytes (0.00%)

Copy link
Contributor

@digiwand digiwand left a comment

Choose a reason for hiding this comment

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

Lgtm!

@dan437 dan437 merged commit 0851ab2 into develop Jan 12, 2024
67 of 68 checks passed
@dan437 dan437 deleted the full-size-view branch January 12, 2024 16:55
@github-actions github-actions bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-settings release-11.9.0 Issue or pull request that will be included in release 11.9.0 team-swaps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants