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 #51221] Update New Supportal to differentiate between information that has been intentionally redacted from view and buggy behaviour #51449

Closed
1 task
VictoriaExpensify opened this issue Oct 25, 2024 · 19 comments
Assignees
Labels
High Priority Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Weekly KSv2

Comments

@VictoriaExpensify
Copy link
Contributor

VictoriaExpensify commented Oct 25, 2024

HOLDING ON:

Problem:
We have a basic version of New Expensify Supportal for viewing user accounts, we need to add new features and improve reliability so that it can be used to support customers and provide demos to prospective new ones.

At the moment, if someone tries to access information in Supportal that has been redacted, all they see is ongoing spinners. This is the same thing we see when there is a bug or issue that is preventing us from viewing information. This is making it very difficult to determine what is working as expected in Supportal, and what is a bug.

Example:
This is a DM and should be redacted (which it is):
image

This is an expense that I should be able to view, so it appears to be a bug:
image

Solution:
When Supportalled into a customers account, if we try to view information that is purposely redacted, an error should load stating that this information is not available when support logged in. This was discussed here - https://expensify.slack.com/archives/C07NZ8B1VTQ/p1728500635598069

What is redacted?

  • Certain chat_types are currently redacted, the PR that removes these chats is here
  • The redacted chat logic will be updated soon with this issue
  • We also redact virtual card details from the supportal view
@VictoriaExpensify VictoriaExpensify added Daily KSv2 NewFeature Something to build that is a new item. Bug Something is broken. Auto assigns a BugZero manager. labels Oct 25, 2024
Copy link

melvin-bot bot commented Oct 25, 2024

