Skip to content

chore: merge main into dev#1800

Merged
Hugo0 merged 21 commits intodevfrom
chip/sync-main-to-dev
Mar 25, 2026
Merged

chore: merge main into dev#1800
Hugo0 merged 21 commits intodevfrom
chip/sync-main-to-dev

Conversation

@chip-peanut-bot
Copy link
Copy Markdown
Contributor

@chip-peanut-bot chip-peanut-bot bot commented Mar 25, 2026

Branch Sync (main → dev)

main was 17 commits ahead of dev. This merge commit brings dev up to date.

Conflict resolutions:

  • scripts/validate-links.ts — deleted (main replaced it with validate-content.ts which already has frontmatter parsing)
  • src/content — accepted main's newer submodule pointer (86aeb64)

Commits synced from main:


Auto-generated by Chip 🐿️ — conflicts resolved automatically

chip-peanut-bot bot and others added 21 commits March 23, 2026 17:40
…0323-174045

Update content submodule (18 commits)
Six content types had published content but no matching Next.js route —
they fell through to the catch-all recipient page. The validate-links
CI only checked against content directories, not actual routes.

New routes: use-cases, withdraw, stories, pricing, supported-networks.
ContentSEOFooter in marketing layout (below main footer).
verify-content.ts replaces validate-links.ts with 9 verification passes.
Content submodule bumped to include PRs #18-#21 (republish locales,
MDX upgrades, template fixes).
feat: content routes, SEO footer & verify-content script
Pass 10 tracks the number of published pages and errors if it drops.
Prevents accidental mass-unpublish like the 72-page incident from
commit 79cb1cd. Baseline stored in .verify-content-baseline (330 pages).

To intentionally lower the count:
  echo <new-count> > .verify-content-baseline
…gression

feat: page count regression guard in verify-content
Includes 6 newly published help articles + 4 stories with MDX.
…-content

chore: replace Notion FAQ link with help center + bump content
/{locale} URLs (e.g. /en, /es-419, /pt-br) had no page and fell through
to the [...recipient] catch-all, resulting in 404s.

This broke breadcrumb "Home" links on all content/SEO pages since they
point to /{locale}.

Adds temporary (302) redirects for all 5 locale roots to /.
Non-permanent so we can replace with proper localized landing pages later.
The deposit route uses two URL prefixes:
- /deposit/from-{slug} for exchanges (entity data)
- /deposit/via-{slug} for rails/networks (DEPOSIT_RAILS)

verify-content.ts was mapping ALL deposit content to from-{slug},
so rail pages like via-sepa were never validated and broken links
to rail pages were not caught.

Changes:
- Hoist exchangeSlugs to module scope for reuse
- Route generation: exchanges get from-, non-exchange deposit content gets via-
- Published content check: same from-/via- logic in urlPattern
fix: redirect locale roots (/{locale}) to / to fix 404s
…urls

fix: verify-content handles from-/via- deposit URL prefixes
Adds stories, use-cases, withdraw, supported-networks, and pricing
pages to the sitemap. Uses listPublishedSlugs() so new content
is automatically included on next build.

~40 published pages were missing from the sitemap.
Fails CI if a published content type has routes but is missing from
sitemap.ts. Checks both content directories and singleton pages
(supported-networks, pricing).

Prevents the situation where new content types get published but
never appear in the sitemap for search engine indexing.
…rage

feat: verify-content Pass 11 — sitemap coverage check
Sync dev with main (17 commits). Resolved conflicts:
- scripts/validate-links.ts: deleted on main (replaced by validate-content.ts)
- src/content: accepted main's submodule pointer
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 25, 2026

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

Project Deployment Actions Updated (UTC)
peanut-wallet Ready Ready Preview, Comment Mar 25, 2026 1:24pm

Request Review

@Hugo0 Hugo0 merged commit 69e57f0 into dev Mar 25, 2026
3 of 4 checks passed
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