Session 27: PWA autopilot — NetworkFirst cache policy, stale bucket cleanup, offline fallback, push helper, manifest polish, tier fix (1584 tests)

This commit is contained in:
Kev
2026-06-13 10:57:49 -04:00
parent f8a51cd9d0
commit 66fafd8429
10 changed files with 445 additions and 16 deletions
+5 -2
View File
@@ -85,8 +85,11 @@ export default function ProfilePage() {
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-start', marginBottom: 16 }}>
<div>
<p className="mono" style={{ fontSize: 11, color: 'var(--text-tertiary)', letterSpacing: '0.08em' }}>YOUR TIER</p>
<h2 style={{ fontSize: 28, fontWeight: 800, marginTop: 4, textTransform: 'capitalize', color: tierColor(profile.tier) }}>
{profile.tier}
{/* Session 27 — always render a tier label. When the profile
API returns null/undefined tier (free users sometimes do),
fall back to 'free' so the field is never blank. */}
<h2 style={{ fontSize: 28, fontWeight: 800, marginTop: 4, textTransform: 'capitalize', color: tierColor(profile.tier || 'free') }}>
{profile.tier || 'free'}
{profile.founder_pricing && (
<span
className="mono"