Fix admins room navigation after Track onboarding#88306
Conversation
…ck workspace The navigateAfterOnboardingWithMicrotaskQueue call was passing mergedAccountConciergeReportID (undefined for fresh signups) as the onboardingAdminsChatReportID parameter instead of newAdminsChatReportID. This prevented large-screen users from being navigated to the admins room after completing Track onboarding. Co-authored-by: Joel Davies <jjcoffee@users.noreply.github.com>
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@MelvinBot Please can you handle the coverage report. |
|
The coverage report is not actionable here — both The The 17 files with "indirect coverage changes" are unrelated to this PR's diff. No test changes needed. |
Explanation of Change
In
useAutoCreateTrackWorkspace, the call tonavigateAfterOnboardingWithMicrotaskQueuewas passingmergedAccountConciergeReportID(which isundefinedfor fresh Track signups) as the 6th argument (onboardingAdminsChatReportID). This meant the post-onboarding navigation on large screens never opened the admins room.This PR passes
newAdminsChatReportIDinstead, matching the correct pattern used inBaseOnboardingWorkspaceInvite.tsx. The now-unusedmergedAccountConciergeReportIDvariable and itsonboardingValuesOnyx subscription are removed as dead code cleanup.Fixed Issues
$ #87046
PROPOSAL: #87046 (comment)
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.
Offline tests
// TODO: The human co-author must fill out the offline tests before marking this PR as "ready for review"
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari