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-01-04] Chat - Extra space before '(Until tomorrow)' in tooltip for status #33228
Version Number: v1.4.13-6 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:
Open the app
Open settings -> profile -> status
Select any emoji and without any message or change in clear after, save the status
Open any report in which you have sent message before or send a new message in it
Hover on status besides your username and observe that app displays extra space before '(Until tomorrow)' text in tooltip even though message field was kept empty
Expected Result:
App should display '(Until tomorrow)' in center in tooltip when status is saved with empty message
Actual Result:
App displays '(Until tomorrow)' slightly towards right due to extra space before the text in tooltip when status is saved with empty message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
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:
[@lakchote] The PR that introduced the bug has been identified. Link to the PR:
[@lakchote] 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:
[@lakchote] 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:
[@lakchote] Determine if we should create a regression test for this bug.
[@lakchote] 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.
[@NicMendonca] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Activity
melvin-bot commentedon Dec 18, 2023
Triggered auto assignment to @NicMendonca (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Dec 18, 2023
Triggered auto assignment to @lakchote (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.melvin-bot commentedon Dec 18, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)mkhutornyi commentedon Dec 18, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Chat - Extra space before '(Until tomorrow)' in tooltip for status
What is the root cause of that problem?
App/src/pages/home/report/ReportActionItemSingle.js
Line 209 in e9d05f8
This happens when
status.textis empty string. SostatusTooltipTextbecomes${statusText} (${formattedDate})What changes do you think we should make in order to solve the problem?
If
status.textis empty, no need to add space at the beginningSo change above line like this:
Also apply same fix in LHN:
App/src/components/LHNOptionsList/OptionRowLHN.js
Line 154 in e9d05f8
lakchote commentedon Dec 20, 2023
@mkhutornyi thanks for your proposal but given the simplicity of the fix, I've decided to make a PR.
5 remaining items
melvin-bot commentedon Dec 28, 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:
NicMendonca commentedon Jan 4, 2024
no payment required
shubham1206agra commentedon Jan 5, 2024
@NicMendonca Can you recheck payment here? I have reviewed the PR linked to this issue.
mkhutornyi commentedon Jan 5, 2024
Am I eligible for any payment for my solution being used? And helped reviewing PR.
cc: @lakchote
NicMendonca commentedon Jan 9, 2024
@shubham1206agra sorry - you should have been assigned!
NicMendonca commentedon Jan 9, 2024
@shubham1206agra I sent you an offer
NicMendonca commentedon Jan 9, 2024
@mkhutornyi you are not eligible for payment here
shubham1206agra commentedon Jan 10, 2024
Accepted
NicMendonca commentedon Jan 10, 2024
paid!