Skip to content

Tidy the app gallery: crop, empty panel and stray glyph - #490

Merged
matt-edmondson merged 4 commits into
mainfrom
claude/project-thread-4d94d3
Oct 10, 2026
Merged

matt-edmondson merged 4 commits into
mainfrom
claude/project-thread-4d94d3

Conversation

@matt-edmondson

@matt-edmondson matt-edmondson commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Matt in a Claude project thread.

Before: every gallery picture ended with a 12px strip of the log splitter and the log's border along the bottom. The two File menu dialogs sat over an empty right panel because nothing was selected. In propagating-a-file, the centred popup landed across the similar repositories table, so a stray "(" from the digits showed above its title bar. The README linked the gallery only as text. Separately, an app bug showed in comparing-two-repositories: the compare browser listed src and .git among the files. It recognised directories by a trailing separator that RelativePath strips, so no entry was ever a directory and folders could not be opened (#440 part a).

After: each picture ends exactly on the top panel's bottom border. The dialogs open over Alpha with its details showing. The propagate popup sits in clear space below the table. The README shows comparing-a-file.png as a preview linking to the gallery. Both browsers now list directories first and open them.

How: ShowTopPanel marks its zone window as the TopPanel probe region, and AboveTheLog crops to it. Collapsing headers are marked panel/<name>, so the propagate stage can fold Git Actions away before right-clicking. OpenMenuItem selects Alpha first. App fix: the new ListBrowserDirectories asks the file system, joining each entry to the repository root because entries already include the browsed path. Both browsers use it, and the regression test is BrowserDirectoryTests, which also covers a nested entry. This does not fix the rest of #440 (the duplicated browse path in navigation and Give/Take). I rendered the gallery locally and checked it by eye; the gallery job regenerates the PNGs after merge.

Filed rather than fixed: #491 (the diff marks padding rows with "-"; hunks are indented unevenly), #492 (the browsers list .git with copy, propagate and delete actions).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WWRBkw7bXdWGzuLpqnCvrB


Generated by Claude Code

Crop every picture at the bottom of the top zone, which the app now marks as a
probe region, instead of one pixel above the log, which left the splitter and
the log's border as a strip along the bottom. Open the two File menu dialogs
over a selected repository so they are not seen against an empty panel, and
fold the git actions away before propagating so the centred popup no longer
lands across the similar repositories table with the tops of its digits
showing above the title bar. Collapsing headers are marked so a stage can
click them. The README now shows a preview from the gallery.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWRBkw7bXdWGzuLpqnCvrB
The compare browser told directories apart by a trailing separator on each
entry, but a RelativePath drops it, so no entry ever matched: every directory
was listed among the files and could not be opened. Both browsers now ask the
file system through ListBrowserDirectories, covered by BrowserDirectoryTests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWRBkw7bXdWGzuLpqnCvrB
The listing's entries already include the browsed directory (see #440), so
joining the browse path again looked for src/src/Inner and missed every
nested directory.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWRBkw7bXdWGzuLpqnCvrB
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Comment thread ProjectDirector.Test/BrowserDirectoryTests.cs Fixed
Path.Combine drops every earlier argument when a later one is rooted, which
CodeQL flagged on each call in BrowserDirectoryTests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWRBkw7bXdWGzuLpqnCvrB
@sonarqubecloud

Copy link
Copy Markdown

@matt-edmondson
matt-edmondson merged commit c04b190 into main Oct 10, 2026
15 checks passed
@matt-edmondson
matt-edmondson deleted the claude/project-thread-4d94d3 branch October 10, 2026 00:32
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.

Diff view marks padding rows with "-" and indents hunks with two-digit line numbers one column further

2 participants