-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Focus mode is not enabled when adding a bunch of members to the workspace #58535
Comments
Triggered auto assignment to @NicMendonca ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-16 18:47:08 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Focus mode is not enabled when adding a bunch of members to the workspace What is the root cause of that problem?feature request What changes do you think we should make in order to solve the problem?Here
we should explicitly check if the invited members are more then a limit(we choose) and call this function Lines 1102 to 1104 in 6d00a6b
In Add new const bellow [betas] const [priorityMode] = useOnyx(ONYXKEYS.NVP_PRIORITY_MODE); and update current if (selectedOptions.length >= 20) {
if(priorityMode === CONST.PRIORITY_MODE.GSD){
return;
}
updateChatPriorityMode(CONST.PRIORITY_MODE.GSD, true);
} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Render the
What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
|
@samranahm it'll be valuable to add an unit test for this. could you please update your proposal accordingly |
@NicMendonca could you please assign me for c+ here, i was involved in the discussions of this bug here - slack 🧵 |
This comment has been minimized.
This comment has been minimized.
@CyberAndrii's proposal LGTM 🎀 👀 🎀 (assuming this goes external) |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
I think this is expected behavior because: if the user has more than 30 reports but previously enabled focus mode and then turned it off (nvp_tryFocusMode is true), it won’t turn on automatically again. |
That's probably the case (judging by the number of workspaces in the video). So ignore my proposal |
I agree with this. Also, if the user hasn't tried the focus mode before, it will show up the popup later anyway, so I think it is not worth fixing this to make it show right away for a specific action. |
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.1.13-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @danielrvidal
Slack conversation (hyperlinked to channel name): #convert
Action Performed:
Expected Result:
This should trigger focus mode instead of showing all expense chats in the LHN
Actual Result:
This creates a bunch of expense chats in the LHN, and not triggering focus mode
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.1057.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: