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 2022-12-22] [$1000] mWeb - Workspace - The error text message extends beyond the screen #13505

Closed
kbecciv opened this issue Dec 10, 2022 · 32 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 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@kbecciv
Copy link

kbecciv commented Dec 10, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Login with the same account on 2 different devices
  2. On device 1 (mWeb/Chrome) go to settings > workspaces
  3. Open a workspace
  4. Now at device 2 (Web) go to the same workspace and delete it
  5. Immediately delete the same workspace on device 1 (mWeb/Chrome)

Expected Result:

The text error message does NOT extend beyond the screen

Actual Result:

The error text message extends beyond the screen

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Mobile Web

Version Number: 1.2.38.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5857847_video_2022-12-10_19-01-00.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ada03f592418685a
  • Upwork Job ID: 1602380086319108096
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 10, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 10, 2022

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

@situchan
Copy link
Contributor

situchan commented Dec 10, 2022

Proposal

This is a regression from #13475 which fixes #13466

Here's the solution to fix this GH without reverting #13475:

https://github.com/Expensify/App/blob/main/src/components/OfflineWithFeedback.js#L105-L117

                <View style={StyleUtils.combineStyles(styles.offlineFeedback.error, props.errorRowStyles)}>
-                   <DotIndicatorMessage messages={props.errors} type="error" />
+                   <DotIndicatorMessage style={[styles.flex1]} messages={props.errors} type="error" />
                    <Tooltip text={props.translate('common.close')}>
                        <Pressable
                            onPress={props.onClose}
                            style={[styles.touchableButtonImage, styles.mr0]}
                            accessibilityRole="button"
                            accessibilityLabel={props.translate('common.close')}
                        >
                            <Icon src={Expensicons.Close} />
                        </Pressable>
                    </Tooltip>
                </View>

@melvin-bot
Copy link

melvin-bot bot commented Dec 11, 2022

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@pecanoro pecanoro self-assigned this Dec 12, 2022
@pecanoro pecanoro added the External Added to denote the issue can be worked on by a contributor label Dec 12, 2022
@pecanoro
Copy link
Contributor

Taking over as CME to move things faster.

@melvin-bot melvin-bot bot added the Overdue label Dec 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

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

@melvin-bot melvin-bot bot changed the title mWeb - Workspace - The error text message extends beyond the screen [$1000] mWeb - Workspace - The error text message extends beyond the screen Dec 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

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

@pecanoro
Copy link
Contributor

@situchan your proposal sounds good, did you make sure your proposal does not get any regressions related to the rest of the one-dot indicators? What about the original issue? Does the message still show?

@melvin-bot melvin-bot bot removed the Overdue label Dec 12, 2022
@situchan
Copy link
Contributor

situchan commented Dec 12, 2022

@situchan your proposal sounds good, did you make sure your proposal does not get any regressions related to the rest of the one-dot indicators? What about the original issue? Does the message still show?

yes I tested all the cases.
The issue happens only when parent view of DotIndicatorMessage has style with flexDirection: row and this case flex: 1 should be applied to DotIndicatorMessage

@pecanoro
Copy link
Contributor

@situchan Great! Since it's a deploy blocker here, I will assign you so we can have a PR asap.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

📣 @situchan You have been assigned to this job by @pecanoro!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@pecanoro
Copy link
Contributor

@situchan Since it's a deploy blocker, do you think you can get a PR today in the next couple of hours so that we can merge? Otherwise, I will have to take over since it's blocking us.

@pecanoro
Copy link
Contributor

Also, take into account that there is a bonus if a PR gets merged within 3 business days if that is an incentive to get it ready asap 😄

@chiragsalian
Copy link
Contributor

@situchan so how's the progress here and when can we expect a PR?

@situchan
Copy link
Contributor

@situchan so how's the progress here and when can we expect a PR?

in 30 min

@situchan
Copy link
Contributor

@pecanoro PR is ready

@KamoEllen

This comment was marked as off-topic.

@pecanoro pecanoro added the Reviewing Has a PR in review label Dec 13, 2022
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Dec 13, 2022
@melvin-bot melvin-bot bot changed the title [$1000] mWeb - Workspace - The error text message extends beyond the screen [HOLD for payment 2022-12-20] [$1000] mWeb - Workspace - The error text message extends beyond the screen Dec 13, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 13, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.38-6 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 2022-12-20. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • 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 Dec 13, 2022

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:

@Santhosh-Sellavel
Copy link
Collaborator

Regression caused by this #13475, we have it found here already

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Dec 15, 2022
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2022-12-20] [$1000] mWeb - Workspace - The error text message extends beyond the screen [HOLD for payment 2022-12-22] [HOLD for payment 2022-12-20] [$1000] mWeb - Workspace - The error text message extends beyond the screen Dec 15, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 15, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.39-0 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 2022-12-22. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • 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 melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 20, 2022
@Santhosh-Sellavel
Copy link
Collaborator

@maddylewis bump on payment!

@Expensify Expensify deleted a comment from melvin-bot bot Dec 22, 2022
@pecanoro
Copy link
Contributor

No need for "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." since there is actually a bullet point for it already that was missed 😅

@maddylewis
Copy link
Contributor

@Santhosh-Sellavel @situchan - can you apply to the job so that i can process payment?
https://www.upwork.com/jobs/~01ada03f592418685a

@situchan
Copy link
Contributor

@maddylewis applied. thank you

@pecanoro
Copy link
Contributor

[@maddylewis] A regression test has been added or updated so that the same bug will not reach production again.

@maddylewis For the regression test you need to follow the steps here to double-check in TestRail.

@Santhosh-Sellavel
Copy link
Collaborator

@maddylewis Applied for the job!

@mallenexpensify mallenexpensify changed the title [HOLD for payment 2022-12-22] [HOLD for payment 2022-12-20] [$1000] mWeb - Workspace - The error text message extends beyond the screen [HOLD for payment 2022-12-22] [$1000] mWeb - Workspace - The error text message extends beyond the screen Dec 24, 2022
@mallenexpensify
Copy link
Contributor

Looks like the PR was merged the same day @situchan was hired (not sure I've seen that before, nice work)
Paid @situchan $1500 which includes the 50% bonus.
Hired @Santhosh-Sellavel can you please accept the job and reply here once you have?

@Santhosh-Sellavel
Copy link
Collaborator

Done!

@mallenexpensify
Copy link
Contributor

Paid @Santhosh-Sellavel $1500. Closing. I closed the below issue in favor of this one too, they were fixed by same PR.

#13510 (comment)

@maddylewis
Copy link
Contributor

i appreciate the assist @mallenexpensify - thank you!

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 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

8 participants