Restaurant Directory

repo: ~/Projects/restaurant-directory · 8 commits · 0 in last 24h, 0 in last 7d ·

Search the build

8 commits indexed

  1. c176122 2026-07-18 snapshot: bump submodule pointer(s)
  2. a5febef 2026-07-03 chore: macstudio3 migration — reconcile from mac2 + repoint paths (stevestudio2→macstudio3, node/npm/npx→/opt/homebrew)
  3. 24ff02d 2026-05-19 snapshot — gitify backup 2026-05-19
  4. e59f5b8 2026-05-13 snapshot: register iterations subrepo pointer (1 files)
  5. e322707 2026-05-13 snapshot: initial structure (PLAN, REVIEW, db, migrations, scripts) — iterations/ skipped (nested empty .git)
  6. 963d23a 2026-05-08 rel=alternate JSON + HTTP Link header on / and /c/:slug
  7. bdac86f 2026-05-08 Remove all health-code/inspection/violation rendering and drop tables
  8. 79f5c90 2026-05-07 add canonical .gitignore per standing rule

Authors

Agents used

  • none detected

Skills used

  • /restaurants3
  • /partials3
  • /head2
  • /json2
  • /server2
  • /npm1
  • /npx1
  • /homebrew1
  • /inspection1
  • /violation1
  • /inspection-violation-20260507-2358461
  • /list1
  • /next1
  • /city1
  • /detail1
  • /foot1
  • /weekly-ingest1
  • /los-angeles1
  • /la-eh-violations1

Creative ideas + design notes

Commits with substantial prose (≥120 chars) — the rationale behind each move.

963d23a · 2026-05-08 · rel=alternate JSON + HTTP Link header on / and /c/:slug
Applies the cross-fleet directory pattern (VCL fbd4be4, NPH 51036bf) to
lacountyeats. /api/restaurants already exists as the JSON mirror; this commit
just surfaces it via the standard rel=alternate signals.

Changes:
- views/partials/head.ejs: conditional <link rel="alternate" type="application/json">
  when alternateJsonUrl is in render context
- src/api/server.ts: HTTP Link header (RFC 8288) on / and /c/:slug routes;
  alternateJsonUrl computed per-request reflecting current filter state
  (q + city + cuisine + limit + offset on /, or city= filter on /c/:slug)

Smoke (PORT=9746):
- GET / → 200, Link header present with canonical + alternate (?limit=50&offset=0)
- HTML head includes <link rel="alternate" type="application/json">

Cross-fleet rel=alternate tally now: VCL + NPH + lacountyeats = 3 of 5
directory targets. Remaining: lawyer-directory (autocomplete-SPA, doesn't fit
this pattern), professional-directory, animals.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bdac86f · 2026-05-08 · Remove all health-code/inspection/violation rendering and drop tables
Steve directive 2026-05-08: 'remove all the health code details - render +
drop DB.' Backup taken at backups/inspection-violation-20260507-235846.sql
(local tables already empty before drop).

Removed:
- views/list.ejs: grade column, ?grade= select, grade-pill rendering, grade
  param dropped from URLSearchParams (prev/next pagination)
- views/city.ejs: grade-row tally header, grade-stat link blocks, grade pill
  on rest-meta, 'health grades' wording from lede
- views/detail.ejs: entire grade-block, inspections section + table,
  inspector-notes / violation-block, risk_tier dt/dd, 'Health grade' meta
- views/partials/foot.ejs: 'health-permitted' + 'Inspection grades reflect'
- views/partials/head.ejs: 'health-permitted' + 'Health grade' from default
  meta description
- src/api/server.ts: i.grade LATERAL JOIN in LIST_QUERY, ?grade= filter on /
  and /api/restaurants, grades query in /c/:slug, inspections+violations
  queries in /r/:slug, score / last_inspection / risk_tier from selects,
  grade prop from res.render calls, grade from FacilityRow type
- scripts/weekly-ingest.sh: drop ingest-inspections.ts call; drop -t inspection
  -t violation from pg_dump; rewrite header doc

DB (LOCAL):
- DROP TABLE inspection CASCADE  (was 0 rows)
- DROP TABLE violation CASCADE  (was 0 rows)

Cron:
- launchctl unload com.steve.lacountyeats-weekly (then reloaded after commit)

Smokes (PORT=9743):
- / 200 in 4.8s, 0 health refs
- /c/los-angeles 200 in 7.2s, 0 health refs
- /r/<slug> 200 in 49ms, 0 health refs
- /api/restaurants?grade=A returns count (param now no-op)

Pending on Steve:
- Push to Kamatera prod (Tailscale auth blocked)
- Drop inspection + violation on prod PG
- Optional: delete data/la-eh-violations.csv raw file

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

File tree

173 files tracked. Click any to browse the source at HEAD.

Other build journals

← Resize It  ·  all 4 projects  ·  Restaurantwallpaper →

Export

commits.csv · feed.atom · project.json · commits.json

rendered in 0ms