Skip to content
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 2023-09-27] [$1000] Add PrivateNotes pages to allow users to add private notes on report #25489

Closed
techievivek opened this issue Aug 18, 2023 · 39 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Design Internal Requires API changes or must be handled by Expensify staff Task

Comments

@techievivek
Copy link
Contributor

techievivek commented Aug 18, 2023

High-level of proposed solution

Add a private notes section to the ‘details’ pane of each room and DM to allow all new dot users to collect notes about other users/rooms while messaging customers. Each room and DM will have one, continuous private note. This will save the step of switching apps when taking/referring to notes and encourage users to use NewDot when messaging by making it our source of truth for contact information.

Add a section in details for private notes

We’ll add a section in the details pane with the title ‘Private Notes’. In the Personal Details of a DM, it will fit below the ‘Message ’ section. In the Room Details, it will fit between the ‘Invite’ and ‘Leave Room’ sections. We’ll keep the character limit of 15k we’re currently using for messages to standardize.

Create a single note for each DM and room for each member

Each room and DM will have a single, continuous note for each member. To maintain consistency with other forms and textboxes, we’ll include a ‘Save’ button and allow users to write in markdown.

Ex. In a DM between Ava and Betty, there will be two notes. In a room where Ava, Betty, and Callum are all members, there will be three notes. None of the members will be able to access another member’s note (except in the special situation immediately below).

Allow Team Expensify user and Expensify employees to view notes added by other Team Expensify users

Context in Guides’ private notes will be helpful when a customer gets a new “owner” (e.g. AM steps in after a won deal, Guide steps in after another Guide leaves). Additionally, these notes will be helpful to a Guide’s mentor when catching up on what’s happening in preparation for a call and keeping track of a deal in general.

To give the new owner and/or mentor visibility into the notes for a deal/customer, we’ll allow users with @expensify.com (Mentors) and @team.expensify.com (Guides and AMs) logins to view notes written by @team.expensify.com logins in rooms and DMs they are members of.

Notes for Completeness:

  • Each @team.expensify.com login that is a member of a room or DM will show as an entry in the Private Notes section if they’ve added notes.
  • Tapping on an entry will show the notes in read-only mode. There will be no option to write/edit other users’ notes.
Screenshot 2023-08-18 at 7 29 58 PM Screenshot 2023-08-18 at 3 02 31 PM Screenshot 2023-08-18 at 3 02 31 PM
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018981f5d13dbcc635
  • Upwork Job ID: 1693596798257332224
  • Last Price Increase: 2023-08-21
@techievivek
Copy link
Contributor Author

Although this is a new feature, we need the help of a C+ member to review it. I am adding the bug label so a bug-zero member can assist with the payment. Thanks

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2023
@techievivek techievivek added the Bug Something is broken. Auto assigns a BugZero manager. label Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot

This comment was marked as off-topic.

@techievivek techievivek added External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Aug 21, 2023
@melvin-bot melvin-bot bot changed the title Add PrivateNotes pages to allow users to add private notes on report [$1000] Add PrivateNotes pages to allow users to add private notes on report Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

Job added to Upwork: https://www.upwork.com/jobs/~018981f5d13dbcc635

@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

Current assignee @strepanier03 is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External)

@techievivek techievivek added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

Current assignee @sobitneupane is eligible for the Internal assigner, not assigning anyone new.

@techievivek
Copy link
Contributor Author

@sobitneupane, I have a draft PR ready here #25490. Once it's ready for review, I'll ping you. In the meantime, please review the GH description to familiarize yourself with this new feature. Let me know if you have any questions. Thanks.

@strepanier03
Copy link
Contributor

I'll follow along until my action or payment is needed. Feel free to ping me if I miss something I need to do.

@melvin-bot melvin-bot bot added the Overdue label Aug 24, 2023
@techievivek
Copy link
Contributor Author

Made some progress today, hoping to get it ready by tomorrow.

