Inline diff
Single-column unified diff — the default GitHub-style review surface. Tuned for the realtime bay-availability sync fix.
Production answer
Inline diff is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.
Primary CTAReview Inline diff states
Generative search brief
Inline diff: Single-column unified diff — the default GitHub-style review surface. Tuned for the realtime bay-availability sync fix.
services/realtime/bay-availability.ts · hotfix/bay-availability-syncservices/realtime/bay-availability.ts3f1b09a
4040subscription.on('bay.availability', (payload) => {
41 cache.set(payload.bayId, payload.slots)
41 const next = mergeSlots(cache.get(payload.bayId), payload.slots)
42 cache.set(payload.bayId, next)
43 notifyListeners(payload.bayId, next)
4244})
4345
44subscription.on('bay.closed', (bayId) => cache.delete(bayId))
46subscription.on('bay.closed', (bayId) => {
47 cache.delete(bayId)
48 notifyListeners(bayId, [])
49})
Behaviour
Compact — both line-number gutters render in the same column. Use this for narrow layouts where the side-by-side variant would wrap. Tone treatments are identical to the hunk primitive: green for adds, red for removes, teal for meta lines.