Repository navigation
Add app install banner + modal to the UI - #2480
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2480 +/- ##
=======================================
Coverage 98.25% 98.25%
=======================================
Files 784 784
Lines 10020 10040 +20
Branches 2502 2548 +46
=======================================
+ Hits 9845 9865 +20
Misses 173 173
Partials 2 2
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2480 +/- ##
=======================================
Coverage 98.25% 98.25%
=======================================
Files 784 784
Lines 10020 10040 +20
Branches 2551 2502 -49
=======================================
+ Hits 9845 9865 +20
Misses 173 173
Partials 2 2
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## main #2480 +/- ##
=======================================
Coverage 98.25% 98.25%
=======================================
Files 784 784
Lines 10020 10040 +20
Branches 2546 2534 -12
=======================================
+ Hits 9845 9865 +20
Misses 173 173
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2480 +/- ##
=======================================
+ Coverage 98.25 98.26 +0.01
=======================================
Files 784 784
Lines 10020 10040 +20
Branches 2551 2504 -47
=======================================
+ Hits 9845 9865 +20
Misses 173 173
Partials 2 2
Continue to review full report in Codecov by Sentry.
|
6eb74de to
f8585e2
Compare
Description
This PR adds a banner when a user attempts to install an app from Github of which they are not the owner of. This PR adds the following changes.
setup_actionis part of the URL params(this is a param that Github adds automatically after attempted installation).HomePageRedirectso that we preservesetup_actionif it is on the URL. We were overwriting it previously to strip params.RequestInstallBannercomponent as the UI element.RequestInstallBannerto typescriptDesign linked here:
codecov/engineering-team#764
Screenshots
Screen.Recording.2024-01-02.at.5.36.00.PM.mov
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.