feat(web): add a Markdown blog with the launch posts

Aperta
#544 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
markdown, next.js, react, typescript

Direzione di ricerca

Start with the self-hosted publishing decision on this issue and wait for Eddie's choice before implementing the route. Then read src/lib/docs.ts and src/lib/site-metadata.ts, and inspect src/app/sitemap.ts; the planned work spans new blog/ content, routes, shared parsing, RSS, tests and reviewed launch posts. Done means meeting the listed acceptance criteria, including the feed validation and accessibility checks.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: docs area: web blocked enhancement impact: medium priority: P3 size: M

Context

Fourth slice of #540 (option C, decided 2026-11-17). A blog earns the links that make the integration pages and answer guides rank, and carries the launch posts for #146. Decided on #540: posts are Markdown in this repository, reusing the docs pipeline (src/lib/docs.ts), which already gives each page a title, description, canonical URL, social image, and sitemap entry (#338). No new dependency.

Open question for this issue: the docs publish on every instance, self-hosted ones included. A self-hosted instance republishing StackDash's blog under its own domain would compete with stackda.sh for the same posts, with its own canonical URL (socialMetadata builds it from NEXT_PUBLIC_SITE_URL, src/lib/site-metadata.ts). Post the options table here (status quo, publish only when an instance setting allows it, canonical always pointing at stackda.sh) and wait for Eddie's choice before writing the route.

Plan

  1. Decide the self-hosted question above, on this issue.
  2. Posts live in blog/<slug>.md at the repository root, each with a publish date (YYYY-MM-DD) and an optional updated date, kept out of /docs.
  3. Generalize the parsing in src/lib/docs.ts (title, description, plain text) so the blog reuses it rather than copying it.
  4. /blog: posts newest first. /blog/<slug>: the post, with its dates in a <time> element, BlogPosting JSON-LD, and an RSS feed at /blog/feed.xml.
  5. Sitemap entries with lastModified from the updated or publish date.
  6. Launch content: draft the #146 launch post and two engineering write-ups from work already merged (candidates: OAuth across 11 providers, idempotent webhooks, CSP nonces with Cache Components from #125 and #374). Drafts go on this issue for Eddie's review before merge.

Acceptance criteria

  • Eddie's choice on self-hosted publishing recorded on this issue with reasons
  • /blog lists posts newest first; /blog/<slug> renders a post with its dates; an unknown slug returns 404
  • Each post has its own title, description, canonical URL, social image, sitemap entry, and BlogPosting JSON-LD
  • /blog/feed.xml is valid RSS listing every post
  • A post without a title, a description, or a valid date fails the build
  • Three posts merged after Eddie's review: the launch post and two engineering write-ups
  • axe scan and a keyboard-only pass on the index and one post
  • Playwright e2e covers the index, one post, the feed, and the 404

Files and areas

New blog/, new src/app/blog/, src/lib/docs.ts (shared parsing), src/lib/site-metadata.ts, src/app/sitemap.ts, a new e2e spec.

Non-goals: MDX or interactive components in posts, comments, newsletter sign-up, cross-posting to other platforms.

Verification

  • npm run test, npm run build, npm run test:e2e.
  • The feed validated with the W3C feed validator on a preview deployment, result pasted here.

Model: anthropic/claude-opus-5-5 | Reasoning effort: not reported by harness

Lingua principale
TypeScript
Stelle
13
Fork
2
Merge medio
5h 20m
PR unite (30g)
287

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eddiejaoude/StackDash

Tutte le issue di eddiejaoude/StackDash

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.