-
Notifications
You must be signed in to change notification settings - Fork 163
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
feat: show logged in user context #1980
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## qa #1980 +/- ##
=======================================
Coverage 90.97% 90.97%
=======================================
Files 250 250
Lines 56525 56525
=======================================
+ Hits 51421 51422 +1
+ Misses 5104 5103 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement!
On the dashboard or in the app, there are times you can hit a route that results in a screen where something went wrong.
Today it's not always clear that you might be hitting that error based on who you're logged in as.
For example, I go to
/teams/team-id-1
and it says "You can't access this team" and I think "I should be able to, that's weird..."But the reality is that I can't access that team because I'm not logged in as the user I think I am when I hit that screen.
So this PR makes it a lot easier to infer why you might be hitting these screens, as it will show you you're currently logged in status (if you're logged in — if you're not logged in, e.g. an anon user, it won't show this).
Examples:
You don't have permission to see team
Team not found
Unexpected error