brewlog/src/presentation/web/views
Jon Seager 0b321068aa
refactor(domain): extract shared formatting helpers
- Add format_weight() and format_relative_time() in domain/formatting.rs
- Replace ad-hoc weight format strings across views and timeline events
- Move relative_date() body to domain layer with explicit now param
- Remove hardcoded "g" suffix from bag templates (now in format_weight)
- Document formatting helpers in CLAUDE.md
2026-02-08 15:14:39 +00:00
..
bags.rs refactor(domain): extract shared formatting helpers 2026-02-08 15:14:39 +00:00
brews.rs refactor(domain): extract shared formatting helpers 2026-02-08 15:14:39 +00:00
cafes.rs refactor(ui): improve data table detail rows and mobile cards 2026-02-05 20:40:38 +00:00
cups.rs feat(ui): enhance desktop tables and mobile card views 2026-02-06 15:40:40 +00:00
gear.rs refactor(ui): improve data table detail rows and mobile cards 2026-02-05 20:40:38 +00:00
mod.rs refactor(domain): extract shared formatting helpers 2026-02-08 15:14:39 +00:00
roasters.rs refactor(ui): improve data table detail rows and mobile cards 2026-02-05 20:40:38 +00:00
roasts.rs feat(ui): colour-code tasting note pills by SCA wheel category 2026-02-06 16:26:29 +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 chore: fix lints 2026-02-08 09:40:37 +00:00