-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Approve Screen Design QA #1390
Conversation
7431298
to
1b0e5d5
Compare
There was a problem hiding this 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%', |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, not approve
There was a problem hiding this comment.
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.
There was a problem hiding this 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
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. |
338f069
to
c65141a
Compare
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 The blue check mark on smaller screens: Here's iPhone SE: Here's Nexus S: And the "E" for "AVERAGE" on this view: which is happening on both iPhone SE and Nexus S steps to get to this view:
|
good catch @ibrahimtaveras00 ! I'll have a look at this asap! |
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. Figma file |
There was a problem hiding this 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
Closing this and will open a new PR with this work as well as the new work suggested in #1390 (comment) |
Changes to the gas selection button group as requested here: #1390 (comment)
Changes to the gas selection button group as requested here: MetaMask/metamask-mobile#1390 (comment)
Description
re: #1330
Approve
Approve 2
Edit Transaction Fee
Edit Transaction Fee 2
Edit Permission
I've also removed the
ApproveSuccess
screenChecklist
Issue
Resolves #1330