@melvin-bot melvin-bot bot removed the Overdue label Aug 24, 2023
@strepanier03
Copy link
Contributor

Thanks @techievivek!

@melvin-bot melvin-bot bot added the Overdue label Aug 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

@strepanier03, @sobitneupane, @techievivek Whoops! This issue is 2 days overdue. Let's get this updated quick!

@techievivek
Copy link
Contributor Author

We got this merged today, huge thanks to @sobitneupane for prioritizing this. 🙇

@strepanier03
Copy link
Contributor

Woohoo, thank you @sobitneupane and @techievivek!

@melvin-bot
Copy link

melvin-bot bot commented Sep 19, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Sep 20, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Add PrivateNotes pages to allow users to add private notes on report [HOLD for payment 2023-09-27] [$1000] Add PrivateNotes pages to allow users to add private notes on report Sep 20, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Sep 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 20, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented Sep 20, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.71-12 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 2023-09-27. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter - N/A internal report
  • Contributor that fixed the issue - N/A fixed internally by @techievivek
  • Contributor+ that helped on the issue and/or PR - @sobitneupane $1000 via Manual Requests

For reference, here are some details about the assignees on this issue:

  • @sobitneupane does not require payment (Eligible for Manual Requests)

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Sep 20, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
  • [@sobitneupane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@sobitneupane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@sobitneupane] Determine if we should create a regression test for this bug.
  • [@sobitneupane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@sobitneupane
Copy link
Contributor

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

This is a new feature. So, bugZero checklist is not applicable here.

@sobitneupane
Copy link
Contributor

Regression Test Proposal

  1. Login to newDot.
  2. Go to any DM/ room chat report details page and you will see an option of private notes page.
  3. Click on the private notes page and you will see another option of my note on the next page.
  4. Once you clicked on that option you should be able to add notes to your chat report.
  5. Verify you are able to add notes in Markdown format and it is rendered in HTML.
  6. If you are on an expensify.com domain or team.expensify subdomain then you should be able to view private notes of other team.expensify.com members.

@techievivek
Copy link
Contributor Author

techievivek commented Sep 25, 2023

@sobitneupane Can we create a separate test for the team's expensify to ensure it receives focused attention as they are superusers for this feature?

@techievivek
Copy link
Contributor Author

I am suggesting a test for it.

@techievivek
Copy link
Contributor Author

Hmm, they don't have access to any expensify email address or team expensify email address so I think we can just put it in the regression test proposal but they will never be able to test that.

@techievivek
Copy link
Contributor Author

Ok, just created the issue for adding the new regression tests.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 26, 2023
@strepanier03
Copy link
Contributor

Back in office just in time for this to be paid, working on it now.

@strepanier03
Copy link
Contributor

Thank you @techievivek for helping out with the regression test step 🙌

@strepanier03
Copy link
Contributor

strepanier03 commented Sep 27, 2023

Payment summary

  • External issue reporter - N/A internal report
  • Contributor that fixed the issue - N/A fixed internally by @techievivek
  • Contributor+ that helped on the issue and/or PR - @sobitneupane $1000 via Manual Requests

@sobitneupane - Please put in your manual request for payment and I'll assign Jason once you confirm that's done.

@melvin-bot melvin-bot bot added the Overdue label Oct 2, 2023
@techievivek
Copy link
Contributor Author

@sobitneupane Did you have a look at the above comment and put a manual request?

@melvin-bot melvin-bot bot removed the Overdue label Oct 2, 2023
@sobitneupane
Copy link
Contributor

Sorry for the delay. I will make the request by the weekend. In the meantime, I think we are good to close this issue.

@techievivek
Copy link
Contributor Author

Ok, great, thanks.

@sobitneupane
Copy link
Contributor

#25489 (comment)

Requested payment on newDot

@JmillsExpensify
Copy link

$1,000 payment approved for @sobitneupane based on BZ summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Design Internal Requires API changes or must be handled by Expensify staff Task
Projects
None yet
Development

No branches or pull requests

5 participants