-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Missing create options from the DM create menu in some DMs and not others #48282
Comments
Triggered auto assignment to @twisterdotcom ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing create options from the DM create menu in some DMs and not others What is the root cause of that problem?This happened after #47214 We use Lines 6385 to 6387 in e054a71
What changes do you think we should make in order to solve the problem?We don't want to show the Create Options for only the Expensify guide emails ( function isExpensifyGuide(email: string | undefined): boolean {
const emailDomain = Str.extractEmailDomain(email ?? '');
return emailDomain === CONST.EMAIL.GUIDES_DOMAIN;
} Change here to: const otherParticipants = reportParticipants.filter(
(accountID) => currentUserPersonalDetails?.accountID !== accountID && !PolicyUtils.isExpensifyGuide(allPersonalDetails?.[accountID]?.login),
); |
That's not great, I've commented in the parent issue of the PR that introduced it as it's within the regression period: #46739 |
This was reverted, so, going to close this one. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number:
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs Reproduction
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/C049HHMV9SM/p1724860697269619
Action Performed:
+
Expected Result:
All create menu options displayed (Split, Submit, Pay, Assign task and add)
Actual Result:
Only Assign task and add attachment options displayed for people on expensify.com
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: