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

[$250] Feature request - Show content when open deep link from other user profile which is not in contacts list reported by @aimane-chnaif #11922

Closed
kavimuru opened this issue Oct 17, 2022 · 24 comments
Assignees
Labels
Daily KSv2 Engineering 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 NewFeature Something to build that is a new item.

Comments

@kavimuru
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Problem:

It shows loading forever. Especially, when someone shares user profile link from other social app and open it, user gets confused.

Solution:

The page should show content. i.e. no access page, 404 page, or show "not in contacts" message and create new chat button, etc. At least should show close button to exit this page and go back to home screen.

Context/Examples/Screenshots/Notes:

infinite.loading.mp4

Platform:
Where is this issue occurring?

@kavimuru kavimuru added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 NewFeature Something to build that is a new item. labels Oct 17, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 17, 2022

Triggered auto assignment to @lschurr (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Oct 17, 2022
@lschurr
Copy link
Contributor

lschurr commented Oct 17, 2022

I'm not super clear on what kind of links cause this problem. Adding eng for a second pair of eyes.

@melvin-bot
Copy link

melvin-bot bot commented Oct 17, 2022

Triggered auto assignment to @alex-mechler (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@lschurr lschurr removed their assignment Oct 17, 2022
@alex-mechler
Copy link
Contributor

Are there any logs errors when this happens? Its possible that this is a bug and not a new feature

@aimane-chnaif
Copy link
Contributor

@alex-mechler you can test with 2 accounts.
After login account A, open user profile with which doesn't have contact in account B.
Copy profile link and try to open it after login account B.

@alex-mechler
Copy link
Contributor

Looks like there is no console errors from my limited testing. Seems useful that we would show / do anything other than an infinite loader here, but I'm not sure what yet. Doing some more digging / exploring before continuing

@alex-mechler
Copy link
Contributor

Okay, after digging in more, properly loading the details for the user in this case would be quite a large amount of internal API work, so lets stick with showing an error growl and closing the modal.

Sending this external

@alex-mechler alex-mechler removed their assignment Oct 18, 2022
@alex-mechler alex-mechler added the External Added to denote the issue can be worked on by a contributor label Oct 18, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 18, 2022

Triggered auto assignment to @ntrepanier (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Oct 18, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 18, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 18, 2022

Triggered auto assignment to @AndrewGable (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot changed the title Feature request - Show content when open deep link from other user profile which is not in contacts list reported by @aimane-chnaif [$250] Feature request - Show content when open deep link from other user profile which is not in contacts list reported by @aimane-chnaif Oct 18, 2022
@ntrepanier
Copy link

Based on what @alex-mechler said above. I agree that this isn't really worth fixing at this point. As it's a feature request and not a bug, I'm going to go ahead and close it. Feel free to re-open if you disagree.

@aimane-chnaif
Copy link
Contributor

I think this is duplicated with https://github.com/Expensify/Expensify/issues/238890 (internal) and now that PR merged and deployed to production.
So I think I am eligible for reporting bonus.
cc: @ntrepanier @alex-mechler
and @stitesExpensify (since you fixed issue)

@stitesExpensify
Copy link
Contributor

@aimane-chnaif it actually looks like this issue is not fixed by that PR. The app actually breaks instead of an endless loading spinner if the user has no details whatsoever (including no email/login) 😅

2022-11-07_08-23-54

@aimane-chnaif
Copy link
Contributor

@stitesExpensify that crash is regression from recent PR.
Here's solution someone proposed already: #12487 (comment)

@aimane-chnaif
Copy link
Contributor

aimane-chnaif commented Nov 7, 2022

As you're testing locally, just try this simple fix and test.
You can also confirm working on current production v1.2.23-9
This crash is reproducible on staging v1.2.24-0

@aimane-chnaif
Copy link
Contributor

@stitesExpensify Now that PR is merged and deployed to production, the crash is gone in latest main. You can confirm on staging/production as well.

@stitesExpensify stitesExpensify added External Added to denote the issue can be worked on by a contributor 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 Nov 11, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 11, 2022

Triggered auto assignment to @michaelhaxhiu (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Nov 11, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 11, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 11, 2022

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

@stitesExpensify
Copy link
Contributor

Thank you for bringing this up @aimane-chnaif after re-looking at this, I agree that you should get the reporting bonus since this issue was created before the one that I fixed in my PR.

@michaelhaxhiu can you create an upwork so that we can hire and pay @aimane-chnaif the reporting fee, and then close this issue back out?

@melvin-bot melvin-bot bot added the Overdue label Nov 14, 2022
@michaelhaxhiu
Copy link
Contributor

https://www.upwork.com/jobs/~01cd49405208836adb

invited you @aimane-chnaif. Let's pay and close today if possible :)

@melvin-bot melvin-bot bot removed the Overdue label Nov 14, 2022
@aimane-chnaif
Copy link
Contributor

@michaelhaxhiu accepted invitation. thanks

@michaelhaxhiu
Copy link
Contributor

Hired, waiting on confirmation and then I'll pay it.

@michaelhaxhiu
Copy link
Contributor

Paid and closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering 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 NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

9 participants