Skip to content

Commit efe0ab8

Browse files
committed
Removes expired promo
1 parent 902e847 commit efe0ab8

File tree

4 files changed

+1
-29
lines changed

4 files changed

+1
-29
lines changed

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18791,11 +18791,6 @@
1879118791
"contents": "Limited-time sale: Save 33% or more on your 1st seat of Pro.",
1879218792
"when": "gitlens:plus:required && gitlens:plus:state == 4 && (gitlens:promo == pro50 || !gitlens:promo)"
1879318793
},
18794-
{
18795-
"view": "gitlens.views.worktrees",
18796-
"contents": "Launchpad sale: Save 75% or more on GitLens Pro",
18797-
"when": "gitlens:plus:required && gitlens:plus:state == 4 && gitlens:promo == launchpad-extended"
18798-
},
1879918794
{
1880018795
"view": "gitlens.views.worktrees",
1880118796
"contents": "Limited-time sale: Save up to 80% on GitLens Pro",

src/constants.subscription.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const proPreviewLengthInDays = 3;
22
export const proTrialLengthInDays = 7;
33

4-
export type PromoKeys = 'devexdays' | 'launchpad-extended' | 'pro50';
4+
export type PromoKeys = 'devexdays' | 'pro50';
55

66
export const enum SubscriptionPlanId {
77
Community = 'community',

src/plus/gk/account/promos.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,6 @@ export interface Promo {
2020

2121
// Must be ordered by applicable order
2222
const promos: Promo[] = [
23-
{
24-
key: 'launchpad-extended',
25-
code: 'GLLAUNCHPAD24',
26-
states: [
27-
SubscriptionState.Community,
28-
SubscriptionState.ProPreview,
29-
SubscriptionState.ProPreviewExpired,
30-
SubscriptionState.ProTrial,
31-
SubscriptionState.ProTrialExpired,
32-
SubscriptionState.ProTrialReactivationEligible,
33-
],
34-
startsOn: new Date('2024-09-27T06:59:00.000Z').getTime(),
35-
expiresOn: new Date('2024-10-14T06:59:00.000Z').getTime(),
36-
command: { tooltip: 'Launchpad sale: Save 75% or more on GitLens Pro' },
37-
quickpick: {
38-
detail: '$(rocket) Launchpad sale: Save 75% or more on GitLens Pro',
39-
},
40-
},
4123
{
4224
key: 'devexdays',
4325
code: 'DEVEXDAYS24',

src/webviews/apps/shared/components/promo.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ export class GlPromo extends LitElement {
8484
>Limited-Time sale: <b>Save 33% or more</b> on your 1st seat of Pro</span
8585
>`;
8686

87-
case 'launchpad-extended':
88-
return html`<span class="content${this.type === 'link' ? nothing : ' muted'}"
89-
>Launchpad sale: <b>Save 75% or more</b> on GitLens Pro</span
90-
>`;
91-
9287
case 'devexdays':
9388
return html`<span class="content${this.type === 'link' ? nothing : ' muted'}"
9489
>Limited-time sale: <b>Save up to 80%</b> on GitLens Pro</span

0 commit comments

Comments
 (0)