-
Notifications
You must be signed in to change notification settings - Fork 24
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: Default to All branches when default branch has no commits - Round 2 #2449
feat: Default to All branches when default branch has no commits - Round 2 #2449
Conversation
…overage-on-default-branch-on-commits-page
Codecov Report
@@ Coverage Diff @@
## main #2449 +/- ##
=======================================
Coverage 98.09% 98.09%
=======================================
Files 766 767 +1
Lines 9753 9786 +33
Branches 2419 2430 +11
=======================================
+ Hits 9567 9600 +33
Misses 184 184
Partials 2 2
Continue to review full report in Codecov by Sentry.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2449 +/- ##
=======================================
Coverage 98.09% 98.09%
=======================================
Files 766 767 +1
Lines 9753 9786 +33
Branches 2465 2479 +14
=======================================
+ Hits 9567 9600 +33
Misses 184 184
Partials 2 2
Continue to review full report in Codecov by Sentry.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2449 +/- ##
=======================================
+ Coverage 98.09 98.10 +0.01
=======================================
Files 766 767 +1
Lines 9753 9786 +33
Branches 2465 2479 +14
=======================================
+ Hits 9567 9600 +33
Misses 184 184
Partials 2 2
Continue to review full report in Codecov by Sentry.
|
✅ Deploy Preview for gazebo-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…overage-on-default-branch-on-commits-page
…overage-on-default-branch-on-commits-page
…overage-on-default-branch-on-commits-page
…und 2 (#2449) Default to `All branches` on commits page when default branch has no commits, attempt number 2. GH codecov/engineering-team#870
Description
This PR makes it so that when you visit the commits tab of a repo whose default branch has no commits it will swap over to the
All branches
option by updating the query params on the initial render, so users can force their way back to the default branch if they wish to investigate further.Closes codecov/engineering-team#870
Notable Changes
useBranchHasCommits
hookCommitsTab
to swap toAll branches
when default branch has no commits only on initial render.Screenshots
Screen.Recording.2023-12-08.at.10.35.02.mov