-
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
[HOLD for payment 2024-11-28] [$250] Combine the Category and Tag Tasks when direct accounting selection in the onboarding intent #51591
Comments
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
Edited by proposal-police: This proposal was edited at 2024-10-28 18:54:41 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Remove Category and Tag Tasks when direct accounting selection in the onboarding intent What is the root cause of that problem?Enhancement What changes do you think we should make in order to solve the problem?The default tasks come from here and are created here We can hide the tasks based on if the user selects an integration or not. To implemt this, we can update here to filter out the tasks using below logic where, we show a new "set up categories and tags" task if a connection was selected. If no connection was selected then we show separate tasks for "set up categories" and "setup tags" like we show currently. const filteredTasks = data.tasks.filter(task => userReportedIntegration
? task.type != 'setupCategories' && task.type != 'setupTags'
: task.type != 'setupTagsAndCategoriesForConnections')
const tasksData = filteredTasks.map((task, index) => {
...
} The new task will be added here. ...
tasks: [
...
{
type: 'setupTagsAndCategoriesForConnections',
autoCompleted: false,
title: 'Set up tags & categories',
description: 'Your categories and tags are automatically created based on the selected connection.'
}
...
]
... Note: This code is just for explaination purposes. Code quality can be improved during PR. 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. |
ProposalPlease re-state the problem that we are trying to solve in this issue.During onboarding, if a user selects an accounting integration (like QuickBooks Online), they still see tasks to Set up categories and Set up tags. Since these elements are automatically managed by the integration, showing these tasks is redundant. What is the root cause of that problem?The current onboarding logic assigns a set of default tasks (including Set up categories and Set up tags) when CONST.ONBOARDING_CHOICES.MANAGE_TEAM is selected. Among these, only Create workspace is set to autoComplete by default. Lines 4734 to 4736 in 8ef040a
What changes do you think we should make in order to solve the problem?We can update the completeOnboarding to exclude Set up categories and Set up tags if the user has selected a direct accounting integration in onboarding. This would treat those tasks as complete by default. Change this line: App/src/libs/actions/Report.ts Line 3435 in 8ef040a
to this:
Screen.20Recording.202024-10-29.20at.204.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove Category and Tag Tasks when direct accounting selection in the onboarding intent What is the root cause of that problem?Enhancement What changes do you think we should make in order to solve the problem?We should remove the tags and categories here Lines 4756 to 4778 in db592c9
What alternative solutions did you explore? (Optional)We will exclude the tasksData if the type is App/src/libs/actions/Report.ts Lines 3403 to 3404 in db592c9
const excludeTasksData = ["setupCategories", "setupTags"]
const filteredTasksData = data.tasks.filter((task) => !excludeTasksData.includes(task.type))
const tasksData = filteredTasksData.map((task, index) => { ResultScreen.Recording.2024-10-28.at.22.11.11.mov |
@davidcardoza I can take this one since it's related to #48745 (comment) |
@nkdengineer What do you mean? Is it your regression? |
@dukenv0307 It's not my regressions. It's related to the new feature that I'm working on here so I have more context on this and I'd like to work here. |
I understand your mean here is to filter out
Is it correct? |
@dukenv0307 yes, thanks for the correction. Updated proposal |
@jaydamani's proposal look good to me. We should hide the "Setup Categories" and "Setup Tags" in case users select an accounting connection 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
The op of the issue has been update to reflect recent conversations around combining the tasks rather than removing then. @marcaaron I looped you in per the convo in the linked Slack conversation. |
Updated proposal based on this. |
Ok, so seems like we want this for the task content @jaydamani can you update your proposal. What you have there now doesn't seem correct. |
Everything else looks good. |
This comment was marked as off-topic.
This comment was marked as off-topic.
seems the deploy blocker is incorrect, hiding it as off topic |
This is on staging. Awaiting deploy to prod |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.64-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-11-28. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
Payment Summary
BugZero Checklist (@greg-schroeder)
|
Job added to Upwork: https://www.upwork.com/jobs/~021862321644417750071 |
Current assignee @dukenv0307 is eligible for the External assigner, not assigning anyone new. |
Payment summary: Contributor: @jaydamani - $250 - Sent offer via Upwork |
Filed regression test |
Problem
During onboarding, users who select a direct accounting integration (such as QuickBooks Online) are presented with separate tasks to set up "Categories" and "Tags." However, because both categories and tags are automatically managed by the direct accounting integration, these setup tasks are redundant and can be confusing for users who don’t need to take any additional steps.
Solution
Combine the Category and Tag Setup Tasks: When a user selects a direct accounting connection like QBO, the tasks for "Setup Categories" and "Setup Tags" should be combined into a single, streamlined task that reflects their automatic setup via the integration.
Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: