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 #16078][$1000] Expanding chat box hides the recipient’s time stamp #16843

Closed
1 of 6 tasks
kavimuru opened this issue Apr 1, 2023 · 40 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Monthly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Apr 1, 2023

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. Open an existing chat > Shift + Enter
  2. Click on expand icon that is located in the chat box
  3. Observe that the chat box hides the recipient’s time-teller text on expanding

Expected Result:

The recipient's time-teller text shouldn’t be hidden

Actual Result:

The recipient's time-teller text is hidden

Workaround:

unknown

Platforms:

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

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

Version Number: 1.2.93-4
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
Notes/Photos/Videos: Any additional supporting documentation

2023-04-01.01.01.11.mp4

Untitle1d

Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680300734009719

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010abb411bbe9343be
  • Upwork Job ID: 1642723911634702336
  • Last Price Increase: 2023-04-10
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 1, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Apr 1, 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

@kavimuru kavimuru changed the title Expanding chat box hides the recipient’s time-teller text above the chat box: ‘it’s 1:00 AM Saturday for Test’ Expanding chat box hides the recipient’s time stamp Apr 1, 2023
@kadiealexander
Copy link
Contributor

Reproduced in staging web:

image

@kadiealexander kadiealexander added the External Added to denote the issue can be worked on by a contributor label Apr 3, 2023
@melvin-bot melvin-bot bot changed the title Expanding chat box hides the recipient’s time stamp [$1000] Expanding chat box hides the recipient’s time stamp Apr 3, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~010abb411bbe9343be

@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

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

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

@PrashantMangukiya
Copy link
Contributor

Proposal

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

Expanding chat box hides the recipient’s time stamp.

What is the root cause of that problem?

Recipient local time conditionally rendered via line below:

{shouldShowReportRecipientLocalTime && <ParticipantLocalTime participant={reportRecipient} />}

We are deciding shouldShowReportRecipientLocalTime value via line below:

const shouldShowReportRecipientLocalTime = ReportUtils.canShowReportRecipientLocalTime(this.props.personalDetails, this.props.report)
&& !this.props.isComposerFullSize;

At line 681 we put condition i.e. && !this.props.isComposerFullSize so it will not show recipient local time if composer is in full size. This is the root cause of the problem.

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

We have to remove && !this.props.isComposerFullSize from that condition, so code looks below:

  const shouldShowReportRecipientLocalTime = ReportUtils.canShowReportRecipientLocalTime(this.props.personalDetails, this.props.report);

It will solve the problem as shown in result video.

What alternative solutions did you explore? (Optional)

Result
RecipientHide.mov

@gautambishal
Copy link

@PrashantMangukiya solution seems to be solving the issue. What was the business requirement to put that condition in the first place?

@s77rt
Copy link
Contributor

s77rt commented Apr 3, 2023

I don't think this is a bug. It was intended since the input used to take full screen height. Now it's not but based on this #15596 (comment) (cc @cristipaval) that change may be reverted.

I think we should hold this on #16078
cc @kadiealexander

@muxriddinmuqimov77
Copy link

I have a solution

@MelvinBot
Copy link

📣 @muxriddinmuqimov77! 📣

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>

@muxriddinmuqimov77
Copy link

Contributor details
My Expensify account email: muxriddinmuqimov007@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01d01aef4263378596

Hi
I have a solution for this task.

@s77rt
Copy link
Contributor

s77rt commented Apr 3, 2023

@muxriddinmuqimov77 We have a proposal template to follow. Please read the contributing guide.

@melvin-bot melvin-bot bot added the Overdue label Apr 6, 2023
@s77rt
Copy link
Contributor

s77rt commented Apr 7, 2023

Not overdue. @cristipaval Can we get a confirmation on this #16843 (comment).

@melvin-bot melvin-bot bot removed the Overdue label Apr 7, 2023
@robertjchen robertjchen added Weekly KSv2 and removed Daily KSv2 labels Apr 9, 2023
@robertjchen
Copy link
Contributor

Changing to Weekly while #16843 (comment) is clarified.

@cristipaval
Copy link
Contributor

I don't think this is a bug. It was intended since the input used to take full screen height. Now it's not but based on this #15596 (comment) (cc @cristipaval) that change may be reverted.

I think we should hold this on #16078 cc @kadiealexander

Yes I confirm, this issue should be held on #16078, according to this Slack message.

@melvin-bot melvin-bot bot removed the Overdue label Jul 15, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 24, 2023
@robertjchen
Copy link
Contributor

still on hold

@melvin-bot melvin-bot bot removed the Overdue label Jul 24, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 1, 2023
@kadiealexander
Copy link
Contributor

Still on hold!

@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 10, 2023
@s77rt
Copy link
Contributor

s77rt commented Aug 10, 2023

Still on hold

@melvin-bot melvin-bot bot removed the Overdue label Aug 10, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 21, 2023
@kadiealexander kadiealexander added Monthly KSv2 and removed Weekly KSv2 labels Aug 22, 2023
@melvin-bot melvin-bot bot removed the Overdue label Aug 22, 2023
@kadiealexander
Copy link
Contributor

Still on hold, shifting to monthly.

@melvin-bot melvin-bot bot added the Overdue label Sep 22, 2023
@s77rt
Copy link
Contributor

s77rt commented Sep 23, 2023

Still on hold

@melvin-bot melvin-bot bot removed the Overdue label Sep 23, 2023
@melvin-bot melvin-bot bot added the Overdue label Oct 25, 2023
@s77rt
Copy link
Contributor

s77rt commented Oct 25, 2023

Still on hold

@melvin-bot melvin-bot bot removed the Overdue label Oct 25, 2023
@melvin-bot melvin-bot bot added the Overdue label Nov 27, 2023
@s77rt
Copy link
Contributor

s77rt commented Nov 27, 2023

Same ^

@quinthar
Copy link
Contributor

taking into #vip-vsb

@quinthar
Copy link
Contributor

Oh actually, I think this comment is accurate:

I don't think this is a bug. It was intended since the input used to take full screen height. Now it's not but based on this #15596 (comment) (cc @cristipaval) that change may be reverted.

The expander is supposed to go full screen, but doesn't currently due to a limitation of our auto-complete. So anything we do here will be negated when this is finished. Closing this one.

@github-project-automation github-project-automation bot moved this from MEDIUM to CRITICAL in [#whatsnext] #vip-vsb Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Monthly KSv2
Projects
No open projects
Status: CRITICAL
Development

No branches or pull requests

10 participants