-
Notifications
You must be signed in to change notification settings - Fork 3k
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-12-11] [$250] Remove pinned SelfDM for new users with "introSelected": "newDotManageTeam" #52830
Comments
Job added to Upwork: https://www.upwork.com/jobs/~021860980169165781817 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove pinned SelfDM for new users with "introSelected": "newDotManageTeam" What is the root cause of that problem?Improvement What changes do you think we should make in order to solve the problem?
we will get the self-dm reportID as follows and pass it to const selfDMReportID = useMemo(() => ReportUtils.findSelfDMReportID(), []);
Report.completeOnboarding(
onboardingPurposeSelected,
CONST.ONBOARDING_MESSAGES[onboardingPurposeSelected],
undefined,
undefined,
onboardingAdminsChatReportID ?? undefined,
onboardingPolicyID,
undefined,
onboardingCompanySize,
userReportedIntegration,
undefined,
selfDMReportID,
); Then in if(engagementChoice === CONST.ONBOARDING_CHOICES.MANAGE_TEAM) {
optimisticData.push(
{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${selfDMReportID}`,
value: {
isPinned: false,
},
},
)
} Note that One question: It would look a little weird that first we have the self-dm pinned and then if the choice is manage team we remove it, one thing i would propose is that when the account is created set Note that this is only a suggestion, I can work with the originally expected result too |
@JmillsExpensify can you please read the one question I wrote in my proposal and give feedback? Note @suneox just noting that the basic idea is the same whether you pass a prop or do it in the function itself, All the core idea is there in my proposal, also from #52409 (comment) , I hope the same logic is applied here, so i hope you will be fair while selecting the proposal as you were in that other issue🙏 |
Edited by proposal-police: This proposal was edited at 2024-11-25 14:44:40 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Remove pinned SelfDM for new users with "introSelected": "newDotManageTeam" What is the root cause of that problem?We don't update the selfDM to unpinned after the onboarding is complete and backend also doesn't update it. What changes do you think we should make in order to solve the problem?In
App/src/libs/actions/Report.ts Line 3474 in ba65563
We need to always do this in Line 7415 in ba65563
What alternative solutions did you explore? (Optional)We can unpin the selfDM by default from backend side and then update it to pinned if we select an |
Thank you for all the proposals. We have a different solution from @twilight2294 proposal, which only handle use case complete @nkdengineer proposal identifies these additional use cases and suggests always retrieving the value from Overall, we can proceed with @nkdengineer proposal. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @MonilBhavsar, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Thank you team! Looking forward to the PRs! |
Looks good to me. |
❌ There was an error making the offer to @suneox for the Reviewer role. The BZ member will need to manually hire the contributor. |
❌ There was an error making the offer to @nkdengineer for the Contributor role. The BZ member will need to manually hire the contributor. |
@mallenexpensify something didn't work with the roles. Do you mind fixing? |
Triggered auto assignment to @puneetlath ( |
Yo yo! Noticed this in a FullStory session. I can reproduce it reliably, see below: 2024-11-29_14-37-43.mp4The selfDM appears, and then disappears which is pretty jarring. Is that because the auth PR is merged, but the frontend PR is still outstanding? |
Yes, App PR will fix this issue |
Great stuff, thanks for confirming! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.70-9 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-12-11. 🎊 For reference, here are some details about the assignees on this issue:
|
@suneox @mallenexpensify @suneox The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Hey team, migrated users are still having the self-DM pinned when this change should also have accounted for them. Do we need to update the logic? |
I think we can incorporate the update logic into issue #53405. |
Payment Summary
BugZero Checklist (@mallenexpensify)
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
|
Thank you! I’ve accepted an offer. |
@mallenexpensify TY, I applied to that job |
Contributor: @nkdengineer paid $250 via Upwork @nkdengineer Please accept the job and reply here once you have? |
@mallenexpensify Done! |
@nkdengineer paid, payment breakdown updated above. I created a testcase and provided the reasoning below. We'll see what QA wants to do, if anything
|
Proposal: Remove pinned SelfDM for new users with "introSelected": "newDotManageTeam" (slack)
Background: We pinned the SelfDM to all user's cases, thinking it might give them a place to make notes and try submitting an expense to themselves before someone else. I think we left the SelfDM pinned for all users by default to see if it causes issues while seeing if some people might use it as intended. But I don’t think we’ve really seen that.
Problem: The SelfDM adds noise and confusion to users looking to get their team set up
Solution: Remove SelfDM from being pinned for users with this introSelection so they don’t see it unless they track an expense.
Below is what the LHN looks like today. We would not pin or show the SelfDM going forward.
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: