-
Notifications
You must be signed in to change notification settings - Fork 22
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: Create a New Table for the Commits Tab on the Pull Request Page for the Team Plan #2373
feat: Create a New Table for the Commits Tab on the Pull Request Page for the Team Plan #2373
Conversation
✅ Deploy Preview for gazebo-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov Report
@@ Coverage Diff @@
## main #2373 +/- ##
==========================================
- Coverage 96.27% 96.08% -0.19%
==========================================
Files 736 738 +2
Lines 8970 9023 +53
Branches 2186 2233 +47
==========================================
+ Hits 8636 8670 +34
- Misses 318 335 +17
- Partials 16 18 +2
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2373 +/- ##
==========================================
- Coverage 96.27% 96.08% -0.19%
==========================================
Files 736 738 +2
Lines 8970 9023 +53
Branches 2219 2251 +32
==========================================
+ Hits 8636 8670 +34
- Misses 317 335 +18
- Partials 17 18 +1
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Codecov Report
@@ Coverage Diff @@
## main #2373 +/- ##
=======================================
- Coverage 96.28 96.09 -0.19
=======================================
Files 736 738 +2
Lines 8970 9023 +53
Branches 2232 2202 -30
=======================================
+ Hits 8636 8670 +34
- Misses 318 337 +19
Partials 16 16
... and 4 files with indirect coverage changes 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.
Lgtm!
@@ -11,9 +15,16 @@ const Loader = () => ( | |||
) | |||
|
|||
function CommitsTab() { | |||
const { provider, owner } = useParams() |
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.
I've really come to like these sort of "intermediate" files, where their sole purpose is to direct you to a different "version" of what you want to see. I suppose we didn't have the need for this before, but I find this so readable and easy to follow, pat on our backs
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.
One other nice thing about this, is that with this pattern we're only loading the JS for the path we're taking thanks Suspense!
…-on-pull-request-page
…-on-pull-request-page
Description
This PR creates a new table for the commits tab on the pull request page for users on the team plan when viewing a private repo.
Closes codecov/engineering-team#623
Notable Changes
CommitsTableTeam
componentcreateCommitsTableTeamData
to create table dataCommitsTab
to conditionally render differing tablesScreenshots