Skip to content

THX: Eliminate free trial, migrate docs site, document secrets#4

Open
sestinj wants to merge 7 commits intomainfrom
nate/cleanup
Open

THX: Eliminate free trial, migrate docs site, document secrets#4
sestinj wants to merge 7 commits intomainfrom
nate/cleanup

Conversation

@sestinj
Copy link

@sestinj sestinj commented Mar 20, 2026

Summary

  • FIXES CON-5904: Eliminate free trial system — delete trial UI components, no-op credit provisioning client-side, hard-drop free-trial provider from config loading
  • FIXES CON-5899: Migrate docs site to static Next.js export — docs-site/ with generateStaticParams() (411 pages), build-time search index and image copying, GitHub Actions workflow for GitHub Pages
  • FIXES CON-5896: Document all build dependencies and secrets in BUILD_DEPENDENCIES.md — 40+ secrets across 10 categories

Changes

CON-5904: Free trial elimination

  • Deleted 9 files: FreeTrialStatus.tsx, freeTrialTransition.ts, StarterCreditsButton.tsx, StarterCreditsPopover.tsx, etc.
  • Modified 12 files: hard-drop free-trial models in config loading, removed checkForOutOfStarterCredits, simplified useCredits.ts to one-time fetch, removed trial UI from Layout/OnboardingCard/BottomStatusBar

CON-5899: Docs site static export

  • Added docs-site/ (migrated from remote-config-server's app-docs/)
  • Converted to output: 'export' with generateStaticParams() for all 411 doc pages
  • Replaced API routes with build-time scripts (build-search-index.ts, copy-doc-images.ts)
  • Added .github/workflows/docs-gh-pages.yml for GitHub Pages deployment

CON-5896: Build dependencies

  • Created BUILD_DEPENDENCIES.md documenting VS Code, JetBrains, CLI, CI/CD secrets

Test plan

  • cd docs-site && npm run build produces out/ with 411 static pages
  • Free trial UI components no longer render
  • Config loading silently drops free-trial providers
  • grep -rh 'secrets\.' .github/workflows/ | sort -u — no secret absent from BUILD_DEPENDENCIES.md

🤖 Generated with Claude Code

sestinj and others added 3 commits March 20, 2026 13:46
Documents all GitHub Actions secrets, publishing tokens, AI provider
keys, and CI/CD dependencies organized by category.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Migrates the docs site from remote-config-server to this repo as a
standalone static Next.js app. Key changes:

- Copy app-docs from remote-config-server to docs-site/
- Configure `output: 'export'` for static HTML generation
- Replace API routes with build-time scripts (search index, image copy)
- Add generateStaticParams() to enumerate all doc slugs at build time
- Convert server-side redirects to client-side redirects
- Point DOCS_DIR to sibling ../docs directory
- Add GitHub Actions workflow for deploying to GitHub Pages
- Add missing Radix UI dependencies (accordion, tabs) to package.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Delete freeTrialTransition.ts, FreeTrialStatus.tsx, FreeTrialTransitionUI.tsx,
StarterCreditsButton.tsx, StarterCreditsPopover.tsx, and related tests/mocks.

Strengthen free-trial provider filtering to hard-drop (no more warnings).
Remove checkForOutOfStarterCredits from streamChat. Simplify useCredits
hook to a one-time fetch (no polling). Remove freeTrialExceeded listener
from Layout. Clean up navigation context and toolbar references.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
sestinj and others added 4 commits March 20, 2026 14:04
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Addresses CodeQL alert about incomplete multi-character sanitization.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant