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

[$250] Chat - Room - Rooms mention list does not appear in message edit mode #46889

Closed
1 of 6 tasks
lanitochka17 opened this issue Aug 6, 2024 · 31 comments
Closed
1 of 6 tasks
Assignees
Labels
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

@lanitochka17
Copy link

lanitochka17 commented Aug 6, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.17-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: https://expensify.testrail.io/index.php?/tests/view/4826336
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team

Action Performed:

  1. Open App or go to staging.new.expensify.com
  2. Login with any account
  3. Go to any room or create new one
  4. Send a message with a room mention
  5. Edit this message by adding or editing room mentions selecting it from suggestion list

Expected Result:

User can select room mention from suggestion list in edit mode

Actual Result:

Rooms mention list does not appear in message edit mode

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6563226_1722939019799.Desktop-No-Room-Mention-List-in-Edit-Mode.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dedb57180f356839
  • Upwork Job ID: 1822051289639048019
  • Last Price Increase: 2024-08-16
  • Automatic offers:
    • FitseTLT | Contributor | 103627253
Issue OwnerCurrent Issue Owner: @puneetlath
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 6, 2024
Copy link

melvin-bot bot commented Aug 6, 2024

Triggered auto assignment to @kevinksullivan (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@lanitochka17
Copy link
Author

@kevinksullivan FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp

@FitseTLT
Copy link
Contributor

FitseTLT commented Aug 6, 2024

Edited by proposal-police: This proposal was edited at 2024-08-06 14:29:58 UTC.

Proposal

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

Rooms mention list does not appear in message edit mode

What is the root cause of that problem?

Because we passed isGroupPolicyReport as false here

isGroupPolicyReport={false}
value={draft}

We also didn't pass the policyID to Suggestions

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

We need to pass isGroupPolicyReport and policyID in here

isGroupPolicyReport={false}

by getting the value as we did here

 const [report] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${reportID ?? '-1'}`);


isGroupPolicyReport={isGroupPolicyReport}
                        policyID={report?.policyID}

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added the Overdue label Aug 8, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

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

@kevinksullivan kevinksullivan added the External Added to denote the issue can be worked on by a contributor label Aug 9, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

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

@melvin-bot melvin-bot bot changed the title Chat - Room - Rooms mention list does not appear in message edit mode [$250] Chat - Room - Rooms mention list does not appear in message edit mode Aug 9, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 9, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

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

Copy link

melvin-bot bot commented Aug 13, 2024

@eVoloshchak, @kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Aug 13, 2024
Copy link

melvin-bot bot commented Aug 15, 2024

@eVoloshchak, @kevinksullivan Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Aug 16, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Copy link

melvin-bot bot commented Aug 19, 2024

@eVoloshchak, @kevinksullivan Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

Copy link

melvin-bot bot commented Aug 20, 2024

@eVoloshchak @kevinksullivan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@kevinksullivan
Copy link
Contributor

@eVoloshchak can you review the proposal please?

@AlfredoAlc
Copy link
Contributor

Proposal

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

Rooms mention list does not appear in message edit mode

What is the root cause of that problem?

The SuggestionMention component requires to have isGroupPolicyReport and policyID to render room mention list.
We are passing isGroupPolicyReport as false and we are not passing policyID

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

The ReportActionItemMessageEdit component is already receiving isGroupPolicyReport we just need to propagate the prop.
And from that same component we already have access to the report policyID, so it'll only need to pass that prop to ReportActionItemMessageEdit and propagate the prop.

<ReportActionItemMessageEdit
action={action}
draftMessage={draftMessage}
reportID={report.reportID}
index={index}
ref={textInputRef}
shouldDisableEmojiPicker={
(ReportUtils.chatIncludesConcierge(report) && User.isBlockedFromConcierge(blockedFromConcierge)) ||
ReportUtils.isArchivedRoom(report, reportNameValuePairs)
}
isGroupPolicyReport={!!report?.policyID && report.policyID !== CONST.POLICY.ID_FAKE}
/>

@eVoloshchak
Copy link
Contributor

@FitseTLT's proposal looks good to me

🎀👀🎀 C+ reviewed!

Copy link

melvin-bot bot commented Aug 21, 2024

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

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 21, 2024
Copy link

melvin-bot bot commented Aug 21, 2024

📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer 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 📖

@kevinksullivan
Copy link
Contributor

Looping in a BZ member to handle payment as I'm going OOO

@kevinksullivan kevinksullivan removed their assignment Sep 12, 2024
@kevinksullivan kevinksullivan added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Sep 12, 2024
Copy link

melvin-bot bot commented Sep 12, 2024

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 12, 2024
@kevinksullivan kevinksullivan self-assigned this Sep 12, 2024
@puneetlath
Copy link
Contributor

@eVoloshchak when will this need paying?

@eVoloshchak
Copy link
Contributor

@puneetlath, not clear yet, as this wasn't deployed to staging/prod yet
Latest update:

This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Copy link

melvin-bot bot commented Sep 24, 2024

@puneetlath, @eVoloshchak, @kevinksullivan, @jasperhuangg, @FitseTLT Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Sep 26, 2024

@puneetlath, @eVoloshchak, @kevinksullivan, @jasperhuangg, @FitseTLT 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@jasperhuangg
Copy link
Contributor

I think our automation was broken for a bit, seems like the PR was deployed to production in this checklist: #48791

I think we can issue payment now

@FitseTLT
Copy link
Contributor

FitseTLT commented Oct 3, 2024

@puneetlath can you issue the payment here??

Copy link

melvin-bot bot commented Oct 4, 2024

@puneetlath, @eVoloshchak, @jasperhuangg, @FitseTLT Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@puneetlath
Copy link
Contributor

Sorry for the delay!

Payment summary:

Thanks everyone!

@FitseTLT
Copy link
Contributor

FitseTLT commented Oct 6, 2024

@puneetlath I see that the contract has ended but the payment hasn't been made.
image

@puneetlath
Copy link
Contributor

That is very weird! I added the payment as a bonus, so it should be there now.

@FitseTLT
Copy link
Contributor

FitseTLT commented Oct 6, 2024

Yep, I received it now. Thx!

@JmillsExpensify
Copy link

$250 approved for @eVoloshchak

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. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
No open projects
Status: No status
Development

No branches or pull requests

8 participants