Add file attachments to History events #1

Merged
brian merged 1 commit from feature/history-attachments into main 2026-06-17 14:02:05 +00:00
Owner

Let history entries carry receipt/bill photos or PDFs alongside their
existing date and notes. Files attach to events; tracker completions
carry none.

  • New EventAttachment model + cascade relationship; create_all builds it
  • Events accept attachments on create and replace-on-patch (omit = keep)
  • uploads endpoint now accepts PDFs and returns filename/content_type/size
  • EventsPage: multi-file upload picker with previews + thumbnail display

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Let history entries carry receipt/bill photos or PDFs alongside their existing date and notes. Files attach to events; tracker completions carry none. - New EventAttachment model + cascade relationship; create_all builds it - Events accept attachments on create and replace-on-patch (omit = keep) - uploads endpoint now accepts PDFs and returns filename/content_type/size - EventsPage: multi-file upload picker with previews + thumbnail display Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Let history entries carry receipt/bill photos or PDFs alongside their
existing date and notes. Files attach to events; tracker completions
carry none.

- New EventAttachment model + cascade relationship; create_all builds it
- Events accept attachments on create and replace-on-patch (omit = keep)
- uploads endpoint now accepts PDFs and returns filename/content_type/size
- EventsPage: multi-file upload picker with previews + thumbnail display

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
brian merged commit 3f3dfe7ac3 into main 2026-06-17 14:02:05 +00:00
brian deleted branch feature/history-attachments 2026-06-17 14:02:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brian/HomeManagement!1
No description provided.