[HOLD for payment 2021-11-29] [HOLD for payment 2021-11-22] Payments - Improve payments option floating menu design - Reported by: @Santhosh-Sellavel
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
- Navigate to payments
- Click on add new payment method
Expected Result:
Floating menu should have a good and balanced design
Actual Result:
Floating menu needs a bit of tweaks for a more balanced design.
Workaround:
N/A, visual issue.
Platform:
Where is this issue occurring?
- Web
- Desktop App
Version Number: 1.1.8-0
Reproducible in staging?: Yes Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1634144159225800
Triggered auto assignment to @joelbettner (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Triggered auto assignment to @sylveawong (Design), see these Stack Overflow questions for more details.
This looks like a good candidate for an External label.
Triggered auto assignment to @kevinksullivan (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
removing myself and tagging @shawnborton and @michelle-thompson to work on this!
Well! https://github.com/Expensify/App/issues/5915 seems like a minor change and can be merged into a single issue.
I think we can easily solve this by just adding more padding to the right side of these options on desktop.
The outcome is decided here:
Add right padding of 60.
Proposal
- In spacing.js add a new spacing for paddingRight
60,
pr15: {
paddingRight: 60,
},
- We need to modify the below lines to add padding. https://github.com/Expensify/App/blob/b7e9054d73b80a01aa1679d57f723a4d3d8161ac/src/pages/settings/Payments/PaymentsPage.js#L141-L150
We can add padding in two ways here.
The first way
We can just pass the prop wrapperStyle={styles.pr15} to both MenuItem components.
Second way
We can just need to move both menu options into a container and style there. Like below,
<View style={styles.pr15}>
// Move MenuItems here
</View>
Adding the right padding does not affect anything visually in mobile, but still, we can remove the style using windowDimensionProps isSmallScreenWidth if needed.
Looks good to me!
Job posted @Santhosh-Sellavel feel free to apply and I'll hire you!
https://www.upwork.com/jobs/~019b7a61e42f7c39f7
Triggered auto assignment to @deetergp (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Applied for the job! @kevinksullivan
Hired 👍
Thanks! @kevinksullivan
@deetergp Here is my proposal https://github.com/Expensify/App/issues/5906#issuecomment-948999691 Can you review it let me know which way you prefer, whether I can start PR?
@deetergp bump
@Santhosh-Sellavel I think the second way is a little cleaner so let's go with that. Thanks!
Not overdue
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.14-4 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
- https://github.com/Expensify/App/pull/6196
- https://github.com/Expensify/App/pull/6237
If no regressions arise, payment will be issued on 2021-11-22. :confetti_ball:
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.15-15 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
- https://github.com/Expensify/App/pull/6237
If no regressions arise, payment will be issued on 2021-11-29. :confetti_ball:
Mention PR for this issue has been deployed earlier.
1st deploy https://github.com/Expensify/App/pull/6237#issuecomment-969396123
2nd deploy Deployed again two days ago https://github.com/Expensify/App/pull/6237#issuecomment-975879438
The payment was due on 22 Nov. it's updated to 29 Nov.
Can someone clarify what's wrong here, why it is deployed twice!