Skip to content

fix(snaps): Set proper text color for secondary button#27335

Merged
GuillaumeRx merged 2 commits intodevelopfrom
gr/fix-snap-footer-button
Sep 27, 2024
Merged

fix(snaps): Set proper text color for secondary button#27335
GuillaumeRx merged 2 commits intodevelopfrom
gr/fix-snap-footer-button

Conversation

@GuillaumeRx
Copy link
Copy Markdown
Contributor

@GuillaumeRx GuillaumeRx commented Sep 23, 2024

Description

This PR fixes the button in snaps footer of type secondary having the wrong text color on hover.

It also fixes a wrong variant if the interface on had one action provided in the footer.
Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. edit the getHideSnapBranding to return true
  2. go to test snap and use the preinstalled example snap

Screenshots/Recordings

Pre-merge author checklist

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.

@GuillaumeRx GuillaumeRx requested a review from a team as a code owner September 23, 2024 13:16
@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.

@github-actions github-actions bot added the team-snaps-platform-deprecated DEPRECATED: please use "team-core-platform" instead (or "team-new-networks" for Solana snap issues) label Sep 23, 2024
hmalik88
hmalik88 previously approved these changes Sep 23, 2024
Copy link
Copy Markdown
Member

@Mrtenz Mrtenz left a comment

Choose a reason for hiding this comment

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

Can you fix the cursor issue too?

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [ab0f362]
Page Load Metrics (1697 ± 74 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint12422211562477229
domContentLoaded15072074165712761
load15272150169715474
domInteractive12132413416
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 52 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@GuillaumeRx GuillaumeRx force-pushed the gr/fix-snap-footer-button branch from ab0f362 to 6b3c232 Compare September 26, 2024 14:16
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [6b3c232]
Page Load Metrics (1845 ± 88 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint25023011699509245
domContentLoaded16462292181617283
load16552300184518388
domInteractive15122422412
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 52 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@GuillaumeRx GuillaumeRx force-pushed the gr/fix-snap-footer-button branch from 6b3c232 to cd8c5c4 Compare September 27, 2024 12:54
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [cd8c5c4]
Page Load Metrics (1772 ± 59 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint27722071708357172
domContentLoaded15612044174711857
load15702087177212359
domInteractive198145199
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 52 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@GuillaumeRx GuillaumeRx merged commit 1fec98f into develop Sep 27, 2024
@GuillaumeRx GuillaumeRx deleted the gr/fix-snap-footer-button branch September 27, 2024 16:04
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2024
@metamaskbot metamaskbot added the release-12.6.0 Issue or pull request that will be included in release 12.6.0 label Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-12.6.0 Issue or pull request that will be included in release 12.6.0 team-snaps-platform-deprecated DEPRECATED: please use "team-core-platform" instead (or "team-new-networks" for Solana snap issues)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants