Feat/file manager panel #32

Merged
BlackAngelTV merged 9 commits from feat/file-manager-panel into main 2026-11-09 08:52:36 +01:00
9 Commits
Author SHA1 Message Date
BlackAngelTV 9c1bf4d84f build: add an Arch package for the FWS kitty
Installing the branch system-wide meant copying binaries by hand. Provide a
PKGBUILD that builds the branch and installs kitty and kitten in /usr/bin so
pacman can install and update it, with instructions for a local repository.
2026-11-06 08:41:18 +01:00
BlackAngelTV 93055004a9 docs: add a French README covering the whole workflow
The branch failed on another machine in ways the existing guides did not
explain, from an unextracted dependency bundle to the generated Go files
that only ./dev.sh build creates. Document prerequisites, build, launch, the
file manager, tests, packaging and pulling on a new machine in one place.
2026-11-06 08:41:18 +01:00
BlackAngelTV 4fb1402d9e feat(file-manager): open files in a full-window editor tab
Enter on a file handed the editor command to the shell, so the panel closed
and had to be reopened, and a docked panel ran the editor squeezed into the
dock. Delegate to kitty's edit protocol instead: the editor opens in a new
tab with the whole window and the panel is redrawn with the same selection
when it exits.

The editor now comes from kitty's editor option. file-manager's editor,
open_with_sudo and --open-here are kept but ignored so existing configs and
mappings keep loading.
2026-11-06 08:41:18 +01:00
BlackAngelTV a12a05e666 fix(build): fetch the dependency bundle when its Python is missing
dependencies/ is gitignored, so a fresh clone has none, but a working tree
can keep the folder with only the cached tarball. Checking for the folder
skipped the download and the build then died with a cryptic missing-Python
error. Check the bundle Python itself so an incomplete bundle is fetched.
2026-11-06 08:41:18 +01:00
BlackAngelTV 4b59b3a375 docs(file-manager): describe the editor option and --open-here
Explain that Enter opens files in the configured editor, that
open_with_sudo prefixes it with sudo, and that a docked panel needs
--open-here since its results never reach the shell.
2026-11-05 15:48:01 +01:00
BlackAngelTV 86982b79be feat(file-manager): open files in the editor from the panel
Files used to open in a new tab, which loses the shell the user was
working in. Hand the editor command to that shell instead, optionally
through sudo for files owned by root.

A docked panel cannot do that: kitty never routes the result of a
launch --type=window-dock back to the shell, so Enter used to close the
panel without opening anything. Add --open-here, which suspends the
panel and runs the editor in its own window. The editor is resolved
from the new `editor` option, because kitty's own editor option is not
visible to a process started with launch.
2026-11-05 15:48:01 +01:00
BlackAngelTV fb87a7306f fix(file-manager): send the overlay ready notification after the first draw
The overlay stays hidden until the kitten reports that it has drawn its
initial frame, so the panel would not appear when launched from a mapping.
2026-11-05 10:53:37 +01:00
BlackAngelTV 01c1531119 feat(file-manager): add a keyboard driven file manager kitten
Navigating a project from the shell meant chaining cd commands or leaving the
session for ranger or yazi, which isolates the environment and history. The new
kitten browses directories in a side panel on top of the existing panel and
tui/loop infrastructure and hands the selected directory back to the shell, so
the session stays intact.
2026-11-05 10:48:27 +01:00
BlackAngelTV 4d10615cc4 docs: add development setup guide for Arch Linux
Developing on Windows means building against Arch in a container, and the
steps (dependencies, image, build, run, troubleshooting) were only implicit in
docs/build.rst, so document the workflow in French for the team.
2026-11-05 10:37:51 +01:00