Skip to content

Remove the StartupBar promo bar - #272

Merged
PArns merged 1 commit into
mainfrom
claude/remove-startupbar-izxqjf
Aug 6, 2026
Merged

Remove the StartupBar promo bar#272
PArns merged 1 commit into
mainfrom
claude/remove-startupbar-izxqjf

Conversation

@PArns

@PArns PArns commented Aug 6, 2026

Copy link
Copy Markdown
Owner

The startupbar.co listing hasn't brought anything, so the bar goes away for good instead of just being flipped off via NEXT_PUBLIC_STARTUPBAR.

What this unwinds:

  • components/common/startup-bar.tsx is deleted, along with its render in app/[locale]/layout.tsx.
  • STARTUPBAR_ENABLED is gone from lib/config/features.ts, together with the envKillSwitch helper that existed only for it, and the matching .env.example entry.
  • The suppressHydrationWarning on the sticky header and on ParkBackground is reverted — both were only there because the vendor loader shifted top: 0 elements before React hydrated. With the loader gone, hydration mismatches on those elements should surface again instead of being silenced.
  • docs/development/flags-and-debug.md no longer documents the flag or the kill-switch pattern.

The two dated documents under docs/superpowers/ still mention the loader; they describe the state of the code at the time they were written, so they stay as they are.

Checked locally: tsc --noEmit, ESLint, Prettier and a full pnpm build all pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YaGdkbuvyj6UsqjFwgmPgN


Generated by Claude Code

The startupbar.co listing brings no traffic, so the loader script goes
away entirely instead of just being switched off:

- delete components/common/startup-bar.tsx and its render in the locale
  layout
- drop STARTUPBAR_ENABLED and the envKillSwitch helper (only user) from
  lib/config/features.ts, plus the .env.example entry
- revert the suppressHydrationWarning workarounds on the sticky header
  and the park background that only existed because the loader mutated
  the DOM before hydration
- update docs/development/flags-and-debug.md accordingly

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YaGdkbuvyj6UsqjFwgmPgN
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
park.fan Ready Ready Preview Aug 6, 2026 6:46am

Request Review

@PArns
PArns marked this pull request as ready for review August 6, 2026 06:48
@PArns
PArns merged commit b6e45f4 into main Aug 6, 2026
3 checks passed
@PArns
PArns deleted the claude/remove-startupbar-izxqjf branch August 6, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants