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

[HOLD for payment 2023-12-18] [$500] Web - FAB Menu - FAB menu is overlapping with FAB icon #31632

Closed
1 of 6 tasks
kbecciv opened this issue Nov 21, 2023 · 28 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Nov 21, 2023

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: 1.4.1.5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Navigate to Staging.new.expensify.com
  2. Enter email address in 'Phone or email' input field & click on 'Continue' button
  3. Open 'Gmail' app
  4. Open email from Expensify and copy magic code
  5. Open the tab where you are signing in
  6. Paste the magic code in magic code input field

Expected Result:

FAB menu shouldn't overlap with FAB icon

Actual Result:

FAB menu overlaps with FAB icon

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e2251be8f45d0652
  • Upwork Job ID: 1726981704515780608
  • Last Price Increase: 2023-11-21
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 21, 2023
@melvin-bot melvin-bot bot changed the title Web - FAB Menu - FAB menu is overlapping with FAB icon [$500] Web - FAB Menu - FAB menu is overlapping with FAB icon Nov 21, 2023
Copy link

melvin-bot bot commented Nov 21, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01e2251be8f45d0652

Copy link

melvin-bot bot commented Nov 21, 2023

Triggered auto assignment to @muttmuure (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 21, 2023
Copy link

melvin-bot bot commented Nov 21, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Nov 21, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale (External)

@erquhart
Copy link
Contributor

erquhart commented Nov 21, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

The fab menu is overlapping the fab button.

What is the root cause of that problem?

The fab button was made larger within the last week, but the menu position was not changed. No special steps are required, the fab button is now always overlapped by the fab menu on desktop/web.

A week ago:
Screenshot 2023-11-21 at 10 23 28 AM

Today:
Screenshot 2023-11-21 at 10 24 41 AM

What changes do you think we should make in order to solve the problem?

Update the menu position to account for the larger fab button.

@shubham1206agra
Copy link
Contributor

shubham1206agra commented Nov 21, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue

Web - FAB Menu - FAB menu is overlapping with FAB icon

What is the root cause of that problem?

This is due to the createMenuPositionSidebar function returning height based on screen height, which supplies position to anchorPosition for PopoverMenu.

What changes do you think we should make in order to solve the problem?

Change createMenuPositionSidebar to (height can be fine-tuned later)

createMenuPositionSidebar: (windowHeight: number) =>
            ({
                horizontal: 18,
                vertical: windowHeight - 80,
            } satisfies AnchorPosition),

What alternative solutions did you explore? (Optional)

@tienifr
Copy link
Contributor

tienifr commented Nov 21, 2023

This PR #27660 makes that change, so I think it's changed on purpose

@situchan
Copy link
Contributor

This should be handled as regression.
cc: @WojtekBoman as you fixed FAB size in #31310

@shubham1206agra
Copy link
Contributor

cc @stitesExpensify

@WojtekBoman
Copy link
Contributor

This should be handled as regression. cc: @WojtekBoman as you fixed FAB size in #31310

I will prepare a fix for this issue

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 22, 2023
@WojtekBoman
Copy link
Contributor

#31679 - fix for this issue

Copy link

melvin-bot bot commented Nov 28, 2023

Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@jasperhuangg
Copy link
Contributor

PR still under review

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 11, 2023
@melvin-bot melvin-bot bot changed the title [$500] Web - FAB Menu - FAB menu is overlapping with FAB icon [HOLD for payment 2023-12-18] [$500] Web - FAB Menu - FAB menu is overlapping with FAB icon Dec 11, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 11, 2023
Copy link

melvin-bot bot commented Dec 11, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Dec 11, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.10-1 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 2023-12-18. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

  • @akinwale requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Dec 11, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@akinwale] The PR that introduced the bug has been identified. Link to the PR:
  • [@akinwale] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@akinwale] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@akinwale] Determine if we should create a regression test for this bug.
  • [@akinwale] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@muttmuure] Link the GH issue for creating/updating the regression test once above steps have been agreed upon: https://github.com/Expensify/Expensify/issues/357331

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 18, 2023
@akinwale
Copy link
Contributor

  • [@akinwale] The PR that introduced the bug has been identified. Link to the PR:
  • [@akinwale] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@akinwale] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

#31310
The size of the FAB menu was changed, but the position was not adjusted. No additional steps need to be taken since this was an omission where styles were not updated.

  • [@akinwale] Determine if we should create a regression test for this bug.
  • [@akinwale] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Steps

  1. Launch the Expensify app on desktop or web, and login if not currently signed in.
  2. Click on the FAB icon.
  3. Verify that the FAB menu does not overlap the FAB icon.

Do we agree 👍 or 👎?

@melvin-bot melvin-bot bot added the Overdue label Dec 21, 2023
Copy link

melvin-bot bot commented Dec 22, 2023

@akinwale, @jasperhuangg, @muttmuure Whoops! This issue is 2 days overdue. Let's get this updated quick!

Copy link

melvin-bot bot commented Dec 26, 2023

@akinwale, @jasperhuangg, @muttmuure 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Copy link

melvin-bot bot commented Dec 28, 2023

@akinwale, @jasperhuangg, @muttmuure Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

Copy link

melvin-bot bot commented Jan 1, 2024

@akinwale, @jasperhuangg, @muttmuure 12 days overdue. Walking. Toward. The. Light...

1 similar comment
Copy link

melvin-bot bot commented Jan 1, 2024

@akinwale, @jasperhuangg, @muttmuure 12 days overdue. Walking. Toward. The. Light...

@jasperhuangg
Copy link
Contributor

Bump @muttmuure! I think we just need to create the issue for the regression test and we should be good to close this out!

@melvin-bot melvin-bot bot removed the Overdue label Jan 2, 2024
@akinwale
Copy link
Contributor

akinwale commented Jan 2, 2024

@muttmuure It looks like I haven't received payment for this yet. Searched through allcontracts on Upwork.

@muttmuure
Copy link
Contributor

@akinwale I've invited you to a new job:

https://www.upwork.com/jobs/~01916842f8437112a1

@akinwale
Copy link
Contributor

akinwale commented Jan 4, 2024

@akinwale I've invited you to a new job:

https://www.upwork.com/jobs/~01916842f8437112a1

@muttmuure I can't access it. It still shows up as a private listing.

@akinwale
Copy link
Contributor

akinwale commented Jan 4, 2024

@muttmuure I finally got the invite. I have submitted my proposal.

@muttmuure
Copy link
Contributor

Paid up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

9 participants