Skip to content

Expand explorer folders inline and highlight file previews - #349

Draft
flyingrobots wants to merge 3 commits into
feature/footer-layout-settingsfrom
feature/explorer-inline-tree
Draft

flyingrobots wants to merge 3 commits into
feature/footer-layout-settingsfrom
feature/explorer-inline-tree

Conversation

@flyingrobots

@flyingrobots flyingrobots commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Goal

Let users expand Files directories inline with click or Enter and read syntax-highlighted file previews without opening a buffer.

Plan

  • Implement lazy directory expansion, disclosure, nested navigation and pointer behavior.
  • Add basis-free Graft highlighting to bounded read-only previews.
  • Exercise native mouse/Enter, filtered hierarchy, explicit file open and narrow/light layouts.
  • Finish exact-head hosted checks and prepare for review.

Current status

Implemented and pushed at 26bba00. Folder click/Enter toggle immediate children in place; Right/l and Left/h navigate hierarchy. File click selects/previews and Enter explicitly opens. Filtering retains ancestors and selects the actual match. Refresh collapses the tree at the same root.

Read-only previews use Graft syntax roles with no editor-head basis. Open-buffer text is preferred; stale results and parser failures are safe. Tabs, wide Unicode and the truncation notice have alignment coverage.

Local full check passed 907 tests: 895 passed, 12 existing skips, zero failures. Quality has no regressions, and all 140 specs belong to a CI shard. Full hosted checks are running on the pushed head.

Native witnesses show mouse and Enter expansion, colored source, filtered hierarchy, dark 100x32/60x12 and Arabic/light 60x16. Previewing produced 13 syntax spans while textRequestId stayed 0 and authority stayed none; only explicit file Enter opened an Echo buffer. Arabic rasterization proves cell alignment, not terminal-specific shaping.

Stacked on footer PR #344. Dojo Feed PR #347 remains separate.

Closes #348.

@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@flyingrobots flyingrobots added the work-in-progress Cycle or PR is intentionally in progress and not ready to merge label Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

work-in-progress Cycle or PR is intentionally in progress and not ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant