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 2024-09-17][CVP] [$125] Remove the conciergePlaceholderOptions from the Concierge DM #48412

Closed
6 tasks done
trjExpensify opened this issue Sep 2, 2024 · 12 comments
Assignees
Labels
External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item. Reviewing Has a PR in review Weekly KSv2

Comments

@trjExpensify
Copy link
Contributor

trjExpensify commented Sep 2, 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: v9.0.27-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: @trjExpensify
Slack conversation: https://expensify.slack.com/archives/C07HPDRELLD/p1725028722645499 (Internal)

Action Performed:

  1. Go to the Concierge DM
  2. Observe the placeholder text in the composer

Actual Result:

Today we use this set of placeholder text options in the Concierge DM. That said, it creates a confusing situation where a user's intent doesn't match the prompt:

image

Expected Result:

This is working as expected, but we want to remove conciergePlaceholderOptions and use the standard writeSomething placeholder text found in other chats instead.

image

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

See above in-line.

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @rayane-djouah
@trjExpensify trjExpensify added External Added to denote the issue can be worked on by a contributor Daily KSv2 NewFeature Something to build that is a new item. labels Sep 2, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 2, 2024
Copy link

melvin-bot bot commented Sep 2, 2024

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

Copy link

melvin-bot bot commented Sep 2, 2024

Triggered auto assignment to @sonialiap (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Sep 2, 2024
@Nodebrute
Copy link
Contributor

Nodebrute commented Sep 2, 2024

Edited by proposal-police: This proposal was edited at 2024-09-02 14:50:00 UTC.

Proposal

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

Remove the conciergePlaceholderOptions from the Concierge DM

What is the root cause of that problem?

Feature request

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

We can remove this line

return translate('reportActionCompose.conciergePlaceholderOptions')[conciergePlaceholderRandomIndex];

We might need to do some cleanup (removing conciergePlaceholderOptions from en.ts and es.ts files) we can also remove

// If we are on a small width device then don't show last 3 items from conciergePlaceholderOptions
const conciergePlaceholderRandomIndex = useMemo(
() => Math.floor(Math.random() * (translate('reportActionCompose.conciergePlaceholderOptions').length - (shouldUseNarrowLayout ? 4 : 1) + 1)),
// eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps
[],
);

What alternative solutions did you explore? (Optional)

If we decide not to display the 'concierge blocked' message in Composer, we can remove this entire code block.

if (includesConcierge) {
if (userBlockedFromConcierge) {
return translate('reportActionCompose.blockedFromConcierge');
}
return translate('reportActionCompose.conciergePlaceholderOptions')[conciergePlaceholderRandomIndex];
}

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 2, 2024
@shubham1206agra
Copy link
Contributor

@trjExpensify I can remove this functionality in #45892 if you want since I was changing the conciergePlaceholderOptions anyway.

@trjExpensify
Copy link
Contributor Author

Hm, seems like that PR is more far reaching. Might be worth still keeping it separate, just in case we have to roll that one back. CC: @iwiznia in case you disagree.

@rayane-djouah
Copy link
Contributor

rayane-djouah commented Sep 4, 2024

@Nodebrute's proposal looks good to me.


If we decide not to display the 'concierge blocked' message in Composer, we can remove this entire code block.

I believe we need to keep the 'Communication is barred' message for when the user is blocked from Concierge.


🎀👀🎀 C+ reviewed

Copy link

melvin-bot bot commented Sep 4, 2024

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

@rayane-djouah
Copy link
Contributor

Note

The production deploy automation failed: This should be on [HOLD for Payment 2024-09-17] according to #48791 production deploy checklist, confirmed in #48791 (comment)

@rayane-djouah
Copy link
Contributor

@sonialiap - This is due payment

@sonialiap sonialiap changed the title [CVP] [$125] Remove the conciergePlaceholderOptions from the Concierge DM [HOLD for Payment 2024-09-17][CVP] [$125] Remove the conciergePlaceholderOptions from the Concierge DM Sep 18, 2024
@sonialiap
Copy link
Contributor

Agreed, due for payment. Thanks Rayane!

Payment summary:

@rayane-djouah
Copy link
Contributor

@sonialiap Offer accepted thanks

@sonialiap
Copy link
Contributor

Both payments completed ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item. Reviewing Has a PR in review Weekly KSv2
Projects
Development

No branches or pull requests

6 participants