Skip to content

Commit 3e60ebf

Browse files
committed
chore(flags): lock polar + update brand teaser copy
1 parent 6170395 commit 3e60ebf

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

apps/app/src/components/layout/left-sidebar.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -325,14 +325,9 @@ function BrandTeaser() {
325325
Early access
326326
</div>
327327
<div className="mt-3 space-y-2">
328-
<p className="text-sm font-semibold text-foreground">Brand is in the works</p>
328+
<p className="text-sm font-semibold text-foreground">Brand features in progress</p>
329329
<p className="text-sm text-muted-foreground">
330-
Brand will let you save a logo, palette, and typography so every export looks
331-
consistent.
332-
</p>
333-
<p className="text-sm text-muted-foreground">
334-
It&apos;s for indie hackers and small teams who want a repeatable look without extra
335-
design work. If that sounds useful, I&apos;d love your perspective while I build it.
330+
I&apos;m working on brand features. Let me know if you want to provide feedback.
336331
</p>
337332
</div>
338333
<div className="mt-4 flex flex-wrap items-center gap-2">

apps/app/src/lib/feature-flags.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,17 @@ export const SHOW_BRAND_TAB = isDevelopment;
2626

2727
/**
2828
* Feature flag that gates all Polar billing codepaths.
29-
*
30-
* Enabled in development by default, or when POLAR_ENABLED=true is set.
29+
* Defaults to true in local development and off elsewhere.
3130
*/
32-
const polarEnabledEnv = process.env.POLAR_ENABLED === "true";
3331
export const enablePolarBillingFlag = flag({
3432
key: "billing.enable-polar",
3533
description: "Enable Polar checkout + webhooks.",
36-
defaultValue: isDevelopment || polarEnabledEnv,
34+
defaultValue: isDevelopment,
3735
options: [
3836
{ value: true, label: "Enabled" },
3937
{ value: false, label: "Disabled" },
4038
],
41-
decide: () => isDevelopment || polarEnabledEnv,
39+
decide: () => isDevelopment,
4240
});
4341

4442
/**

0 commit comments

Comments
 (0)