brewlog/src/infrastructure/repositories
Jon Seager 949f65ac16
refactor(timeline): denormalize data and simplify frontend
Database:
- Add slug, roaster_slug, brew_data_json columns to timeline_events
- Migration backfills existing data from related tables
- Remove 9-way LEFT JOIN from list query, read directly from columns

Frontend:
- Use CSS :nth-of-type(odd/even) for alternating timeline layout
- Remove JavaScript class manipulation when appending month events
- Simplify infinite scroll month-merging logic

This eliminates query-time JOINs across 5 tables and ~20 lines of
client-side JavaScript for pattern maintenance.
2026-02-03 08:53:29 +00:00
..
bags.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
brews.rs feat(brews): add infrastructure layer 2026-02-02 19:30:14 +00:00
gear.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
macros.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
mod.rs feat(brews): add infrastructure layer 2026-02-02 19:30:14 +00:00
pagination.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
roasters.rs refactor(timeline): denormalize data and simplify frontend 2026-02-03 08:53:29 +00:00
roasts.rs refactor(timeline): denormalize data and simplify frontend 2026-02-03 08:53:29 +00:00
sessions.rs feat!: use numeric, database-generated IDs throughout 2025-11-25 18:21:04 +00:00
timeline_events.rs refactor(timeline): denormalize data and simplify frontend 2026-02-03 08:53:29 +00:00
tokens.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
users.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00