File tree Expand file tree Collapse file tree 4 files changed +1
-29
lines changed
webviews/apps/shared/components Expand file tree Collapse file tree 4 files changed +1
-29
lines changed Original file line number Diff line number Diff line change 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",
Original file line number Diff line number Diff line change 11export const proPreviewLengthInDays = 3 ;
22export const proTrialLengthInDays = 7 ;
33
4- export type PromoKeys = 'devexdays' | 'launchpad-extended' | ' pro50';
4+ export type PromoKeys = 'devexdays' | 'pro50' ;
55
66export const enum SubscriptionPlanId {
77 Community = 'community' ,
Original file line number Diff line number Diff line change @@ -20,24 +20,6 @@ export interface Promo {
2020
2121// Must be ordered by applicable order
2222const 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' ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments