AOSSIE-Org / AOSSIE-Org/PictoPy

BUG: Albums advertise video organization but only support images

未关闭
#1,526 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug enhancement
主要语言
Python
星标
283
派生
679
平均合并
7 天 2 小时
30 天内合并 PR
3

描述

### Is there an existing issue for this?

- [x] I searched the issue tracker for this exact mismatch. The closest result is the closed broad album feature issue #775; this report is limited to the remaining, user-visible inconsistency.

### What happened?

The Create Album dialog tells users that albums organize both photos and videos, but the current implementation only permits images. A user can reasonably expect a video to be selectable for an album after reading the dialog, yet there is no UI or backend representation for a video membership.

### Evidence on `main`

- `frontend/src/components/Albums/CreateAlbumDialog.tsx:103` displays: "Create a new album to organize your photos and videos."
- `frontend/src/components/Albums/AddImagesToAlbumDialog.tsx` fetches only `fetchAllImages()` and submits only `image_ids`.
- `backend/app/database/albums.py` defines `album_images` with `image_id` as a foreign key to `images(id)`.
- `backend/app/routes/albums.py:125-126` explicitly documents that clips are left out because albums have no video support.
- `backend/app/utils/memory_scoring.py:61-65` also treats `in_album` as unavailable for videos because a video cannot be put in an album.

### Expected behavior

The UI should not claim a capability that the product does not provide. Maintainers can choose one of two directions:

1. Correct the wording so albums are accurately presented as photo-only; or
2. Scope a follow-up feature for genuine video membership in albums, including storage, API, gallery, and test coverage.

### Screenshots

Not applicable: the mismatch is visible in the create-album dialog copy and confirmed by the associated code paths above.

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue

I will wait for maintainer review and direction before opening a PR.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。