Commits should have a header section above changed files #49

Closed
opened 2026-07-31 21:21:50 +00:00 by hugo · 1 comment
Owner

There should be a header section in the iPhone app in commit details view above the file list that shows information about the commit like title, description, hash, branch (if available), and other typical information that users expect from a got viewer.

There should be a header section in the iPhone app in commit details view above the file list that shows information about the commit like title, description, hash, branch (if available), and other typical information that users expect from a got viewer.
hugo added this to the first feature complete release milestone 2026-07-31 21:21:50 +00:00
hugo added the enhancementcritical labels 2026-07-31 21:21:50 +00:00
Author
Owner

Implemented in commit 3a69b70.

  • Replaced the changed-files-only request with the typed single-commit Gitea operation so commit details and affected files load together.
  • Added Rust-owned, view-ready commit title, description, author, committer, committed date, optional branch/ref, full hash, signature status, and changed-file rows.
  • Added a native UIKit table header with Dynamic Type, wrapping, VoiceOver metadata labels, a monospaced full hash, and normal scrolling into the changed-file list.
  • Preserved commit entry points from repository history, directory history, and activity; known branch/ref context is passed where available.
  • Regenerated the UniFFI Swift/C bindings and updated TESTING.md.

Verification:

  • cargo fmt --all -- --check
  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace (31 tests passed)
  • Live Gitea single-commit response verified for message, author/committer dates, signature, full SHA, and files.
  • Signed iPhone 17 Pro simulator build succeeded on iOS 26.5.
  • Relevant visual scenario passed at normal and accessibility-extra-extra-extra-large Dynamic Type: complete readable header, VoiceOver metadata, wrapped full hash, scrolling to Changed Files, and navigation into the file diff.
Implemented in commit `3a69b70`. - Replaced the changed-files-only request with the typed single-commit Gitea operation so commit details and affected files load together. - Added Rust-owned, view-ready commit title, description, author, committer, committed date, optional branch/ref, full hash, signature status, and changed-file rows. - Added a native UIKit table header with Dynamic Type, wrapping, VoiceOver metadata labels, a monospaced full hash, and normal scrolling into the changed-file list. - Preserved commit entry points from repository history, directory history, and activity; known branch/ref context is passed where available. - Regenerated the UniFFI Swift/C bindings and updated `TESTING.md`. Verification: - `cargo fmt --all -- --check` - `RUSTFLAGS="-D warnings" cargo check --workspace --all-targets` - `cargo clippy --workspace --all-targets -- -D warnings` - `cargo test --workspace` (31 tests passed) - Live Gitea single-commit response verified for message, author/committer dates, signature, full SHA, and files. - Signed iPhone 17 Pro simulator build succeeded on iOS 26.5. - Relevant visual scenario passed at normal and `accessibility-extra-extra-extra-large` Dynamic Type: complete readable header, VoiceOver metadata, wrapped full hash, scrolling to Changed Files, and navigation into the file diff.
hugo closed this issue 2026-08-01 12:29:19 +00:00
Sign in to join this conversation.