fix - concierge task is not auto-completed after completing Test drive via Reports tab#86717
fix - concierge task is not auto-completed after completing Test drive via Reports tab#86717luacmartins merged 4 commits intoExpensify:mainfrom
Conversation
…e via Reports tab
|
@aimane-chnaif Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
🔍 PR ReviewSummary: The approach is sound — when One concern — potential for repeated The The likely sequence is:
So const hasCalledOpenReportRef = useRef(false);
useEffect(() => {
if (hasSeenTour) {
return;
}
if (!viewTourTaskReport) {
if (conciergeReportID && !hasCalledOpenReportRef.current) {
hasCalledOpenReportRef.current = true;
openReport({reportID: conciergeReportID, introSelected});
}
return;
}
// ... rest unchangedThis ensures This is a non-blocking suggestion — the current code works correctly due to the conflict resolver and the eventual stabilization of dependencies, but the ref guard would be a nice hardening. Cat fact: A group of cats is called a "clowder," but a group of kittens is called a "kindle." |
|
Good suggestion. @apeyada let's apply! |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
🚧 @luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.52-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are needed. This PR is a code-level bug fix in There are no existing help site articles referencing "test drive" under |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.52-9 🚀
|
Explanation of Change
Call
openReportfor concierge chat manually when open test drive demo page butviewTourTaskReportdoesn't exist.Fixed Issues
$ #76714
PROPOSAL: #76714 (comment)
Tests
Prerequisite: Invite a brand new account to a workspace
Offline tests
N/A
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov