Skip to content

Add dedicated export progress page with cancel support - #44

Merged
LukeNeedham merged 1 commit into
mainfrom
claude/top-todo-p904d9
Aug 5, 2026
Merged

Add dedicated export progress page with cancel support#44
LukeNeedham merged 1 commit into
mainfrom
claude/top-todo-p904d9

Conversation

@LukeNeedham

Copy link
Copy Markdown
Owner

Summary

Implements the top item from TODO.md:

on the create export page, once the user clicks to create the export, open a new page that shows progress and also a cancel button. when progress completes navigate automatically to the video view page

  • Clicking Export on the create-export page now navigates to a new dedicated progress page instead of showing progress inline on the create page.
  • The new page shows a progress bar and a Cancel button. Cancelling stops the underlying Media3 Transformer and deletes the partial output file, then returns to the create page.
  • On success, the app automatically navigates to the exported video view page (replacing the progress page in the back stack, so back navigation returns to the create page, matching prior behaviour).
  • The export parameters (selected videos, date range, include-date-stamp, name) are now passed between pages via a new ExportRequest model.
  • ExportDiaryCreateViewModel no longer performs the export itself — that responsibility moved to the new ExportDiaryProgressViewModel, which owns the export/cancel/save-export flow.

Test plan

  • ./gradlew assembleDebug builds successfully
  • ./gradlew test passes
  • Manually verify: create export → progress page shows → cancel returns to create page with a clean partial-file removal
  • Manually verify: create export → progress page shows → completes → auto-navigates to video view page
  • Manually verify: back button from video view page returns to create page (not progress page)

Generated by Claude Code

Clicking Export on the create-export page now navigates to a new
progress page instead of showing progress inline. The page shows a
progress bar and a cancel button; export state (start/end date,
include-date-stamp, name, selected videos) is passed via a new
ExportRequest. Cancelling stops the underlying Media3 Transformer and
deletes the partial output file. On success the app automatically
navigates to the exported video view page.

TODO item completed:
- on the create export page, once the user clicks to create the export, open a new page that shows progress and also a cancel button. when progress completes navigate automatically to the video view page

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NUsgkhSfoS4dTzkASz63ZV
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

App apk at:
https://github.com/LukeNeedham/VideoDiary/releases/download/claude-top-todo-p904d9-123-1/app-debug.apk

  • Triggered by: PR Commit 39afa702bbd6e6e4eb2acbbbcc5b082f7a2f5d74
  • Built at: 05/08/2026 11:43:26

@LukeNeedham
LukeNeedham merged commit 1df82b9 into main Aug 5, 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