You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-02-05] [$500] Chat - "Start a chat, get 250$" popup blocks recent contacts #32499
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2DesignEngineeringInternalRequires API changes or must be handled by Expensify staff
Version Number: 1.4.8.0 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:
changed the title [-]Chat - "Start a chat, get 250$" popup blocks recent contacts[/-][+][$500] Chat - "Start a chat, get 250$" popup blocks recent contacts[/+]on Dec 5, 2023
Please re-state the problem that we are trying to solve in this issue.
The "start a chart" referral overlaps a good size of the screen while keyboard is focused on mobile
What is the root cause of that problem?
The "start a chart" referral component is designed to be sticky/fixed positioned, thus, it remains visible at all times regardless of input being focused
What changes do you think we should make in order to solve the problem?
If the field is being focused, the The "start a chart" referral component would not behave as being sticky/fixed
What alternative solutions did you explore? (Optional)
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.
Based on the latest discussion, we want to make the referral banner dismissable.
Define a state to control the visibility of the banner isReferralCTAVisible (I spotted that the shouldShowReferallModal state here and its setter here seem redundant, we can use them here).
Replace the Info icon with Close icon and wrapped it around PressableWithoutFeedback set with onPress to set the visibility state.
If we don't want to lose focus on the text input after pressing the close icon, we can add e.preventDefault to onMouseDown of the above Pressable.
📣 @gijoe0295! 📣
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:
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.
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.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
changed the title [-][$500] Chat - "Start a chat, get 250$" popup blocks recent contacts[/-][+][HOLD for payment 2024-02-05] [$500] Chat - "Start a chat, get 250$" popup blocks recent contacts[/+]on Jan 29, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.32-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
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:
[@abdulrahuman5196] The PR that introduced the bug has been identified. Link to the PR:
[@abdulrahuman5196] 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:
[@abdulrahuman5196] 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:
[@abdulrahuman5196] Determine if we should create a regression test for this bug.
[@abdulrahuman5196] 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.
[@slafortune] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
The PR that introduced the bug has been identified. Link to the PR:
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:
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:
Not a regression. Feature update.
Determine if we should create a regression test for this bug.
Yes.
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.
Press FAB >> Start chat
Press close referral banner
Verify the banner is closed
Verify the text input remains focused
Close the RHP
Repeat step 1
Verify the banner appears again
Repeat those steps with Request money and Search page
@slafortune Completed the checklist and accepted the offer.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2DesignEngineeringInternalRequires API changes or must be handled by Expensify staff
Activity
[-]Chat - "Start a chat, get 250$" popup blocks recent contacts[/-][+][$500] Chat - "Start a chat, get 250$" popup blocks recent contacts[/+]melvin-bot commentedon Dec 5, 2023
Triggered auto assignment to @slafortune (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Dec 5, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01eb186a7b7dd5933b
melvin-bot commentedon Dec 5, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Dec 5, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (
External)chiItepin commentedon Dec 5, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
The "start a chart" referral overlaps a good size of the screen while keyboard is focused on mobile
What is the root cause of that problem?
The "start a chart" referral component is designed to be sticky/fixed positioned, thus, it remains visible at all times regardless of input being focused
What changes do you think we should make in order to solve the problem?
If the field is being focused, the The "start a chart" referral component would not behave as being sticky/fixed
What alternative solutions did you explore? (Optional)
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.
gijoe0295 commentedon Dec 5, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Referral modal blocks view on small screen devices.
What is the root cause of that problem?
The referral block is sticky and too large on small height devices leading to blocking view.
What changes do you think we should make in order to solve the problem?
Outdated
Responsively adjust the style of referral modal on small screen height determined here.
Things we can adjust in here and here:
Based on the latest discussion, we want to make the referral banner dismissable.
isReferralCTAVisible(I spotted that theshouldShowReferallModalstate here and its setter here seem redundant, we can use them here).Infoicon withCloseicon and wrapped it aroundPressableWithoutFeedbackset withonPressto set the visibility state.e.preventDefaulttoonMouseDownof the abovePressable.Suggested code changes
What alternative solutions did you explore? (Optional)
Avoid display the referral block as sticky on small height devices. We can show a floating icon just like on TikTok.
melvin-bot commentedon Dec 5, 2023
📣 @gijoe0295! 📣
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:
Format:
melvin-bot commentedon Dec 5, 2023
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
90 remaining items
[-][$500] Chat - "Start a chat, get 250$" popup blocks recent contacts[/-][+][HOLD for payment 2024-02-05] [$500] Chat - "Start a chat, get 250$" popup blocks recent contacts[/+]melvin-bot commentedon Jan 29, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jan 29, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.32-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 2024-02-05. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jan 29, 2024
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:
melvin-bot commentedon Feb 5, 2024
Payment Summary
Upwork Job
BugZero Checklist (@slafortune)
slafortune commentedon Feb 5, 2024
@abdulrahuman5196 can you please complete the checklist?
Offers sent -
ROLE: @abdulrahuman5196 paid $500 via Upwork (LINK)
ROLE: @gijoe0295 paid $500 via Upwork (LINK)
abdulrahuman5196 commentedon Feb 5, 2024
Not a regression. Feature update.
Yes.
@slafortune Completed the checklist and accepted the offer.
slafortune commentedon Feb 8, 2024
👍 Paid Paid and testrail done!