summaryrefslogtreecommitdiff
path: root/apps/web/app/reader/settings
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-08 08:47:00 -0800
committerFuwn <[email protected]>2026-02-08 08:47:00 -0800
commit14d91af510b0a53cada288d69f6cbd09b7b4615a (patch)
tree6d6cca5f286a031a1b829e526890af9c8900112a /apps/web/app/reader/settings
parentfeat: add Umami analytics (production only) (diff)
downloadasa.news-14d91af510b0a53cada288d69f6cbd09b7b4615a.tar.xz
asa.news-14d91af510b0a53cada288d69f6cbd09b7b4615a.zip
feat: enforce tier-based history retention (14d free, 90d pro/dev)
Replace unlimited history claim with honest 90-day retention for paid tiers. Timeline and search RPCs now filter by tier-appropriate retention window.
Diffstat (limited to 'apps/web/app/reader/settings')
-rw-r--r--apps/web/app/reader/settings/_components/billing-settings.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/app/reader/settings/_components/billing-settings.tsx b/apps/web/app/reader/settings/_components/billing-settings.tsx
index 0bddb70..79269fc 100644
--- a/apps/web/app/reader/settings/_components/billing-settings.tsx
+++ b/apps/web/app/reader/settings/_components/billing-settings.tsx
@@ -55,7 +55,7 @@ function useCreatePortalSession() {
const PRO_FEATURES = [
`${TIER_LIMITS.pro.maximumFeeds} feeds`,
- `${Number.isFinite(TIER_LIMITS.pro.historyRetentionDays) ? TIER_LIMITS.pro.historyRetentionDays.toLocaleString() + " days" : "unlimited"} history retention`,
+ `${TIER_LIMITS.pro.historyRetentionDays}-day history retention`,
`${TIER_LIMITS.pro.refreshIntervalSeconds / 60}-minute refresh interval`,
"authenticated feeds",
"opml export",