Commit graph Damson/tests/features.rs
Author SHA1 Message Date
2e7b699a60 Plain error wording, hover and press on segments and switches
From a pass with the taste skill's rules:
- File errors read as a person would say them ("Couldn't open x: it
  isn't there") instead of raw OS text with "(os error 2)", and each
  prompt says what it couldn't do.
- Segmented buttons tint on hover and squeeze when pressed, and switches
  get a hover halo round the thumb, like the rest of the controls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 19:36:46 -06:00
dd2a9ad6ab 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
8e5bfdadb6 Plain hover text, and live rust-analyzer tests
Servers send markdown regardless of what's asked for, so hover cards
showed code fences. Extends the live Rust test to typing after dots and
paths, accepting a suggestion, and hover.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 18:29:21 -06:00
8c5b7ffc78 Completion while typing, and end-to-end tests with real tools
Adds tests/features.rs: live clangd, a shell, curses and nano, a real git
repository, crash recovery, random edits and a 200k-line file.

Fixes from those runs: completions appear while typing and use the
server's ranking and filter text; a language server that dies is reported
and word completion takes over; system fonts draw characters the code
font lacks; block comments wrap the line and add spaces.

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