Triggered auto assignment to @mallenexpensify (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.

Copy link

melvin-bot bot commented Oct 25, 2024

Triggered auto assignment to @sakluger (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 Daily KSv2 labels Oct 25, 2024
@maddylewis maddylewis moved this to Support (HIGH) in [#whatsnext] #retain Oct 25, 2024
@mallenexpensify mallenexpensify added Internal Requires API changes or must be handled by Expensify staff Daily KSv2 labels Oct 25, 2024
@mallenexpensify
Copy link
Contributor

Ha, a bug AND new feature. I removed ya @sakluger , I'll snag this as I'm chatting with @stephanieelliott about how manage these. Adding Internal and Daily

@VictoriaExpensify VictoriaExpensify removed the Bug Something is broken. Auto assigns a BugZero manager. label Oct 27, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 27, 2024
Copy link

melvin-bot bot commented Oct 28, 2024

@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@VictoriaExpensify VictoriaExpensify added the Hot Pick Ready for an engineer to pick up and run with label Oct 29, 2024
Copy link

melvin-bot bot commented Oct 29, 2024

@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@mallenexpensify
Copy link
Contributor

It's Internal, hot pick and daily. Need to try to find someone to help and/or wait for it to get picked up.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 30, 2024
@marcaaron
Copy link
Contributor

if someone tries to access information in Supportal that has been redacted, all they see is ongoing spinners.

I think we can definitely show a generic error in the case where supportal tries to anything that it shouldn't (we do that in OldDot so a similar solution could be done for NewDot). But would love to understand the root of why access is even attempted in the first place.

@marcaaron marcaaron self-assigned this Nov 1, 2024
@melvin-bot melvin-bot bot removed the Overdue label Nov 1, 2024
@marcaaron
Copy link
Contributor

Looks like we have logic here to return "nothing" but not to throw any specific error message. Here's one proposal...

Supportal can't access something we can return a specific jsonCode and message like 423 Unable to complete action as support user. Then we can check for the 423 in NewDot and show an alert like:

Screenshot 2024-11-01 at 12 07 48 PM

Does that work for now? cc @thienlnam @danieldoglas

@thienlnam
Copy link
Contributor

Yeah that's a good idea, we can just have all those flows throw the same error and eventually have an external issue making it pretty if we want

@marcaaron
Copy link
Contributor

marcaaron commented Nov 1, 2024

Oh yeah also I think it's 411 Insufficient privileges for OldDot... let's see...

@marcaaron
Copy link
Contributor

Oh wait no, that is a pretty generic one... I'll come up with something 😄

@marcaaron
Copy link
Contributor

marcaaron commented Nov 1, 2024

Hmm so I'm not sure if I understand the premise of this issue after looking into it a bit...

If we can't access the report as a supportal user an error is thrown here and this screen is displayed:

Screenshot 2024-11-01 at 1 03 00 PM

Can someone provide reproduction steps for the exact issue we are trying to solve?

@mallenexpensify
Copy link
Contributor

Can someone provide reproduction steps for the exact issue we are trying to solve?

@VictoriaExpensify , can you , since you're way more familiar with supportal and the OP? thx

@melvin-bot melvin-bot bot removed the Overdue label Nov 5, 2024
@maddylewis maddylewis moved this from Support (HIGH) to Product (CRITICAL) in [#whatsnext] #retain Nov 6, 2024
@maddylewis maddylewis changed the title Update New Supportal to differentiate between information that has been intentionally redacted from view and buggy behaviour [CRITICAL] Update New Supportal to differentiate between information that has been intentionally redacted from view and buggy behaviour Nov 6, 2024
@melvin-bot melvin-bot bot added the Overdue label Nov 11, 2024
Copy link

melvin-bot bot commented Nov 12, 2024

@mallenexpensify, @marcaaron Still overdue 6 days?! Let's take care of this!

@VictoriaExpensify
Copy link
Contributor Author

Oof, you know what, Supportal isn't showing the long-loading chats anymore (like I've shown in my initial screenshots). This is kind of a perfect example of why seeing if things have been purposefully redacted/blocked is important. But also makes it hard to reproduce 😅

Regardless, I was going to suggest we put this on hold while this issue is worked:

That is going to indirectly resolve a lot of these issues because it will be clear when messages and chats are redacted. Once that improvement is made it will be easier to pin-point any screens where it's not clear if info has been redacted and we can decide if this issue needs to be reprioritised.

@VictoriaExpensify VictoriaExpensify changed the title [CRITICAL] Update New Supportal to differentiate between information that has been intentionally redacted from view and buggy behaviour [HOLD] Update New Supportal to differentiate between information that has been intentionally redacted from view and buggy behaviour Nov 12, 2024
@marcaaron marcaaron changed the title [HOLD] Update New Supportal to differentiate between information that has been intentionally redacted from view and buggy behaviour [HOLD #51221] Update New Supportal to differentiate between information that has been intentionally redacted from view and buggy behaviour Nov 13, 2024
Copy link

melvin-bot bot commented Nov 14, 2024

@mallenexpensify, @marcaaron Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

@maddylewis maddylewis added Weekly KSv2 and removed Hot Pick Ready for an engineer to pick up and run with Daily KSv2 labels Nov 14, 2024
@melvin-bot melvin-bot bot removed the Overdue label Nov 14, 2024
@maddylewis maddylewis moved this from Product (CRITICAL) to Holding in [#whatsnext] #retain Nov 14, 2024
@marcaaron marcaaron removed their assignment Nov 15, 2024
@melvin-bot melvin-bot bot added the Overdue label Nov 25, 2024
@mallenexpensify
Copy link
Contributor

On Hold, leaving weekly

@melvin-bot melvin-bot bot removed the Overdue label Nov 27, 2024
@melvin-bot melvin-bot bot added the Overdue label Dec 5, 2024
@mallenexpensify
Copy link
Contributor

@melvin-bot melvin-bot bot removed the Overdue label Dec 11, 2024
@VictoriaExpensify
Copy link
Contributor Author

Oh this has predominantly been resolved through Marc's work in this issue - #51221 (comment)

Closing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

6 participants