Skip to content

Redesign export video view to match calendar video player layout - #43

Open
LukeNeedham wants to merge 3 commits into
mainfrom
claude/second-todo-vgcjhu
Open

Redesign export video view to match calendar video player layout#43
LukeNeedham wants to merge 3 commits into
mainfrom
claude/second-todo-vgcjhu

Conversation

@LukeNeedham

Copy link
Copy Markdown
Owner

Original TODO

the export video view page needs to be updated to follow the same design as the calendar video player - video takes full width, height is driven by aspect ratio as from repo, video aligned to bottom, black toolbar aligned to top fills remaining height. toolbar contains back button, and name of export (if applicable) is centered, with the date range in small text underneath (or centered if there is no name). pause, mute buttons float aligned to bottom -left, share button floats aligned to bottom-right.

Summary

  • Rebuilt ExportDiaryViewPageContent as a Column with a black weight(1f) toolbar on top and an aspect-ratio-sized video below, mirroring CalendarScroller's layout (video full width, height driven by aspectRatio, video aligned to bottom, toolbar filling the remaining height above).
  • Added a toolbar (ExportDiaryViewToolbar) with a back button and a centered title area: the export name (if present) centered with the date range in small text underneath, or just the date range centered if there's no name.
  • Floated the mute and pause/play buttons at bottom-left over the video, and the share button at bottom-right, matching CalendarDayBottomBar's styling (GlassIconButton).
  • Added a nullable name: String? to the ExportedVideo domain model so the export's name can reach this screen, threading it through from SavedExport.name (when viewing a previously saved export) and from the trimmed export name entered on the create screen (when viewing a freshly created export).
  • Updated MockDataExportDiaryView with named/unnamed preview data and added a preview for the unnamed case.

Test plan

  • ./gradlew compileDebugKotlin
  • ./gradlew assembleDebug test
  • Manually verify the export view screen in both the "viewing a saved named export" and "viewing a fresh unnamed export" cases on a device/emulator

Generated by Claude Code

Original TODO:
the export video view page needs to be updated to follow the same design as
the calendar video player - video takes full width, height is driven by
aspect ratio as from repo, video aligned to bottom, black toolbar aligned to
top fills remaining height. toolbar contains back button, and name of export
(if applicable) is centered, with the date range in small text underneath
(or centered if there is no name). pause, mute buttons float aligned to
bottom-left, share button floats aligned to bottom-right.

- Add nullable `name` to `ExportedVideo`, threaded through from `SavedExport`
  and the fresh export name entered on the create screen.
- Rebuild `ExportDiaryViewPageContent` as a Column with a black weight(1f)
  toolbar on top (back button + centered name/date range) and an
  aspect-ratio-sized video below, mirroring `CalendarScroller`.
- Float mute/pause buttons bottom-left and the share button bottom-right
  over the video, matching the calendar day bottom bar styling.
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

App apk at:
https://github.com/LukeNeedham/VideoDiary/releases/download/claude-second-todo-vgcjhu-122-1/app-debug.apk

  • Triggered by: PR Commit 10a947bd1ee5b929ed317122659be49d9ea5375c
  • Built at: 05/08/2026 11:42:42

claude added 2 commits August 5, 2026 22:22
The toolbar sits directly on the black background rather than over video,
so its back button doesn't need the "glass" translucent-panel treatment
used for controls that float over video content.
…cjhu

# Conflicts:
#	TODO.md
#	app/src/main/java/com/lukeneedham/videodiary/ui/feature/exportdiary/create/ExportDiaryCreateViewModel.kt
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