Repository navigation
Conversation
…and retry only on errors
|
Claude finished @sztomek's task in 53s —— View job I found nothing blocking. The reveal starts only when the state goes from generating to ready, and it doesn't play again later on. All animation state is read in the draw phase, so the stagger doesn't trigger recomposition per frame. I have one non-blocking point about an edge case in the transition from generating to the list. Non-blocking
|
| density: Density, | ||
| ): ContentTransform { | ||
| val shift = with(density) { STATE_SHIFT.roundToPx() } | ||
| return if (initialState == ChaptersViewModel.EmptyState.GeneratingChapters && targetState == null) { |
There was a problem hiding this comment.
(non-blocking) If the state goes from GeneratingChapters to null while hasGeneratedChapters is false, the list just appears with no entrance animation while the generating screen fades out on top of it. That happens when canGenerateChapters flips to false, or when the episode changes to one with publisher chapters. This branch uses EnterTransition.None and relies on the stagger reveal to bring the list in, but rememberGeneratedChaptersReveal returns null in that case. The fix is to apply the same hasGeneratedChapters check here, e.g. pass it into chaptersContentTransform, so those cases fall back to the default fade-and-shift.
|
Claude finished @sztomek's task in 12s —— View job No commits since my last review. One non-blocking finding is still open. Non-blocking
|
…several screens collapse
a6eab11 to
08a6d42
Compare
|
Claude finished @sztomek's task in 35s —— View job The branch was rebased, and the new commits move the theme background onto the Non-blocking
|
…rated-chapters-motion
…rated-chapters-motion
…rs-no-chapters-yet # Conflicts: # modules/services/repositories/src/main/java/au/com/shiftyjelly/pocketcasts/repositories/transcript/TranscriptManagerImpl.kt # modules/services/repositories/src/test/java/au/com/shiftyjelly/pocketcasts/repositories/transcript/TranscriptManagerTest.kt
…ers-yet' into feat/generated-chapters-motion
…rs-motion # Conflicts: # modules/features/player/src/main/java/au/com/shiftyjelly/pocketcasts/player/view/chapters/ChaptersGenerating.kt # modules/features/player/src/main/java/au/com/shiftyjelly/pocketcasts/player/view/chapters/ChaptersPage.kt
|
Claude finished @sztomek's task in 22s —— View job Since my last review, |
|
Version |
|
Version |
Description
Part of PCDROID-841 https://linear.app/a8c/issue/PCDROID-841
The generated chapters states now follow the motion spec from the Figma prototypes.
Modifier.animateEnterExitinside theAnimatedContent, with the same timings.The stagger only plays when the tab goes from generating to generated chapters. It does not play when you open a tab that already has chapters, for creator chapters, when you switch tabs or when you scroll. Rows after the 10th come in with the 10th, so long lists don't wait.
All animations use Compose specs, so they follow the system animation scale and switch off when animations are off.
No changelog entry because the feature is behind a remote flag that is off.
Testing Instructions
Use a Plus account with the generated chapters flag on.
Screenshots or Screencast
generate-to-ready-header-fade.mp4
slow-note.mp4
generate-to-ready-header-fade-5x.mp4
Header and skeleton position during the generating enter (frames 66 ms apart, brightened). The header stays at the same height, the skeleton rises:
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xmlI have tested any UI changes...