Skip to content

Keep distinguishing parent folders readable in diff headers - #2368

Merged
max-sixty merged 2 commits into
mainfrom
codex/diff-parent-paths
Oct 11, 2026
Merged

max-sixty merged 2 commits into
mainfrom
codex/diff-parent-paths

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Diff headers now give space to the immediate parent before older ancestors, so repeated names such as CLAUDE.md remain distinguishable on a phone. Basenames keep their existing priority, renamed pairs share space, and keyboard focus or a held touch still exposes the complete path.

Validation: six focused Chromium/WebKit browser cases pass, covering repeated names, narrow and renamed paths, sticky header height and complete-path disclosure. An isolated main/candidate comparison shows the distinguishing prefixes becoming visible without additional startup requests; bare and long filenames remain contained.

This was written by Codex on behalf of max-sixty

Retain main’s keyed summary rendering and map ancestor, immediate parent and basename into its path template. Complete the mobile test’s opened file before collapsing it, preserving the disclosure journey without racing its async content.
@max-sixty
max-sixty merged commit 61f0fac into main Oct 11, 2026
6 checks passed
@max-sixty
max-sixty deleted the codex/diff-parent-paths branch October 11, 2026 07:48
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