Skip to content

Commit

Permalink
switch pricing model to daily 3 pages/ai requests
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed May 19, 2024
1 parent 740bc4b commit 962d0e2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 24 deletions.
2 changes: 1 addition & 1 deletion external/@worldbrain/memex-common
4 changes: 2 additions & 2 deletions src/authentication/upgrade-modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default class UpgradeModal extends UIElement<
{this.props.limitReachedNotif === 'AI' && (
<UpgradeOverlayTextContainer>
<UpgradeOverlayText>
You reached the monthly limit of $
You reached the daily limit of{' '}
{DEFAULT_POWERUP_LIMITS.AIpowerup} AI sessions
</UpgradeOverlayText>
<UpgradeOverlaySubText>
Expand Down Expand Up @@ -240,7 +240,7 @@ export default class UpgradeModal extends UIElement<
{this.props.limitReachedNotif === 'Bookmarks' && (
<UpgradeOverlayTextContainer>
<UpgradeOverlayText>
You reached the monthly limit of $
You reached the daily limit of{' '}
{DEFAULT_POWERUP_LIMITS.bookmarksPowerUp} saved
pages
</UpgradeOverlayText>
Expand Down
5 changes: 2 additions & 3 deletions src/popup/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,8 @@ class PopupContainer extends StatefulUIElement<Props, State, Event> {
return (
<BlurredNotice browser={this.browserName}>
<NoticeTitle>
You've reached the limit of
<br /> ${DEFAULT_POWERUP_LIMITS.bookmarksPowerUp} saved
pages per month
You've reached the daily limit of <br />
{DEFAULT_POWERUP_LIMITS.bookmarksPowerUp} saved pages
</NoticeTitle>
<NoticeSubTitle>
Upgrade to continue to save, annotate and organise.
Expand Down
21 changes: 7 additions & 14 deletions src/util/subscriptions/AICountIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export class AICounterIndicator extends React.Component<Props, State> {
? 0
: this.leftOverBlocks}
</strong>{' '}
AI sessions left this month
AI sessions left today
</InfoTooltipTitle>
)}
{/*Is NOT in Trial anymore, has Key and no AI ownkey powerup */}
Expand All @@ -303,7 +303,7 @@ export class AICounterIndicator extends React.Component<Props, State> {
? 0
: this.leftOverBlocks}
</strong>{' '}
Claude sessions left this month
Claude sessions left today
</InfoTooltipTitle>
)}
<PrimaryAction
Expand All @@ -326,9 +326,8 @@ export class AICounterIndicator extends React.Component<Props, State> {
<InfoTooltipSubTitle>
Unlimited sessions.
<br />
<strong>After trial:</strong> $
{DEFAULT_POWERUP_LIMITS.AIpowerup} sessions per
month & 60 days money-back-guarantee
<strong>After trial:</strong>
{DEFAULT_POWERUP_LIMITS.AIpowerup} sessions day.
</InfoTooltipSubTitle>
)}
{/* Is NOT in Trial anymore, has no key and no AI powerup */}
Expand All @@ -350,11 +349,8 @@ export class AICounterIndicator extends React.Component<Props, State> {
? 0
: this.leftOverBlocks}
</strong>{' '}
GPT-3, Claude-Haiki & Image sessions left this
month. Resets in{' '}
<strong>
{this.daysUntilNextMonth()} days.
</strong>
GPT-3, Claude-Haiki & Image sessions left today.
Resets midnight.
</InfoTooltipSubTitle>
)}

Expand All @@ -363,10 +359,7 @@ export class AICounterIndicator extends React.Component<Props, State> {
{scenario === 'NoTrialHasKeyHasOwnKeyPowerUp' && (
<InfoTooltipSubTitle>
Unlimited sessions with GPT-3 and GPT-4 at your
own cost. Claude sessions reset in{' '}
<strong>
{this.daysUntilNextMonth()} days.
</strong>
own cost. Claude sessions reset midnight
</InfoTooltipSubTitle>
)}
</InfoTooltipSubTitleBox>
Expand Down
7 changes: 3 additions & 4 deletions src/util/subscriptions/pageCountIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class BlockCounterIndicator extends React.Component<Props> {
) : (
<InfoTooltipTitle>
<strong>{leftOverBlocks}</strong> pages left
this month
today
</InfoTooltipTitle>
)}
<PrimaryAction
Expand All @@ -162,16 +162,15 @@ export class BlockCounterIndicator extends React.Component<Props> {
pages you have already saved.
<br />
<br />
Resets in {this.daysUntilNextMonth()} days.
Resets at midnight.
</InfoTooltipSubTitle>
)}
{leftOverBlocks > 0 && !this.props.isTrial && (
<InfoTooltipSubTitle>
Pages you save, annotate or add to Spaces.{' '}
<br />
Counts only once per page - forever!
<br /> <br /> Resets in{' '}
{this.daysUntilNextMonth()} days.
<br /> <br /> Resets at midnight.
</InfoTooltipSubTitle>
)}
{this.props.isTrial && (
Expand Down

0 comments on commit 962d0e2

Please sign in to comment.