-
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
Cy/non pat appless #3667
Cy/non pat appless #3667
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #3667 +/- ##
==========================================
- Coverage 98.81% 98.78% -0.04%
==========================================
Files 825 824 -1
Lines 14892 14805 -87
Branches 4241 4202 -39
==========================================
- Hits 14716 14625 -91
- Misses 167 171 +4
Partials 9 9
... and 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #3667 +/- ##
==========================================
- Coverage 98.81% 98.78% -0.04%
==========================================
Files 825 824 -1
Lines 14892 14805 -87
Branches 4241 4202 -39
==========================================
- Hits 14716 14625 -91
- Misses 167 171 +4
Partials 9 9
... and 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #3667 +/- ##
==========================================
- Coverage 98.81% 98.78% -0.04%
==========================================
Files 825 824 -1
Lines 14892 14805 -87
Branches 4233 4202 -31
==========================================
- Hits 14716 14625 -91
- Misses 167 171 +4
Partials 9 9
... and 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Bundle ReportChanges will increase total bundle size by 64.86kB (0.52%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #3667 +/- ##
==========================================
- Coverage 98.81% 98.78% -0.04%
==========================================
Files 825 824 -1
Lines 14892 14805 -87
Branches 4233 4202 -31
==========================================
- Hits 14716 14625 -91
- Misses 167 171 +4
Partials 9 9
... and 1 file with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
4a1350e
to
2e32017
Compare
New onboarding container and install codecov modal
Bundle ReportChanges will increase total bundle size by 64.86kB (0.52%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-staging-esmAssets Changed:
Files in
Files in
Files in
view changes for bundle: gazebo-staging-systemAssets Changed:
Files in
Files in
Files in
|
@@ -40,7 +40,7 @@ const BaseModal: React.FC<BaseModalProps> = ({ | |||
</header> | |||
{subtitle && <p className="px-4 text-lg">{subtitle}</p>} | |||
{body && ( | |||
<div className="max-h-96 w-full overflow-y-auto border-t border-ds-sub-background bg-ds-container p-4 text-sm text-ds-gray-octonary"> | |||
<div className="w-full overflow-y-auto border-t border-ds-sub-background bg-ds-container p-4 text-sm text-ds-gray-octonary"> |
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.
Removing the arbitrary max-height of 384px here in favor for line 26 where the total height of the modal is set to maximum 90%vh. As the header and footer expand with content, they vertically lengthen the modal. When the modal reaches the height limit, the header and footer overlap more of the body while the body will start having a scrollbar to accommodate the overflowing content.
eventTracker().track({ | ||
type: 'Button Clicked', | ||
properties: { | ||
buttonName: 'Install GitHub App', | ||
buttonLocation: 'Install modal', | ||
}, |
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.
is this fine, @spalmurray-codecov? I copied from the instance you added in another place while changing the buttonLocation
.
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.
Yes this looks good! I'm thinking we may want to track the button click that opens the modal as well - thoughts? Would let us track the mini-funnel that is that banner -> modal -> GH.
8b56e12
to
92aef64
Compare
92aef64
to
3ba69cc
Compare
@@ -66,6 +66,14 @@ function OwnerPage() { | |||
} | |||
}, [userStartedTrial]) | |||
|
|||
// TODO: refactor this to add a gql field for the integration id used to determine if the org has a GH app |
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.
This comment looks out of date no? There seems to be integrationId in the GQL response
@@ -18,8 +20,11 @@ const TokenlessBanner: React.FC = () => { | |||
}) | |||
const { provider, owner } = useParams<UseParams>() | |||
const { data } = useUploadTokenRequired({ provider, owner, enabled: !!owner }) | |||
const { params } = useLocationParams() | |||
// @ts-expect-error useLocationParams needs to be typed | |||
const cameFromOnboarding = params['source'] === ONBOARDING_SOURCE |
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.
Glad this was so easy hell yea
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!
This reverts commit 53ce439.
Description
Combination of codecov/engineering-team#2828, codecov/engineering-team#2734, and #3629, which were all previously approved, with a couple final UI tweaks.
These 3 PRs together encapsulate the entire Non-PAT Appless feature (aka p1).
Code Example
Notable Changes
Screenshots
Link to Sample Entry
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.