Skip to content

feat(wm): add Draw-based file tree viewer (ftree) replacing Tk version#165

Merged
pdfinn merged 1 commit intomasterfrom
claude/review-file-tree-viewer-FPEe3
Apr 8, 2026
Merged

feat(wm): add Draw-based file tree viewer (ftree) replacing Tk version#165
pdfinn merged 1 commit intomasterfrom
claude/review-file-tree-viewer-FPEe3

Conversation

@pdfinn
Copy link
Copy Markdown

@pdfinn pdfinn commented Apr 8, 2026

Port the file tree viewer from Tk to the native widget toolkit so it runs in the Lucifer presentation view alongside editor, shell, man, etc.

The new ftree.b follows the established widget-app pattern:

  • Scrollbar, Statusbar, Kbdfilter from widget.m
  • Flat-drawn expand/collapse indicators (no Tk canvas)
  • Theme-driven colours via lucitheme
  • Keyboard navigation (arrows, Enter, PgUp/Dn, Home/End)
  • Mouse: click to select, click indicator to expand/collapse
  • Context menu via Menu module (open, expand all, collapse all, etc.)
  • Plumber integration for opening files
  • Veltro IPC at /tmp/veltro/ftree/ for agent access
  • Directories sorted to top, bold names with trailing /
  • Right-aligned file sizes in dim colour

This is the first step toward an interactive namespace editor/browser to replace the namespace view in the Lucifer GUI.

https://claude.ai/code/session_01HWZ8CL5FH6695iwgefpdiv

Summary

What does this PR do and why?

Changes

Testing

How was this tested?

  • Tests pass (/tests/runner.dis -v)
  • New tests added (if applicable)
  • Tested on: (platform)

Checklist

  • Code follows the existing style of the file(s) modified
  • No .dis build artifacts committed from appl/ or tests/
  • Documentation updated (if applicable)
  • No secrets, API keys, or credentials included

Port the file tree viewer from Tk to the native widget toolkit so it
runs in the Lucifer presentation view alongside editor, shell, man, etc.

The new ftree.b follows the established widget-app pattern:
- Scrollbar, Statusbar, Kbdfilter from widget.m
- Flat-drawn expand/collapse indicators (no Tk canvas)
- Theme-driven colours via lucitheme
- Keyboard navigation (arrows, Enter, PgUp/Dn, Home/End)
- Mouse: click to select, click indicator to expand/collapse
- Context menu via Menu module (open, expand all, collapse all, etc.)
- Plumber integration for opening files
- Veltro IPC at /tmp/veltro/ftree/ for agent access
- Directories sorted to top, bold names with trailing /
- Right-aligned file sizes in dim colour

This is the first step toward an interactive namespace editor/browser
to replace the namespace view in the Lucifer GUI.

https://claude.ai/code/session_01HWZ8CL5FH6695iwgefpdiv
@pdfinn pdfinn merged commit ad83b03 into master Apr 8, 2026
6 checks passed
@pdfinn pdfinn deleted the claude/review-file-tree-viewer-FPEe3 branch April 8, 2026 10:27
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants