Skip to content

feat(faq): public /faq page (prerendered, light + dark, no JS) - #18

Merged
CBRT513 merged 1 commit into
mainfrom
app/faq-page
Jul 7, 2026
Merged

feat(faq): public /faq page (prerendered, light + dark, no JS)#18
CBRT513 merged 1 commit into
mainfrom
app/faq-page

Conversation

@CBRT513

@CBRT513 CBRT513 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

What

A public, plain-English FAQ page at /faq for first-time beta reviewers. Prerendered static HTML that reads with zero JavaScript, matching /trust (#16) and /legal/privacy (#17) in structure, tokens, and light/dark styling.

  • prerender = true, ssr = true, csr = false → real static document, no hydration
  • No JS, no analytics, no tracking, no external requests, no backend
  • Mobile-first; light + dark via prefers-color-scheme
  • Links to /trust and /legal/privacy; contact feedback@billbuffer.app; Made by Equilibrium Labs LLC

The 10 questions answered (plain, accurate to the shipped app)

Do I have to connect my bank? · Do I need an account or password? · Where is my information stored? · Can BillBuffer see my paycheck or bills? · What happens if I get a new phone or clear browser data? · Can I use it on both phone and computer? · Is it free during the early-reviewer period? · How do I send feedback? · What should I enter first? · Do I need to enter every purchase I make?

Answers are grounded in the Constitution, Philosophy (banned-word dictionary), and shipped copy — no marketing, no invented features, no over-explaining. The app is unchanged.

Offline

The service worker is already generic over the prerendered manifest ($service-worker), so /faq is automatically precached and served network-first with an exact-document fallback — offline /faq returns the real FAQ HTML, never the SPA shell. No service-worker change needed.

Supporting changes:

  • src/routes/+layout.svelte — add /faq to PUBLIC_PREFIXES so the page stands alone with no app chrome
  • e2e/offline.spec.ts — add /faq to the offline cache allowlist (looksStatic)

Tests

  • New e2e/faq.spec.ts: renders all 10 Q&As + maker/contact/links, links to Trust & Privacy resolve, makes no external request, no app chrome
  • New offline case in e2e/offline.spec.ts: /faq loads offline as its real prerendered document (asserts baked-in content), not the shell
  • Existing /trust and /legal/privacy suites remain green

Local results (all green):

  • npm run check → 0 errors, 0 warnings
  • npm test → 135 passed
  • npm run buildbuild/faq.html emitted (0 <script> tags — no JS)
  • npm run test:e2e74 passed

Review

Requesting Codex review. Do not merge.

🤖 Generated with Claude Code

A plain-English FAQ for first-time beta reviewers, at /faq. Prerendered
static HTML (prerender=true, ssr=true, csr=false): reads with zero
JavaScript, makes no external request, no analytics, no backend — matching
/trust and /legal/privacy in structure, tokens, and light/dark styling.

Answers only what a new neighbor actually asks, grounded in the shipped app
and the Constitution/Philosophy (no marketing, no invented features):
bank connection, accounts/passwords, where data lives, whether we can see
it, new phone / cleared data, phone + computer, free during early review,
sending feedback, what to enter first, and whether every purchase goes in.

Offline: the service worker is already generic over the prerendered
manifest, so /faq is precached and served network-first with an exact-
document fallback — no SW change needed. Adds /faq to the layout's public
prefixes (no app chrome) and to the offline cache allowlist.

Tests: e2e/faq.spec.ts (renders, links resolve, no external request) and an
offline case proving /faq loads offline as its real document, not the SPA
shell. Existing /trust and /legal/privacy suites stay green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@CBRT513

CBRT513 commented Jul 7, 2026

Copy link
Copy Markdown
Owner Author

@codex please review this PR. Do not merge — awaiting review.

This adds the public /faq page, following the same prerendered static-content pattern as /trust (#16) and /legal/privacy (#17): prerender=true, ssr=true, csr=false, no JS, no external requests, light + dark. The service worker is already generic over the prerendered manifest, so /faq is precached and served network-first with an exact-document fallback (no SW change). e2e covers online render + offline real-document load; existing /trust and /legal/privacy suites stay green.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 612731c4c1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@CBRT513
CBRT513 merged commit 3be1d83 into main Jul 7, 2026
1 check passed
@CBRT513
CBRT513 deleted the app/faq-page branch July 7, 2026 01:01
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