Open IuliiaHerets opened 2 weeks ago
Triggered auto assignment to @OfstadC (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Triggered auto assignment to @lakchote (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
💬 A slack conversation has been started in #expensify-open-source
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
I don't think this needs to be a deploy blocker.
For all tasks, backend sets the task as completed after the action is complete like "Track an expense" task, "Meet your setup specialist" task etc. I think this should also be handled from backend.
To handle this on frontend, the task needs to be marked as complete on clicking the external link included in the text markdown. I think this is difficult.
cc: @mountiny
I do agree that it's not a blocker and that it should be handled on the backend for the reasons mentioned above by @c3024.
Waiting for your input @mountiny too
Concierge - Take a 2-minute tour task not autocomplete after finishing tour
BE not autocomplete the task on SelfTourViewed
API call
and on the task description we directly open the self tour link so we can't call SelfTourViewed
API
BE need to be updated, when SelfTourViewed
API call should set the task as completed, and return the onyx data
And for the FE fix: Create new route and new screen for self tour, which when opened will call the SelfTourViewed
API and redirect user to the self tour link
function SelfTour() {
const {environment} = useEnvironment();
const [introSelected] = useOnyx(ONYXKEYS.NVP_INTRO_SELECTED);
useEffect(() => {
Welcome.setSelfTourViewed();
Link.openExternalLink(getNavatticURL(environment, introSelected?.choice));
Navigation.goBack();
}, []);
return null;
}
And navigate to the new route on link click https://github.com/Expensify/App/blob/7b9a0cd644ea36e1543ae63a23ea72f610029dc4/src/libs/actions/Report.ts#L3490
navatticURL: `${environmentURL}/${ROUTES.SELF_TOUR}`,
Might need to apply to other places as well if needed https://github.com/Expensify/App/blob/7b9a0cd644ea36e1543ae63a23ea72f610029dc4/src/pages/Search/EmptySearchView.tsx#L126 https://github.com/Expensify/App/blob/7b9a0cd644ea36e1543ae63a23ea72f610029dc4/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx#L449-L452
Navigation.navigate(ROUTES.SELF_TOUR);
IMO updating/fixing the BE alone won’t fix this issue, so I posted a proposal for the FE fix
@c3024 @rushatgabhane should be assigned and we should mark this optimistically as completed and call the SelfTourViewed command and update the BE to mark the task as complete too
@OfstadC, @lakchote, @rushatgabhane, @c3024 Eep! 4 days overdue now. Issues have feelings too...
yes I'll raise a PR
If you could do it today that'd be great @rushatgabhane
@OfstadC, @lakchote, @rushatgabhane, @c3024 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
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: 9.0.58.0 Reproducible in staging?: Y Reproducible in production?: N/A - new feature, doesn't exist in prod Issue was found when executing this PR: https://github.com/Expensify/App/pull/51153 Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The task is marked complete automatically upon finishing the tour like other Concierge tasks
Actual Result:
The "Take a 2-minute tour" task is not marked complete automatically
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/a25c96b3-1f0b-47c7-9a02-aa39928ecc07
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @c3024