Skip to content

Polish window chrome, tray menu, and tooltips - #16

Merged
239573049 merged 9 commits into
AtomUICommunity:mainfrom
oniemiddle:main
Nov 19, 2026
Merged

239573049 merged 9 commits into
AtomUICommunity:mainfrom
oniemiddle:main

Conversation

@oniemiddle

@oniemiddle oniemiddle commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Restore the native DWM minimize / maximize / restore / close animations on Windows while keeping the custom-drawn title bar and caption buttons (WindowDecorations.Full with an empty TKCode.WindowDecorations theme).
  • Theme Avalonia's standard MenuFlyoutPresenter / MenuItem / Separator controls, so the Windows tray context menu is no longer an empty popup; add a headless regression test.
  • Style Arc tooltips and elide long tooltip paths.
  • Offset the composer completion list for its floating scrollbar so it no longer covers the source column.
  • Collapse the unused 44px title-bar strip in the settings sidebar on Windows and Linux.

Verification

  • dotnet build TKCode.slnx: 0 errors.
  • dotnet publish src/TKCode.Desktop -c Release -r win-x64: succeeds with 0 warning IL####.
  • Published Desktop smoke test: SMOKE OK.

HDG and others added 9 commits November 8, 2026 16:21
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>
@239573049
239573049 merged commit 6434784 into AtomUICommunity:main Nov 19, 2026
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