-
Notifications
You must be signed in to change notification settings - Fork 23
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
fix: Seperate org name from error banner on 404 page #3525
fix: Seperate org name from error banner on 404 page #3525
Conversation
Bundle ReportChanges will decrease total bundle size by 21.0kB (-0.12%) ⬇️. This is within the configured threshold ✅ Detailed changes
|
Bundle ReportChanges will decrease total bundle size by 21.0kB (-0.12%) ⬇️. This is within the configured threshold ✅ Detailed changes
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3525 +/- ##
==========================================
- Coverage 98.92% 98.90% -0.02%
==========================================
Files 806 807 +1
Lines 14447 14476 +29
Branches 4098 4109 +11
==========================================
+ Hits 14291 14318 +27
- Misses 149 151 +2
Partials 7 7
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #3525 +/- ##
==========================================
- Coverage 98.92% 98.90% -0.02%
==========================================
Files 806 807 +1
Lines 14447 14476 +29
Branches 4098 4109 +11
==========================================
+ Hits 14291 14318 +27
- Misses 149 151 +2
Partials 7 7
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
<SilentNetworkErrorWrapper> | ||
<OktaBanners /> | ||
</SilentNetworkErrorWrapper> | ||
|
||
<SilentNetworkErrorWrapper> | ||
<RequestInstallBanner /> | ||
</SilentNetworkErrorWrapper> | ||
|
||
<SilentNetworkErrorWrapper> | ||
<TrialBanner /> | ||
</SilentNetworkErrorWrapper> | ||
|
||
<SilentNetworkErrorWrapper> | ||
<TeamPlanFeedbackBanner /> | ||
</SilentNetworkErrorWrapper> | ||
|
||
<SilentNetworkErrorWrapper> | ||
<ProPlanFeedbackBanner /> | ||
</SilentNetworkErrorWrapper> | ||
|
||
<SilentNetworkErrorWrapper> | ||
<BundleFeedbackBanner /> | ||
</SilentNetworkErrorWrapper> | ||
|
||
<SilentNetworkErrorWrapper> | ||
<TokenlessBanner /> | ||
</SilentNetworkErrorWrapper> |
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.
Switching this up, so that we're able to show some banners and not others, for instance if we're on a repo that the user needs to auth with Okta with, before this would just hide all the banners.
// If the owner doesn't exist, don't show anything | ||
if (!currentUser && ownerData) { |
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.
If the user is viewing an owner that doesn't exist, it just rendered the Avatar icon with a question mark, so just removing that entirely, but leaving in the user controls on the right hand side.
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3525 +/- ##
==========================================
- Coverage 98.92% 98.90% -0.02%
==========================================
Files 806 807 +1
Lines 14447 14476 +29
Branches 4105 4109 +4
==========================================
+ Hits 14291 14318 +27
- Misses 149 151 +2
Partials 7 7
Continue to review 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.
looks good. Seems like a lot of stuff is not covered according to my browser extension though
…ve access to a repo
0d38341
to
074001d
Compare
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
Description
This PR updates a couple things in the
BaseLayout
,Header
,Navigator
, andGlobalTopBanners
to maintain previously resolved issues, and codecov/engineering-team#2830.Closes codecov/engineering-team#2830
Notable Changes
Navigator
componentNavigator
to handle new casesGlobalTopBanners
to have their ownSilentNetworkErrorWrapper
BaseLayout
wrapper
in theNavigator
tests as paths were being rendered even if they didn't matchScreenshots
Updated private repo page