Skip to content

feat: add source-aware blog preview flow#4725

Merged
ruf-io merged 18 commits intoneondatabase:andy/blog-repofrom
americano98:blog-md-preview
Apr 28, 2026
Merged

feat: add source-aware blog preview flow#4725
ruf-io merged 18 commits intoneondatabase:andy/blog-repofrom
americano98:blog-md-preview

Conversation

@americano98
Copy link
Copy Markdown
Contributor

@americano98 americano98 commented Apr 6, 2026

Summary

This is a stacked PR on top of #4675. The summary below is intentionally limited to the four follow-up commits on blog-md-preview.

  • add a source-aware blog content pipeline and replace the older fetch script with a dedicated CLI/bootstrap flow
  • add /blog-preview index, category, and post routes plus a preview banner so branch-specific blog content can be reviewed end to end
  • preserve legacy markdown heading anchors so existing in-page links and generated table-of-contents entries keep working after the content source changes
  • add draft internal blog authoring skill docs for the new markdown-based workflow

Why

These commits complete the next layer of the markdown blog migration by making the runtime content source explicit, enabling previewable branch routes, and keeping anchor behavior backward-compatible for migrated posts.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 6, 2026

@americano98 is attempting to deploy a commit to the neondatabase Team on Vercel.

A member of the Team first needs to authorize it.

@americano98 americano98 force-pushed the blog-md-preview branch 3 times, most recently from 7518984 to 47a7171 Compare April 6, 2026 11:04
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 6, 2026

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

Project Deployment Actions Updated (UTC)
neon-next Ready Ready Preview, Comment Apr 28, 2026 11:29am

Request Review

@americano98 americano98 marked this pull request as ready for review April 22, 2026 15:50
@americano98 americano98 marked this pull request as draft April 22, 2026 16:10
@americano98 americano98 marked this pull request as ready for review April 24, 2026 15:19
@ruf-io ruf-io merged commit 3ef36f0 into neondatabase:andy/blog-repo Apr 28, 2026
2 checks passed
ruf-io added a commit that referenced this pull request May 5, 2026
* feat: import blog from another repo

* feat: pull from r2

* fix: blog components

* feat: add source-aware blog preview flow (#4725)

* feat(utils): add source-aware blog content flow

# Conflicts:
#	.env.example
#	package-lock.json
#	package.json
#	src/components/pages/blog/blog-grid-item/blog-grid-item.jsx

* feat(pages): add branch preview routes for blog

* fix(utils): support legacy markdown heading anchors

* fix: envs, revalidate

* chore: draft skills

* fix: double 404 layout

* chore: lock, hr

* chore: ui adjustments

* chore: search adjustments

* fix: concurrency loading, add retry

* chore(styles): svg scroll, blockqoute

* chore: adjustments, undo render limits

* chore: review adjustments

* chore: update lock, add preview layout

* chore: remove wp classes

* chore: end the wordpress era

* fix: make blog content source lint-compatible

* fix: preserve blog featured ordering, align blog preview

---------

Co-authored-by: Nick Bazarov <mr.nik.bazarov@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ruf-io <11527560+ruf-io@users.noreply.github.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.

3 participants