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
Owner

Les 2 screens montrent les 2 Feat principaux à vérifier

Les 2 screens montrent les 2 Feat principaux à vérifier
BlackAngelTV added the
Reviewed
Invalid
3
label 2026-11-06 08:45:44 +01:00
angi was assigned by BlackAngelTV 2026-11-06 08:45:44 +01:00
nocode was assigned by BlackAngelTV 2026-11-06 08:45:44 +01:00
BlackAngelTV added this to the FWS - KITTY project 2026-11-06 08:45:44 +01:00
BlackAngelTV added 9 commits 2026-11-06 08:45:45 +01:00
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.
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.
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.
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.
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.
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.
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.
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.
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.
BlackAngelTV requested review from angi 2026-11-06 08:45:45 +01:00
BlackAngelTV requested review from nocode 2026-11-06 08:45:45 +01:00
BlackAngelTV moved this to In progress in FWS - KITTY on 2026-11-06 08:48:00 +01:00
BlackAngelTV removed the
Reviewed
Invalid
3
label 2026-11-06 10:53:58 +01:00
BlackAngelTV merged commit 90e6355841 into main 2026-11-09 08:52:36 +01:00
BlackAngelTV moved this to DONE in FWS - KITTY on 2026-11-09 10:21:00 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FWS/FWS-Kitty#32