2 Commits
Author SHA1 Message Date
GabrielandClaude Haiku 5.5 60befcd883 feat(media): port MediaViewer ratings and visible-only tag counts
MediaViewer committed these changes to its vendored shared copy
(e83afad, ca8a89e) without upstreaming them, so the next shared sync
would have removed them from MediaViewer and broken its build.

Ported here as a three-way merge against 74942e5, the snapshot
MediaViewer last synced from:

- media.MediaRecord.Rating, read in FindMedia and returned by ToJSON,
  with the rating column added in migrate.go
- tagSuggestions counts media items through the library's visibility
  rules instead of raw media_tags rows
- MediaPlayer autoplayMuted prop (defaults to false, so existing
  callers are unaffected)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-13 17:46:55 +01:00
GabrielandClaude Haiku 5.5 74942e55f9 test(python-backend): restore test typing fixes and formatting
A later vendored sync reverted the test typing fixes from 23bd5b2 and the
line-length formatting from 50461c0, which fails the ty check in consumers
that run `ty check --error-on-warning`. Restore them:

- assert the narrowed upgraded/found values before use
- suppress the intentional _FakeDatabase argument mismatches with
  `# ty: ignore[invalid-argument-type]`
- reformat the long lines to the package's line-length of 100

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-10 14:38:14 +01:00