repository "all" view in the TUI needs to use colors for branches #54

Closed
opened 2026-08-03 19:20:54 +00:00 by hugo · 1 comment
Owner

the branch lines are simple lines and they should be different color for each branch.

the branch lines are simple lines and they should be different color for each branch.
hugo added this to the first feature complete release milestone 2026-08-03 19:20:54 +00:00
hugo added the bug label 2026-08-03 19:20:54 +00:00
Author
Owner

Implemented in c7c4467.

  • Preserved the stable graph lane index supplied by the existing Gitea commit-graph implementation instead of flattening the graph prefix into plain text.
  • Rendered each branch lane and commit node with a deterministic six-color terminal-safe palette in the All branches view.
  • Kept the cyan selection marker while preserving every lane's own color on the selected row.
  • Left single-branch commit lists and non-commit list items unchanged.
  • Added a final-buffer Ratatui regression test proving three lanes render with distinct stable colors, including under selection.

Verification:

  • cargo fmt --all -- --check
  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace (44 tests plus doc tests)
  • Live PTY run against the configured server: repository navigation, branch cycling, All branches loading, commit titles, refs, and metadata verified
  • Release gotcha and gotcha-tui built and installed to ~/.local/bin; installed artifacts byte-match the release build

This is a TUI-only change, so no iPhone build or deployment is required.

Implemented in `c7c4467`. - Preserved the stable graph lane index supplied by the existing Gitea commit-graph implementation instead of flattening the graph prefix into plain text. - Rendered each branch lane and commit node with a deterministic six-color terminal-safe palette in the All branches view. - Kept the cyan selection marker while preserving every lane's own color on the selected row. - Left single-branch commit lists and non-commit list items unchanged. - Added a final-buffer Ratatui regression test proving three lanes render with distinct stable colors, including under selection. Verification: - `cargo fmt --all -- --check` - `RUSTFLAGS="-D warnings" cargo check --workspace --all-targets` - `cargo clippy --workspace --all-targets -- -D warnings` - `cargo test --workspace` (44 tests plus doc tests) - Live PTY run against the configured server: repository navigation, branch cycling, All branches loading, commit titles, refs, and metadata verified - Release `gotcha` and `gotcha-tui` built and installed to `~/.local/bin`; installed artifacts byte-match the release build This is a TUI-only change, so no iPhone build or deployment is required.
hugo closed this issue 2026-08-03 20:21:50 +00:00
Sign in to join this conversation.