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

fix: Updated ButtonIcon disabled state #6892

Merged
merged 4 commits into from
Aug 30, 2023
Merged

Conversation

brianacnguyen
Copy link
Contributor

@brianacnguyen brianacnguyen commented Jul 25, 2023

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add needs-qa label when dev review is completed
  5. Add QA Passed label when QA has signed off

Description

  • Update ButtonIcon's disabled state
  • Also update ButtonIcon to probably disable

Screenshots/Recordings
Simulator Screen Shot - iPhone 14 Pro - 2023-06-29 at 10 08 19
Simulator Screen Shot - iPhone 14 Pro - 2023-06-29 at 10 08 22

Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-08-30.at.09.33.50.mp4

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

@brianacnguyen brianacnguyen added needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) team-design-system All issues relating to design system in Mobile labels Jul 25, 2023
@brianacnguyen brianacnguyen self-assigned this Jul 25, 2023
@brianacnguyen brianacnguyen requested a review from a team as a code owner July 25, 2023 05:16
@github-actions
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.

@brianacnguyen brianacnguyen changed the title Updated ButtonIcon disabled state fix: Updated ButtonIcon disabled state Aug 2, 2023
@georgewrmarshall
Copy link
Contributor

georgewrmarshall commented Aug 4, 2023

Can this be closed in favor of #6727?

@brianacnguyen
Copy link
Contributor Author

They were originally but I split them out to help get things in faster

@sonarcloud
Copy link

sonarcloud bot commented Aug 29, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

78.9% 78.9% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@codecov-commenter
Copy link

Codecov Report

Merging #6892 (0c4f8ce) into main (5dd296c) will increase coverage by 0.00%.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##             main    #6892   +/-   ##
=======================================
  Coverage   32.82%   32.83%           
=======================================
  Files         998      998           
  Lines       26671    26674    +3     
  Branches     2091     2092    +1     
=======================================
+ Hits         8755     8758    +3     
  Misses      17498    17498           
  Partials      418      418           
Files Changed Coverage Δ
...mponents/Buttons/ButtonIcon/ButtonIcon.stories.tsx 0.00% <0.00%> (ø)
...components/Buttons/ButtonIcon/ButtonIcon.styles.ts 66.66% <60.00%> (-33.34%) ⬇️
...brary/components/Buttons/ButtonIcon/ButtonIcon.tsx 75.00% <83.33%> (+9.78%) ⬆️

Copy link
Contributor

@tommasini tommasini left a comment

Choose a reason for hiding this comment

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

Hey @brianacnguyen, left a question!

If possible could you do as well a recording of button icons working on the app, and a small description of the change? <3

@brianacnguyen
Copy link
Contributor Author

Hey @brianacnguyen, left a question!

If possible could you do as well a recording of button icons working on the app, and a small description of the change? <3

will add this soon

Copy link
Contributor

@tommasini tommasini left a comment

Choose a reason for hiding this comment

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

LGTM!

@brianacnguyen brianacnguyen merged commit 7fa438e into main Aug 30, 2023
12 checks passed
@brianacnguyen brianacnguyen deleted the morph/icon-button branch August 30, 2023 17:02
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Aug 30, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2023
@metamaskbot metamaskbot added the release-7.7.0 Issue or pull request that will be included in release 7.7.0 label Aug 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.7.0 Issue or pull request that will be included in release 7.7.0 team-design-system All issues relating to design system in Mobile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants