-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aff0d63
commit b7855c5
Showing
70 changed files
with
123 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+467 Bytes
(100%)
frontend/__snapshots__/components-prompts--modal-prompt--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+102 Bytes
(100%)
frontend/__snapshots__/components-prompts--modal-prompt--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+770 Bytes
(100%)
frontend/__snapshots__/components-sharing--dashboard-sharing--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+449 Bytes
(100%)
frontend/__snapshots__/components-sharing--dashboard-sharing--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+788 Bytes
(100%)
frontend/__snapshots__/components-sharing--dashboard-sharing-licensed--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+503 Bytes
(100%)
frontend/__snapshots__/components-sharing--dashboard-sharing-licensed--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+401 Bytes
(100%)
frontend/__snapshots__/components-sharing--insight-sharing--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+512 Bytes
(100%)
frontend/__snapshots__/components-sharing--insight-sharing--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+411 Bytes
(100%)
frontend/__snapshots__/components-sharing--insight-sharing-licensed--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+477 Bytes
(100%)
frontend/__snapshots__/components-sharing--insight-sharing-licensed--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+373 Bytes
(100%)
frontend/__snapshots__/components-sharing--recording-sharing-licensed--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+432 Bytes
(100%)
frontend/__snapshots__/components-sharing--recording-sharing-licensed--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-229 Bytes
(100%)
.../__snapshots__/components-subscriptions--subscription-no-integrations--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-358 Bytes
(99%)
...__snapshots__/components-subscriptions--subscription-no-integrations--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+527 Bytes
(100%)
frontend/__snapshots__/components-subscriptions--subscriptions--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+190 Bytes
(100%)
frontend/__snapshots__/components-subscriptions--subscriptions--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-50 Bytes
(100%)
frontend/__snapshots__/components-subscriptions--subscriptions-edit--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-307 Bytes
(99%)
frontend/__snapshots__/components-subscriptions--subscriptions-edit--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+597 Bytes
(100%)
frontend/__snapshots__/components-subscriptions--subscriptions-empty--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+224 Bytes
(100%)
frontend/__snapshots__/components-subscriptions--subscriptions-empty--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-75 Bytes
(100%)
frontend/__snapshots__/components-subscriptions--subscriptions-new--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-306 Bytes
(99%)
frontend/__snapshots__/components-subscriptions--subscriptions-new--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+453 Bytes
(100%)
frontend/__snapshots__/layout-feature-previews-modal--basic--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+115 Bytes
(100%)
frontend/__snapshots__/layout-feature-previews-modal--basic--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+517 Bytes
(100%)
frontend/__snapshots__/layout-feature-previews-modal--empty--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+201 Bytes
(100%)
frontend/__snapshots__/layout-feature-previews-modal--empty--light.png
Oops, something went wrong.
Binary file modified
BIN
+443 Bytes
(100%)
...__snapshots__/layout-feature-previews-modal--with-constrained-feature--dark.png
Oops, something went wrong.
Binary file modified
BIN
+108 Bytes
(100%)
..._snapshots__/layout-feature-previews-modal--with-constrained-feature--light.png
Oops, something went wrong.
Binary file modified
BIN
+226 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-dialog--customised--dark.png
Oops, something went wrong.
Binary file modified
BIN
-116 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-dialog--customised--light.png
Oops, something went wrong.
Binary file modified
BIN
+320 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-dialog--minimal--dark.png
Oops, something went wrong.
Binary file modified
BIN
+37 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-dialog--minimal--light.png
Oops, something went wrong.
Binary file modified
BIN
+309 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-dialog--template--dark.png
Oops, something went wrong.
Binary file modified
BIN
-103 Bytes
(99%)
frontend/__snapshots__/lemon-ui-lemon-dialog--template--light.png
Oops, something went wrong.
Binary file modified
BIN
+312 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-modal--inline--dark.png
Oops, something went wrong.
Binary file modified
BIN
-26 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-modal--inline--light.png
Oops, something went wrong.
Binary file modified
BIN
+417 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-modal--with-custom-content--dark.png
Oops, something went wrong.
Binary file modified
BIN
-91 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-modal--with-custom-content--light.png
Oops, something went wrong.
Binary file modified
BIN
+305 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-skeleton--presets--dark.png
Oops, something went wrong.
Binary file modified
BIN
+375 Bytes
(100%)
frontend/__snapshots__/lemon-ui-lemon-skeleton--presets--light.png
Oops, something went wrong.
Binary file modified
BIN
+436 Bytes
(100%)
frontend/__snapshots__/scenes-app-dashboards--create-template--dark.png
Oops, something went wrong.
Binary file modified
BIN
+92 Bytes
(100%)
frontend/__snapshots__/scenes-app-dashboards--create-template--light.png
Oops, something went wrong.
Binary file modified
BIN
+435 Bytes
(100%)
frontend/__snapshots__/scenes-app-dashboards--edit-template--dark.png
Oops, something went wrong.
Binary file modified
BIN
+73 Bytes
(100%)
frontend/__snapshots__/scenes-app-dashboards--edit-template--light.png
Oops, something went wrong.
Binary file modified
BIN
+1.13 KB
(100%)
frontend/__snapshots__/scenes-app-dashboards--new--dark.png
Oops, something went wrong.
Binary file modified
BIN
+1.5 KB
(100%)
frontend/__snapshots__/scenes-app-dashboards--new--light.png
Oops, something went wrong.
Binary file modified
BIN
+2.5 KB
(100%)
frontend/__snapshots__/scenes-app-dashboards--new-select-variables--dark.png
Oops, something went wrong.
Binary file modified
BIN
+3.33 KB
(100%)
frontend/__snapshots__/scenes-app-dashboards--new-select-variables--light.png
Oops, something went wrong.
Binary file modified
BIN
+273 Bytes
(100%)
frontend/__snapshots__/scenes-app-persons-modal--empty--dark.png
Oops, something went wrong.
Binary file modified
BIN
+501 Bytes
(100%)
frontend/__snapshots__/scenes-app-persons-modal--empty--light.png
Oops, something went wrong.
Binary file modified
BIN
+274 Bytes
(100%)
frontend/__snapshots__/scenes-app-persons-modal--server-error--dark.png
Oops, something went wrong.
Binary file modified
BIN
+470 Bytes
(100%)
frontend/__snapshots__/scenes-app-persons-modal--server-error--light.png
Oops, something went wrong.
Binary file modified
BIN
+293 Bytes
(100%)
frontend/__snapshots__/scenes-app-persons-modal--timeout-error--dark.png
Oops, something went wrong.
Binary file modified
BIN
+659 Bytes
(100%)
frontend/__snapshots__/scenes-app-persons-modal--timeout-error--light.png
Oops, something went wrong.
Binary file modified
BIN
+5.72 KB
(110%)
frontend/__snapshots__/scenes-app-persons-modal--with-results--dark.png
Oops, something went wrong.
Binary file modified
BIN
+6.13 KB
(110%)
frontend/__snapshots__/scenes-app-persons-modal--with-results--light.png
Oops, something went wrong.
Binary file modified
BIN
+4.14 KB
(100%)
.../__snapshots__/scenes-app-pipeline--pipeline-node-metrics-error-modal--dark.png
Oops, something went wrong.
Binary file modified
BIN
+953 Bytes
(100%)
...__snapshots__/scenes-app-pipeline--pipeline-node-metrics-error-modal--light.png
Oops, something went wrong.
Binary file modified
BIN
+3.65 KB
(120%)
...tend/__snapshots__/scenes-other-billing-v2--billing-unsubscribe-modal--dark.png
Oops, something went wrong.
Binary file modified
BIN
+3.73 KB
(120%)
...end/__snapshots__/scenes-other-billing-v2--billing-unsubscribe-modal--light.png
Oops, something went wrong.
Binary file modified
BIN
+3.9 KB
(110%)
...s__/scenes-other-billing-v2--billing-unsubscribe-modal-data-pipelines--dark.png
Oops, something went wrong.
Binary file modified
BIN
+3.9 KB
(110%)
...__/scenes-other-billing-v2--billing-unsubscribe-modal-data-pipelines--light.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,96 +30,92 @@ export const UnsubscribeSurveyModal = ({ | |
reportSurveyDismissed(surveyID) | ||
}} | ||
width="max(40vw)" | ||
> | ||
<div> | ||
{includesPipelinesAddon && itemsToDisable.length > 0 ? ( | ||
<div className="mb-6"> | ||
<div className="mb-4"> | ||
<h3 className="mt-2 mb-2 mr-8">Important: Disable remaining export apps</h3> | ||
<p> | ||
To avoid unexpected impact on your data, you must explicitly disable the following apps | ||
and exports before unsubscribing: | ||
</p> | ||
</div> | ||
<ExportsUnsubscribeTable /> | ||
</div> | ||
) : ( | ||
<></> | ||
)} | ||
<h3 className="mt-2 mb-4 mr-8">{`Why are you unsubscribing from ${product.name}?`}</h3> | ||
<div className="flex flex-col gap-3.5"> | ||
<LemonTextArea | ||
data-attr="unsubscribe-reason-survey-textarea" | ||
placeholder="Start typing..." | ||
value={surveyResponse['$survey_response']} | ||
onChange={(value) => { | ||
setSurveyResponse(value, '$survey_response') | ||
title={`Why are you unsubscribing from ${product.name}?`} | ||
footer={ | ||
<> | ||
<LemonButton | ||
type="secondary" | ||
onClick={() => { | ||
reportSurveyDismissed(surveyID) | ||
}} | ||
/> | ||
<LemonBanner type="info"> | ||
<p> | ||
{'Need to control your costs? Learn about ways to '} | ||
<Link | ||
to="https://posthog.com/docs/billing/estimating-usage-costs#how-to-reduce-your-posthog-costs" | ||
target="_blank" | ||
onClick={() => { | ||
reportSurveyDismissed(surveyID) | ||
}} | ||
> | ||
reduce your bill | ||
</Link> | ||
{`${product.type !== 'session_replay' ? ' or ' : ', '}`} | ||
<Link | ||
to="mailto:[email protected]?subject=Help%20reducing%20PostHog%20bill" | ||
target="_blank" | ||
onClick={() => { | ||
reportSurveyDismissed(surveyID) | ||
}} | ||
> | ||
chat with support | ||
</Link> | ||
|
||
{product.type === 'session_replay' && ( | ||
<> | ||
{', or '} | ||
<Link | ||
to="mailto:[email protected]?subject=Joining%session%replay%controls%20beta" | ||
target="_blank" | ||
onClick={() => { | ||
reportSurveyDismissed(surveyID) | ||
}} | ||
> | ||
join our beta | ||
</Link> | ||
{' for tuning recording volume with sampling and minimum duration.'} | ||
</> | ||
)} | ||
</p> | ||
</LemonBanner> | ||
<div className="flex justify-end gap-4"> | ||
<LemonButton | ||
type="tertiary" | ||
> | ||
Cancel | ||
</LemonButton> | ||
<LemonButton | ||
type={textAreaNotEmpty ? 'primary' : 'secondary'} | ||
disabledReason={includesPipelinesAddon && unsubscribeDisabledReason} | ||
onClick={() => { | ||
textAreaNotEmpty | ||
? reportSurveySent(surveyID, surveyResponse) | ||
: reportSurveyDismissed(surveyID) | ||
deactivateProduct(product.type) | ||
}} | ||
> | ||
Unsubscribe | ||
</LemonButton> | ||
</> | ||
} | ||
> | ||
<div className="flex flex-col gap-3.5"> | ||
<LemonTextArea | ||
data-attr="unsubscribe-reason-survey-textarea" | ||
placeholder="Reason for unsubscribing..." | ||
value={surveyResponse['$survey_response']} | ||
onChange={(value) => { | ||
setSurveyResponse(value, '$survey_response') | ||
}} | ||
/> | ||
<LemonBanner type="info"> | ||
<p> | ||
{'Need to control your costs? Learn about ways to '} | ||
<Link | ||
to="https://posthog.com/docs/billing/estimating-usage-costs#how-to-reduce-your-posthog-costs" | ||
target="_blank" | ||
onClick={() => { | ||
reportSurveyDismissed(surveyID) | ||
}} | ||
> | ||
Cancel | ||
</LemonButton> | ||
<LemonButton | ||
type={textAreaNotEmpty ? 'primary' : 'tertiary'} | ||
disabledReason={includesPipelinesAddon && unsubscribeDisabledReason} | ||
reduce your bill | ||
</Link> | ||
{`${product.type !== 'session_replay' ? ' or ' : ', '}`} | ||
<Link | ||
to="mailto:[email protected]?subject=Help%20reducing%20PostHog%20bill" | ||
target="_blank" | ||
onClick={() => { | ||
textAreaNotEmpty | ||
? reportSurveySent(surveyID, surveyResponse) | ||
: reportSurveyDismissed(surveyID) | ||
deactivateProduct(product.type) | ||
reportSurveyDismissed(surveyID) | ||
}} | ||
> | ||
Unsubscribe | ||
</LemonButton> | ||
</div> | ||
</div> | ||
chat with support | ||
</Link> | ||
|
||
{product.type === 'session_replay' && ( | ||
<> | ||
{', or '} | ||
<Link | ||
to="mailto:[email protected]?subject=Joining%session%replay%controls%20beta" | ||
target="_blank" | ||
onClick={() => { | ||
reportSurveyDismissed(surveyID) | ||
}} | ||
> | ||
join our beta | ||
</Link> | ||
{' for tuning recording volume with sampling and minimum duration.'} | ||
</> | ||
)} | ||
</p> | ||
</LemonBanner> | ||
</div> | ||
{includesPipelinesAddon && itemsToDisable.length > 0 ? ( | ||
<div className="mt-6"> | ||
<h3 className="mt-2 mb-2 mr-8">Important: Disable remaining export apps</h3> | ||
<p> | ||
To avoid unexpected impact on your data, you must explicitly disable the following apps and | ||
exports before unsubscribing: | ||
</p> | ||
<ExportsUnsubscribeTable /> | ||
</div> | ||
) : null} | ||
</LemonModal> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
|
||
.LemonModal & { | ||
.PlayerMeta__top { | ||
padding-right: 3.5rem; | ||
padding-right: 3.5rem !important; | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters