Skip to content

feat(space,db): track collection watch progress and show continue-watching banner - #14

Merged
NihilDigit merged 2 commits into
NihilDigit:mainfrom
The-R0:pr-collection-continue-watching
Nov 29, 2026
Merged

NihilDigit merged 2 commits into
NihilDigit:mainfrom
The-R0:pr-collection-continue-watching

Conversation

@The-R0

@The-R0 The-R0 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

变化

为合集/系列目录增加本地追更定位与一键续看体验:

  • 进度与已看记录(Entities.kt、BilbyDatabase.kt、CollectionProgressRepository.kt):新增 collection_progress 与 collection_watched 两张 Room 表(DB version 9 -> 10)。
  • 自动同步(BilbyApp.kt):从合集目录点击播放、队列自动连播切集或暂停时,自动更新该合集的最后观看条目、位置与已看集合。
  • 继续观看入口与已看标记(CollectionScreen.kt、SpaceScreen.kt):打开有观看记录的合集时,顶部展示「继续观看」卡片(显示上次看到的视频标题与进度,点击直接沿合集队列续播),并在目录列表中标注「上次看到」/「已看」。

验证

  • 本地运行 ./gradlew :shared:compileKotlinDesktop :shared:desktopTest(含 Room KSP 代码生成)全部通过。

@NihilDigit
NihilDigit merged commit 7b89180 into NihilDigit:main Nov 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants