Skip to content

Approve Screen Design QA #1390

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

Closed
wants to merge 6 commits into from
Closed

Conversation

rickycodes
Copy link
Contributor

@rickycodes rickycodes commented Feb 28, 2020

Description

re: #1330

Approve

image

Approve 2

image

Edit Transaction Fee

image

Edit Transaction Fee 2

image

Edit Permission

image

I've also removed the ApproveSuccess screen

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented (not applicable, nothing was added)
  • Use 24px padding (or as low as 22px for smaller screen) to the left and right of the screen.
  • This includes address bar and large cancel/approve buttons.
  • The modal window looks like it goes over 24px.
  • Remove confirm page.
  • Include screen shots.

Issue

Resolves #1330

@rickycodes rickycodes changed the title Adjust padding Approve Screen Design QA Feb 28, 2020
@rickycodes rickycodes force-pushed the approve-screen-design-qa branch from 7431298 to 1b0e5d5 Compare March 1, 2020 00:42
@rickycodes rickycodes marked this pull request as ready for review March 1, 2020 20:07
@rickycodes rickycodes added the needs-qa Any New Features that needs a full manual QA prior to being added to a release. label Mar 1, 2020
@rickycodes rickycodes requested review from cjeria and estebanmino March 1, 2020 20:08
Copy link

@cjeria cjeria left a comment

Choose a reason for hiding this comment

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

LGTM

},
modalContainer: {
width: '90%',
width: '100%',
Copy link
Contributor

Choose a reason for hiding this comment

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

this component is used in other places of the app not only here, is this working everywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, it's working as expected everywhere. I actually tested it via the Send Feedback link as well (since that's easier to get to).

@@ -12,7 +12,8 @@ const styles = StyleSheet.create({
borderTopWidth: 1,
flex: 0,
flexDirection: 'row',
padding: 16
paddingVertical: 16,
paddingHorizontal: 24
Copy link
Contributor

Choose a reason for hiding this comment

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

same here, component re used in other places

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we still want the same padding regardless of where it's used

right: 15,
left: 15,
right: 24,
left: 24,
Copy link
Contributor

Choose a reason for hiding this comment

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

this component is not related to approve screen, there are other updates as well?

Copy link
Contributor Author

@rickycodes rickycodes Mar 3, 2020

Choose a reason for hiding this comment

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

you're right that this one is not in the screens included in the PR, but the spacing on these still needed to be adjusted to match

@@ -138,7 +138,7 @@ const styles = StyleSheet.create({
borderColor: colors.grey100,
borderRightWidth: 1,
paddingRight: 35,
paddingLeft: 20
paddingLeft: 24
Copy link
Contributor

Choose a reason for hiding this comment

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

same here, not approve

Copy link
Contributor Author

@rickycodes rickycodes Mar 3, 2020

Choose a reason for hiding this comment

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

the from graphic is in the screens and needed to be moved over slightly to fall into the same grid alignment.

Copy link
Contributor

@estebanmino estebanmino left a comment

Choose a reason for hiding this comment

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

looks good, my only doubt is I see changes in other places that aren't related to approve screen

@rickycodes
Copy link
Contributor Author

rickycodes commented Mar 3, 2020

I've addressed your feedback. there are a couple spacing changes that are unrelated to the approve screen, but this spacing should be consistent throughout the application.

@rickycodes rickycodes force-pushed the approve-screen-design-qa branch from 338f069 to c65141a Compare March 3, 2020 19:42
@ibrahimtaveras00
Copy link
Contributor

ibrahimtaveras00 commented Mar 4, 2020

I checked on various screen sizes on both OS's and the only issues I could find are the following:

Happening on a smaller screen (iPhone SE) but looks fine on the small screen on Nexus S

Screen Shot 2020-03-04 at 3 09 04 PM

The blue check mark on smaller screens:

Here's iPhone SE:

Screen Shot 2020-03-04 at 3 30 08 PM

Here's Nexus S:

Screen Shot 2020-03-04 at 3 37 38 PM

And the "E" for "AVERAGE" on this view:

Screen Shot 2020-03-04 at 3 36 10 PM

which is happening on both iPhone SE and Nexus S

steps to get to this view:

  • go to browser
  • switch to ropsten network
  • go to https://faucet.metamask.io/
  • after connecting attempt to donate some ETH
  • on confirm view, tap on Edit on the top left

@cjeria
Copy link

cjeria commented Mar 4, 2020

good catch @ibrahimtaveras00 ! I'll have a look at this asap!

@cjeria
Copy link

cjeria commented Mar 5, 2020

Here are suggested solutions to all of the above UI bugs and link to figma file below. Let me know if there are any questions! cc @rickycodes . We could ignore the new button styles for now since it's out of scope, but we'll eventually want to update them.
image

Figma file
https://www.figma.com/file/1aRs60GBYLLlBkReWg3XSA/Gas-selection-button-group?node-id=1%3A281

Copy link
Contributor

@estebanmino estebanmino left a comment

Choose a reason for hiding this comment

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

From yesterday's conversations, for this PR we have to address #1390 (comment) and apply @cjeria design in a separate PR

@rickycodes
Copy link
Contributor Author

Closing this and will open a new PR with this work as well as the new work suggested in #1390 (comment)

@rickycodes rickycodes closed this Mar 11, 2020
rickycodes added a commit that referenced this pull request Mar 27, 2020
Changes to the gas selection button group as requested here: #1390 (comment)
cronny25 pushed a commit to cronny25/metamask-mobile that referenced this pull request Jul 27, 2022
Changes to the gas selection button group as requested here: MetaMask/metamask-mobile#1390 (comment)
@rickycodes rickycodes deleted the approve-screen-design-qa branch November 21, 2022 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-qa Any New Features that needs a full manual QA prior to being added to a release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design QA
4 participants