brewlog/src/presentation/web/views
Jon Seager b8a26bbeca
feat: add entity counts to stats cache for home page
Add EntityCounts struct and StatsRepository::entity_counts() to query
per-entity row counts. Include them in CachedStats so the home page can
read counts from cache instead of issuing six list queries with LIMIT 1.
Derive Default on StatsView for the fallback case.
2026-02-13 13:06:04 +00:00
..
bags.rs refactor: reduce duplication in handlers, templates, and view structs 2026-02-10 09:37:49 +00:00
brews.rs refactor: reduce duplication in handlers, templates, and view structs 2026-02-10 09:37:49 +00:00
cafes.rs fix: polish edit forms and detail pages 2026-02-10 19:43:03 +00:00
cups.rs fix: polish edit forms and detail pages 2026-02-10 19:43:03 +00:00
gear.rs feat(detail): add roaster, cafe, and gear detail pages 2026-02-08 17:20:46 +00:00
mod.rs feat: add entity counts to stats cache for home page 2026-02-13 13:06:04 +00:00
roasters.rs refactor: reduce duplication in handlers, templates, and view structs 2026-02-10 09:37:49 +00:00
roasts.rs refactor: reduce duplication in handlers, templates, and view structs 2026-02-10 09:37:49 +00:00
tasting_notes.rs feat(tasting-notes): add Levenshtein fuzzy matching for typo tolerance 2026-02-07 10:33:05 +00:00
timeline.rs fix: use shortened dates in expanded timeline cards 2026-02-10 20:33:24 +00:00