Sync vault notes: April-November 2026 sessions, projects, and architecture
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe4fe656be
commit
994c7ae577
379 files changed
+55216
-107
No files matched your search
@@ -0,0 +1,108 @@
|
||||
# Design Review — docs.squaremcp.com
|
||||
|
||||
**Date:** 2026-06-12
|
||||
**Status:** ✅ DEPLOYED — squaremcp-docs@sha256:762051a6 live at docs.squaremcp.com
|
||||
**Commits:** cbdf1a7, b08d234, 58a6d0f, a326611 (kimi-cli deploy commit: d4b2ec2)
|
||||
**Related:** [[2026-06-12-kimi-cli-handoff]], [[2026-06-12-claude-mcp-directory-submission]]
|
||||
|
||||
---
|
||||
|
||||
## Scores
|
||||
|
||||
| | Before | After |
|
||||
|---|---|---|
|
||||
| **Design Score** | C | B |
|
||||
| **AI Slop Score** | D | C |
|
||||
|
||||
Category breakdown (after):
|
||||
|
||||
| Category | Grade |
|
||||
|---|---|
|
||||
| Typography | C → B (IBM Plex Sans, proper heading hierarchy) |
|
||||
| AI Slop | D → C (emoji removed, icons use brand marks) |
|
||||
| Visual Hierarchy | C → B (H1→H2→H3 semantic flow restored) |
|
||||
| Responsive | C → B (mobile nav restored) |
|
||||
| Interaction States | C → B (touch targets fixed) |
|
||||
| Spacing & Layout | B (unchanged — was already solid) |
|
||||
| Color & Contrast | B (unchanged — dark palette is coherent) |
|
||||
| Content Quality | B (unchanged — good developer copy) |
|
||||
|
||||
---
|
||||
|
||||
## Findings and Fixes
|
||||
|
||||
### FINDING-001 — HIGH — Font: System UI stack → IBM Plex Sans ✅ FIXED
|
||||
**File:** `docs/styles.css:17`
|
||||
Added `@import` for IBM Plex Sans from Google Fonts. Changed body font from `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto` to `'IBM Plex Sans', system-ui, sans-serif`. IBM Plex Sans is developer-credible (used by IBM, many API docs), geometric, readable at small sizes, and signals intentionality vs. "I accepted the default."
|
||||
|
||||
### FINDING-002 — HIGH — Responsive: Mobile nav completely hidden → nav wraps ✅ FIXED
|
||||
**File:** `docs/styles.css:291`
|
||||
`@media (max-width: 640px) { .nav-links { display: none; } }` replaced with a wrap layout: nav-inner becomes flex-wrap with nav-links taking full width on the second row, font-size 13px, compact padding. All four nav links now visible on mobile without a hamburger button.
|
||||
|
||||
### FINDING-003 — HIGH — AI Slop: Emoji in headings + emoji in icon boxes → removed ✅ FIXED
|
||||
**File:** `docs/index.html:33-47, 76-84`
|
||||
- Quick-nav card headings: 🚀🔌🤖📖 removed. Titles stand on their own.
|
||||
- Platform icon boxes: emoji (🎵💬📷✈️🎮) replaced with text brand abbreviations (Tk, WA, Ig, Tg, Dc). LinkedIn "in", Twitter "𝕏", Facebook "f" already used brand marks — extended the same approach to all.
|
||||
|
||||
### FINDING-004 — HIGH — Touch targets under 44px → fixed ✅ FIXED
|
||||
**File:** `docs/styles.css` (`.nav-cta`)
|
||||
Padding changed from `7px 16px` to `10px 16px`, added `min-height: 44px`, `display: inline-flex`, `align-items: center`. "Open app" button now meets the 44px minimum on all viewports.
|
||||
|
||||
### FINDING-005 — MEDIUM — Heading hierarchy: H1→H4 (skips H2 and H3) → H1→H2→H3 ✅ FIXED
|
||||
**File:** `docs/index.html` (all card headings)
|
||||
All `.card h4` headings changed to `h3`. CSS updated: `.card h3, .card h4` to handle any remaining H4s in subpages. H3 was already styled at 17px/600 in styles.css — just wasn't being used.
|
||||
|
||||
### FINDING-006 — POLISH — No favicon → SVG favicon added ✅ FIXED
|
||||
**File:** all four HTML files
|
||||
Copied `squaremcp-logo.svg` from `product/site/` into `docs/`. Added `<link rel="icon" type="image/svg+xml" href="squaremcp-logo.svg">` to all four pages.
|
||||
|
||||
### FINDING-007 — MEDIUM — "Open app" links to squaremcp.com → app.squaremcp.com ✅ FIXED
|
||||
**File:** all four HTML files
|
||||
Changed `href="https://squaremcp.com"` to `href="https://app.squaremcp.com"` in all nav CTAs. Docs users should land in the app to get their API key, not the marketing page.
|
||||
|
||||
### FINDING-008 — POLISH — H1 `<br>` element → text-wrap: balance ✅ FIXED
|
||||
**File:** `docs/index.html:27`, `docs/styles.css`
|
||||
Removed `<br>` from inside H1 (which concatenated as "thattalk" in screen readers). Added `text-wrap: balance` to `.hero h1` so the browser balances the line naturally.
|
||||
|
||||
### FINDING-009 — MEDIUM — Active nav indicator (deferred — already wired)
|
||||
The script at the bottom of each page already sets `.active` class via `a.href === location.href`. Works correctly on subpages. The index page won't highlight any link (URL is `/` but link is `index.html`) — acceptable behavior.
|
||||
|
||||
---
|
||||
|
||||
## What still needs attention (not fixed — out of scope for CSS-only pass)
|
||||
|
||||
- **Platforms page emoji**: `platforms.html` has its own emoji in section headings (LinkedIn, TikTok, etc.) — same pattern, needs same treatment as index.html. Low priority since this is a detail page.
|
||||
- **Getting-started.html H4 cards**: the "Available tools" section uses H4 for tool names — should audit if H3 is more appropriate in context.
|
||||
- **Line measure on wide viewports**: `.page { max-width: 860px }` is fine but prose sections hit ~80+ chars at 860px — slightly over the 75-char ideal. Could tighten to 720px for the prose sections specifically.
|
||||
- **No `prefers-reduced-motion`** on the `.card { transition: border-color 0.15s }` and button transitions — minor, they're not intrusive.
|
||||
|
||||
---
|
||||
|
||||
## Deploy instructions for kimi-cli
|
||||
|
||||
The docs container (`docs.squaremcp.com`) is a separate deployment from hermes-mcp and squaremcp-site. The Dockerfile is at `docs/Dockerfile`.
|
||||
|
||||
```bash
|
||||
cd /home/garfield/hermes-mcp
|
||||
|
||||
# These commits are already on main:
|
||||
# cbdf1a7 — IBM Plex Sans font
|
||||
# b08d234 — mobile nav
|
||||
# 58a6d0f — emoji, H3, touch targets, favicon, nav link
|
||||
# a326611 — favicon + nav link on subpages
|
||||
|
||||
docker build -t localhost:32000/squaremcp-docs:design-fixes -f docs/Dockerfile docs/
|
||||
docker push localhost:32000/squaremcp-docs:design-fixes
|
||||
# Update image SHA in docs/docs-k8s.yaml and apply
|
||||
kubectl apply -f docs/docs-k8s.yaml
|
||||
kubectl rollout status -n fetcherpay deployment/squaremcp-docs # adjust name if different
|
||||
```
|
||||
|
||||
Verify:
|
||||
```bash
|
||||
curl -s https://docs.squaremcp.com/ | grep "IBM Plex Sans" # font
|
||||
curl -s https://docs.squaremcp.com/ | grep "app.squaremcp.com" # nav link
|
||||
curl -s https://docs.squaremcp.com/ | grep "squaremcp-logo.svg" # favicon
|
||||
# No emoji in card headings:
|
||||
curl -s https://docs.squaremcp.com/ | grep -c "🚀\|🔌\|🤖\|📖" # should return 0
|
||||
```
|
||||
Reference in new issue
Block a user