Repository navigation
Polish window chrome, tray menu, and tooltips - #16
Merged
Merged
Conversation
Give Arc's Tooltip and Avalonia's ToolTip the same menu surface, 8,5 padding and 12px text. Arc's tooltip content is single-line and capped at 200px with PathSegmentEllipsis, so long paths elide in the middle instead of overflowing the 240px bubble.
Use WindowDecorations.Full on Windows so the caption/minimize/maximize styles survive and DWM animates state changes. An empty WindowDecorations theme keeps the app-drawn title bar and caption buttons, and the title bar height hint now scales on every platform to keep drag/Snap Layouts aligned.
Arc's theme does not include Avalonia's MenuFlyoutPresenter, MenuItem or Separator, so the managed tray popup opened as an empty 32x39 window on Windows. Add themes matching the Arc menus and a regression test; the tray menu now shows its items and submenu.
The settings page reserved a 44px title bar row above the navigation, which only exists for the macOS traffic lights; on Windows and Linux it read as a blank block at the top-left. Keep a narrow drag strip and start the navigation at the top there, leaving macOS unchanged. Co-Authored-By: DeepSeek V4.1 Flash 1017 (deepseek-flash) <token@routin.ai>
List the current branch's commits, expand one commit into its message, changed files and per-file diffs, switch between repositories in multi-folder projects, and copy a full commit hash. The data comes from the local git process; the panel is read-only and refreshes from HEAD changes. Co-Authored-By: DeepSeek V4.1 Flash 1017 (deepseek-flash) <token@routin.ai>
The card now shows a file-edit icon, "Edited N files" and add/remove counts, opens the changes panel from its header, and reveals a file's diff in a hover card; clicking a row still opens the file. Diffs under ~/.tkcode/plans are session data, so they no longer count as workspace changes in turn cards, the changes panel, stats or rewind. Co-Authored-By: DeepSeek V4.1 Flash 1017 (deepseek-flash) <token@routin.ai>
Collapsing and expanding the card now uses motion:Reveal, so the file list grows and shrinks smoothly instead of popping, and the remaining files behind "Show N more" expand the same way (the rows are split into PrimaryFiles/OverflowFiles over one shared row template). The hover delay for a file's diff card goes to 600 ms so scanning the rows does not pop cards by accident. Co-Authored-By: DeepSeek V4.1 Flash 1017 (deepseek-flash) <token@routin.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WindowDecorations.Fullwith an emptyTKCode.WindowDecorationstheme).MenuFlyoutPresenter/MenuItem/Separatorcontrols, so the Windows tray context menu is no longer an empty popup; add a headless regression test.Verification
dotnet build TKCode.slnx: 0 errors.dotnet publish src/TKCode.Desktop -c Release -r win-x64: succeeds with 0warning IL####.SMOKE OK.