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-07-21] [$2000] Web - Quick actions menu is below the welcome message when user invited to a room #19836

Closed
1 of 6 tasks
kbecciv opened this issue May 30, 2023 · 76 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented May 30, 2023

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:

Pre-req: open the latest version of Safari browser on iOS mac. Then make the browser full screen mode.

  1. From Account A, make a room (public)
  2. Set the Welcome message that has a word wrapped in backticks, as the following:
Hello
  1. Copy the link to the room
  2. Copy the link to safari and join from account B.
  3. Post a message
  4. Hover on the message

Expected Result:

The quick actions menu should be displayed on top of the upper welcome message

Actual Result:

The quick actions menu is cut off due to the welcome message on safari

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Safari
  • MacOS / Desktop

Version Number: 1.3.20.1

Reproducible in staging?: yes

Reproducible in production?: yes

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

Notes/Photos/Videos: Any additional supporting documentation

Screen.Recording.2023-05-27.at.1.48.01.PM.mov

Expensify/Expensify Issue URL:

Issue reported by: @esh-g

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685176705589209

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c2648eb123a606dc
  • Upwork Job ID: 1664832387031658496
  • Last Price Increase: 2023-06-26
@kbecciv kbecciv added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. labels May 30, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 30, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 30, 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

@esh-g
Copy link
Contributor

esh-g commented May 30, 2023

The welcome message should be: (Just anything with the code syntax)
```
Hello
```

@sethraj14
Copy link

@michaelhaxhiu @esh-g Unable to reproduce this issue, but found another issue while debugging this issue.

Welcome message shows empty spaces and does not trim the message.

Screenshot 2023-05-31 at 4 09 58 AM

This can be fixed using this proposal -

Proposal

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

Empty space in the welcome message.

What is the root cause of that problem?

There is not trimming of welcome message.

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

We should trim the Welcome message before saving in this function -

    const submitForm = useCallback(() => {
        Report.updateWelcomeMessage(props.report.reportID, props.report.welcomeMessage, welcomeMessage.trim());
    }, [props.report.reportID, props.report.welcomeMessage, welcomeMessage]);

This will trim the welcome message and will not show empty messages.

What alternative solutions did you explore? (Optional)

@esh-g
Copy link
Contributor

esh-g commented Jun 1, 2023

@sethraj14 Are you on Safari?

@melvin-bot melvin-bot bot added the Overdue label Jun 1, 2023
@sethraj14
Copy link

@esh-g Yes tried on safari as well.

@melvin-bot
Copy link

melvin-bot bot commented Jun 2, 2023

@michaelhaxhiu Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@michaelhaxhiu
Copy link
Contributor

Hmm this is an issue with backticks it seems 🤔. @esh-g did you manage to reproduce without backticks or only when those are used?

@melvin-bot melvin-bot bot removed the Overdue label Jun 2, 2023
@esh-g
Copy link
Contributor

esh-g commented Jun 3, 2023

@michaelhaxhiu I was able to repro with backticks only..

@michaelhaxhiu michaelhaxhiu added the External Added to denote the issue can be worked on by a contributor label Jun 3, 2023
@melvin-bot melvin-bot bot changed the title Web - Quick actions menu is below the welcome message when user invited to a room [$1000] Web - Quick actions menu is below the welcome message when user invited to a room Jun 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

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

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

melvin-bot bot commented Jun 3, 2023

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

@HaiderKeshwani
Copy link

Hi,
I think this could be an issue due to z-index. Maybe increasing the z-index of the quick actions of the below message can solve it, or even decreasing the Welcome message z-index can also work.

@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

📣 @HaiderKeshwani! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@HaiderKeshwani
Copy link

Contributor details
Your Expensify account email: [email protected]
Upwork Profile Link: https://www.upwork.com/freelancers/~017c967b928c091725

@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@sethraj14
Copy link

Finally able to reproduce the issue, it is only happening in a safari full-screen mode. Very specific and also happens intermittently, if you hover back and forth a few times over the welcome message and new message, the issue sometimes disappears.

FYI @mananjadhav @esh-g @michaelhaxhiu

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jul 5, 2023
@ginsuma
Copy link
Contributor

ginsuma commented Jul 5, 2023

#22268 PR is up.
cc: @mananjadhav

@melvin-bot
Copy link

melvin-bot bot commented Jul 12, 2023

@deetergp, @mananjadhav, @flodnv, @ginsuma, @michaelhaxhiu Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@deetergp
Copy link
Contributor

Keep your shirt on Melvin, the PR is under review.

@michaelhaxhiu
Copy link
Contributor

😂

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jul 14, 2023
@melvin-bot melvin-bot bot changed the title [$2000] Web - Quick actions menu is below the welcome message when user invited to a room [HOLD for payment 2023-07-21] [$2000] Web - Quick actions menu is below the welcome message when user invited to a room Jul 14, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.40-5 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-07-21. 🎊

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 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:

  • [@mananjadhav] The PR that introduced the bug has been identified. Link to the PR:
  • [@mananjadhav] 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:
  • [@mananjadhav] 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:
  • [@mananjadhav] Determine if we should create a regression test for this bug.
  • [@mananjadhav] 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.
  • [@michaelhaxhiu] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@mananjadhav
Copy link
Collaborator

Because this is a very platform specific change, and with a specific scenario (full-screen), I don't think we can link it to any offending PR.

Neither I am sure if we should be adding Full Screen Safari, to the checklist? . Lastly, I think we don't need a regression test for this scenario? Open to feedback here. @michaelhaxhiu @deetergp wdyt?

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 20, 2023
@michaelhaxhiu
Copy link
Contributor

michaelhaxhiu commented Jul 21, 2023

Pay day on a friday 😸! Summary:

  • @esh-g External issue reporter $250
  • @ginsuma Contributor that fixed the issue $2000
  • @mananjadhav Contributor+ that helped on the issue and/or PR - paid via newDot $2000

@michaelhaxhiu
Copy link
Contributor

New upwork job link (last one expired) - https://www.upwork.com/jobs/~010aae0f1247cf26f2

@michaelhaxhiu
Copy link
Contributor

@ginsuma & @esh-g can you please apply for this job? I can't find your upwork profiles

@ginsuma
Copy link
Contributor

ginsuma commented Jul 21, 2023

@michaelhaxhiu I applied.

@mananjadhav
Copy link
Collaborator

mananjadhav commented Jul 21, 2023

I accidentally only raised for 1500. Adding another request of 500. I thought it was a $1K job and the bonus applied, because I counted from PR date. But we calc from assigned time.

@anmurali You might see two requests - 1500 and 500 for this one. 🤦

@esh-g
Copy link
Contributor

esh-g commented Jul 22, 2023

@michaelhaxhiu Applied on upwork! This is my profile: https://www.upwork.com/freelancers/tanyag4

@anmurali
Copy link

Approved $1500 + $500 for this job

@melvin-bot melvin-bot bot added the Overdue label Jul 24, 2023
@michaelhaxhiu
Copy link
Contributor

Just waiting for @esh-g to accept my offer and then I can pay/close this.

@melvin-bot melvin-bot bot removed the Overdue label Jul 24, 2023
@esh-g
Copy link
Contributor

esh-g commented Jul 24, 2023

@michaelhaxhiu Thanks! I accepted the offer

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 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests