Skip to content

Add indexable POTA activation pages backed by Neon - #22

Merged
patrickrb merged 2 commits into
mainfrom
codex/pota-activation-sharing
Sep 8, 2026
Merged

patrickrb merged 2 commits into
mainfrom
codex/pota-activation-sharing

Conversation

@patrickrb

@patrickrb patrickrb commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Adds public POTA activation pages backed by Neon Postgres. Each QR opens a complete server-rendered HTML/CSS summary with an SVG contact map, activation statistics, and every contact in a semantic table. The content is readable without JavaScript; a hidden canvas only generates the optional social-sharing PNG.

  • Preserve FT8AF's navy/amber/cyan branding, Geist fonts, icon and wordmark.
  • Add unique page titles, descriptions, canonical URLs and Open Graph metadata. Valid activations are indexable; a paginated dynamic sitemap is advertised in robots.txt.
  • Return non-indexable 404s for missing activations and uncached 503s for unavailable databases.
  • Store immutable, deduplicated snapshots in Neon using parameterized SQL, explicit public fields, and atomic rate limiting. Notes and account credentials are excluded.
  • Include repeatable migrations, renderer synchronization, and launch documentation. Android's disclosure now mentions search indexing.

Validation: 11 tests pass, including Postgres SQL through PGlite, migration reruns, duplicate snapshots, rate-limit expiry, initial HTML content and full log, escaping, canonical metadata, error statuses and sitemap pagination. Website build passes. Tests are now included in CI. Vercel preview deployment, CI and Lighthouse checks pass on commit 3e71b7f. The deployed /activation route was verified to return HTML 404/noindex for invalid IDs and HTML 503/noindex with Retry-After when Neon is unconfigured.

Before launch: configure DATABASE_URL, run npm run db:migrate against Neon, deploy the website before the Android release, and verify a real share and QR scan on separate devices. No live Neon connection or real-device end-to-end test has been performed. The summary interface is currently English.

Companion Android PR: patrickrb/FT8AF#802

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ft8af-site Ready Ready Preview Sep 7, 2026 11:29pm UTC

Request Review

@patrickrb patrickrb changed the title Add Neon-backed POTA activation sharing pages Add indexable POTA activation pages backed by Neon Sep 7, 2026
@patrickrb
patrickrb merged commit 9c1805d into main Sep 8, 2026
4 checks passed
@patrickrb
patrickrb deleted the codex/pota-activation-sharing branch September 8, 2026 01:03
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