mirror of
https://github.com/OctopusSuite/octopus-file-browser.git
synced 2026-10-08 22:05:20 +00:00
Show one directory at a time and let the app load each directory
The browser no longer takes a nested tree. The app sets path and the current directory's entries; selecting a directory or .. emits octopus:navigate with the requested path for the app to load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import { defineConfig } from 'vite';
|
||||
|
||||
const VIRTUAL_ID = 'virtual:octopus-repo-tree';
|
||||
const RESOLVED_ID = `\0${VIRTUAL_ID}`;
|
||||
const ignored = new Set(['.git', 'demo', 'dist', 'node_modules']);
|
||||
const ignored = new Set(['.claude', '.git', '.npmrc', 'demo', 'dist', 'node_modules']);
|
||||
|
||||
function scan(directory) {
|
||||
return readdirSync(directory, { withFileTypes: true })
|
||||
|
||||
Reference in New Issue
Block a user