Commit graph Damson/src/ui/menu.rs
Author SHA1 Message Date
5ef45b0ba7 Sudo saves, session-only change bars, a rail that follows the drag
- Saving a file you can't write asks for your password and saves it
  through sudo (cp keeps the file's owner and mode). The password goes to
  sudo's stdin once and isn't kept.
- Change bars and the tree's edited dots now describe this session only:
  a line diff against the file as it was opened, not git diff HEAD, so
  they're gone after a restart.
- Dragging the scroll rail keeps the viewport bubble under the pointer
  all the way to the end of long files, and grabbing it again no longer
  jumps. The bubble stays inside the rail when popped out.
- About shows the language count without naming Kate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 19:30:15 -06:00
5c4227174f Polish pass: consistent sizes, quieter accent, keycaps
Binds the two shortcuts menus showed but nothing handled, and raises
faint text to 4.5:1 in light mode, with tests for both. Text sizes go
from 12 to 6 and corner sizes onto one scale, rows and buttons onto the
4px grid. Icons in lists use the text colour, the Git count is tonal and
the terminal dot only means something is running. Shortcuts show as
keycaps, and short strings lose their periods.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 19:06:13 -06:00
c9905567a6 Real text in the preview, system title bar, toolbar, Discord presence
The preview draws real glyphs on a worker thread, within the GPU's
texture limit. The window uses the system title bar; the top right holds
up to 8 icons chosen in Settings, then the menu logo. Adds a shell
picker, taskbar actions and Discord presence, and drops the Caelestia
and KDE colour choices in favour of Desktop.

Word wrap no longer moves the view. The terminal starts at its final
size and the morph never resizes the shell.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 17:41:56 -06:00
65defa1ae3 Damson: a Material You code editor in Rust
Runs Kate's syntax definitions directly, on a hand-written editor core.
Spring-driven UI with a pop-out scrolling preview, baked-in terminal
grown from a morphing button, jelly tabs, command palette, side panels,
git, language servers and hot exit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 17:05:28 -06:00