Skip to content

Restore Makerble branding and /openapi.yaml fix; add regression check - #108

Merged
mattkepple merged 1 commit into
mainfrom
claude/nifty-shannon-rl5kpd
Oct 29, 2026
Merged

mattkepple merged 1 commit into
mainfrom
claude/nifty-shannon-rl5kpd

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Why

PR #52 applied Makerble branding and fixed the /openapi.yaml 404. Nine minutes later, commit 228fe1c (merged via PR #53, a docs change) committed an out-of-date server.js, deleted assets/, and reset vercel.json. That silently undid both. Since 24 Oct, the live site has had the old design, and /openapi.yaml and the mock server have been broken.

What

  • Branding restored: Makerble logo lockup, Quicksand and JetBrains Mono fonts, navy #2d3e58 / purple #ac3898 / blue #2f6fb0 palette. Nav links added since Apply Makerble branding to the API docs and fix /openapi.yaml 404 #52 keep their GET/POST badges without the old inline colours.
  • Favicon: the Makerble shield, linked in <head> and served at /favicon.png and /favicon.ico.
  • Spec path: openapi.yaml is read from the repo root again. vercel.json bundles assets/** and openapi.yaml.
  • CLAUDE.md: repo layout, branding rules, and how to avoid overwriting others' work (start from the latest main, check the diff for style or asset changes, keep design changes in their own PRs).
  • Regression guard: npm run check (scripts/check-site.mjs) boots the server and asserts the routes, logo, favicon, font and brand colours. .github/workflows/check.yml runs it on every PR and on pushes to main. It passes on this branch, and on current main it fails with 13 errors.

Testing

  • npm run check: passes
  • node --check server.js: passes
  • Took a local Playwright screenshot (branded header, sidebar and code panel render). There is no horizontal scroll at 390px wide.

Generated by Claude Code

…gressions

PR #52's branding and spec-path fix were silently reverted by 228fe1c
("Document POST /project_beneficiaries and project statuses", merged via
PR #53), which committed a stale server.js and deleted assets/.

- Re-apply the branding: Makerble logo lockup, shield favicon (served at
  /favicon.png and /favicon.ico), Quicksand + JetBrains Mono, navy/purple/blue
  palette. Nav links added since keep their method classes, minus the old
  inline colours.
- Serve openapi.yaml from the repo root again so /openapi.yaml and the Prism
  mock stop 404ing, and bundle assets/ and openapi.yaml in vercel.json.
- Add CLAUDE.md with repo layout, branding rules, and how to avoid
  overwriting others' work.
- Add `npm run check` (boots the server, asserts routes, logo, favicon and
  brand markers) and a GitHub Actions workflow running it on every PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xoQdmj3Zc28ZZV8phC
@vercel

vercel Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
api-docs Ready Ready Preview Oct 29, 2026 9:53am UTC

@mattkepple
mattkepple merged commit f554149 into main Oct 29, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — f4138178 Deployed Oct 29, 2026 by vercel[bot]
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.

2 participants