Commit Graph

9 Commits

Author SHA1 Message Date
alan acd160b49e Add the app's terminal surface: bottom panel, floating window and full-screen page 2026-11-09 21:42:52 +00:00
alan 4733d4b615 Rename, move and delete entries from the chat Files panel
Every row and tile menu gains Rename…, Move… and Delete… (folders now
have a menu too). Rename prefills the name with the file's stem selected
and applies the server's name rules inline. Move reuses the chat folder
picker through a FolderPickerPurpose: titled for the entry, confirmed
with Move here, never offering the entry's current folder and keeping a
moved folder's own subtree out of reach. Delete confirms, and when the
server reports a folder with contents asks once more before deleting
recursively. Holding an entry and dropping it on a folder row or tile
moves it there; the target highlights and refuses itself and ancestors.

FilesController performs each request through files_mutations.dart,
shows Renaming…/Moving…/Deleting… progress, reloads the shown folder
afterwards and keeps a refusal in the server's words in the panel's
notice until dismissed.
2026-11-09 01:46:28 +00:00
alan b8fb4d350c Upload files into the shown folder from the chat Files panel
The header gains an Upload button that uses the host file picker (disabled
with its reason where no picker exists), and the panel body becomes a drop
target: on web, document drag events are observed through a dart:js_interop
seam and a file drag over the panel shows a highlight naming the folder.
Each file is posted to POST /files?path=<folder> through an injectable
transport; refusals (exists, sign in, too large) stay visible until dismissed
and the folder reloads afterwards. The list/grid builders move to
files_entries.dart to keep the panel small.
2026-11-09 00:09:01 +00:00
alan 3d88220430 Authenticate native chat thumbnails without following redirects 2026-11-08 22:23:42 +00:00
alan e4904395f0 Connect saved machines concurrently in the chat workspace 2026-11-08 22:21:17 +00:00
alan 9e6d55942f Refresh retained explorer when chat directory metadata arrives 2026-11-07 02:41:52 +00:00
alan d8ef2b6109 Respect Cupertino brightness and render file markdown 2026-11-07 01:46:05 +00:00
alan 84a03bea8d Complete chat file previews downloads and explorer actions 2026-11-07 01:44:42 +00:00
alan 5a1d503f58 Add chat files panel explorer shell with sorting and views 2026-11-07 01:06:23 +00:00