-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-03-10] [$250] Cards - No space between last selection and next button #56963
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
Comments
Triggered auto assignment to @dylanexpensify ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-17 18:00:04 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Issue card and assign card selecting member design is inconsistent. No space between last selection and next button What is the root cause of that problem?We are not adding margin bottom to this selection list or adding margin top to confirm button App/src/pages/workspace/companyCards/assignCard/AssigneeStep.tsx Lines 182 to 200 in 37de406
App/src/pages/workspace/companyCards/assignCard/CardSelectionStep.tsx Lines 166 to 173 in 37de406
What changes do you think we should make in order to solve the problem?We can add App/src/pages/workspace/companyCards/assignCard/AssigneeStep.tsx Lines 193 to 200 in 37de406
App/src/pages/workspace/companyCards/assignCard/CardSelectionStep.tsx Lines 166 to 173 in 37de406
Or we can add Note: some minor styles can be discuss in PR phase What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)NA Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Cards - No space between last selection and next button What is the root cause of that problem?There is no spacing above the confirm button, causing the last item in the list and the confirm button to appear too close together. App/src/pages/workspace/companyCards/assignCard/AssigneeStep.tsx Lines 182 to 200 in 37de406
App/src/pages/workspace/companyCards/assignCard/CardSelectionStep.tsx Lines 132 to 174 in 37de406
What changes do you think we should make to solve the problem?We should add a margin top to the containerStyles of the confirm button. Note: The margin top should only be added when there is no error message, as the error message already has its own spacing. App/src/pages/workspace/companyCards/assignCard/AssigneeStep.tsx Lines 193 to 200 in 37de406
containerStyles={[styles.ph5, !shouldShowError && styles.mt5]} App/src/pages/workspace/companyCards/assignCard/CardSelectionStep.tsx Lines 166 to 173 in 37de406
containerStyles={[styles.ph5, !shouldShowError && styles.mt5]} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A, UI bug What alternative solutions did you explore? (Optional)We can add !shouldShowError && styles.mt5 to buttonStyles instead containerStyles |
@lanitochka17 is this only with a tester account? |
Job added to Upwork: https://www.upwork.com/jobs/~021892535268930867316 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
@dylanexpensify This issue occurs with two more testers screen-20250217-193743.mp4 |
@nkdengineer @linhvovan29546 are you able to add a company cards? If yes, please let me know the steps? |
I'm mocking data and updating the code to force these pages to display. |
@ahmedGaber93 you can add more members to that workspace and hard code
Note: the main idea to fix OP bug is to add margin-top to the 2 positions that I mentioned in the proposal. Other minor styles can be discussed in PR phase. |
Thanks both for help 🙏 |
Thanks all for the proposal. The both proposal suggest adding margin top for @linhvovan29546's proposal by adding conditionally margin top when no error displayed LGTM! 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Julesssss, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @linhvovan29546 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready for review! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.7-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-10. 🎊 For reference, here are some details about the assignees on this issue:
|
@ahmedGaber93 @dylanexpensify @ahmedGaber93 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Nice! Coming up! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
No need for regression test here, it is simple UI fix. |
Paying today! |
Payment summary: Contributor: @linhvovan29546 $250 via Upwork Please apply/request! |
$250 approved for @ahmedGaber93 |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.99-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Issue card and assign card selecting member design must be consistent. There must be space between last selection and next button
Actual Result:
Issue card and assign card selecting member design is inconsistent. No space between last selection and next button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6745932_1739812109269.Screenrecorder-2025-02-17-22-27-00-709.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dylanexpensifyThe text was updated successfully, but these errors were encountered: