File Tree Overview
The file tree appears on the left side of the Glyph window and displays:- Folders: Expandable/collapsible directory structure
- Files: All files in your space (markdown and non-markdown)
- Active file: Highlighted in the tree
- Folder depth: Visual indentation and connecting lines
Navigation
Opening Files
Expanding Folders
- Click folder name: Toggle expand/collapse
- Click chevron icon: Same as clicking the folder name
- Nested folders: Expand multiple levels to navigate deep structures
File Operations
Right-click any file or folder to access context menu operations:Creating Files
- New Note
- New Folder
- New Database
Creates a new markdown note.
- Right-click a folder
- Select New Note
- Choose location and filename in the dialog
- Glyph creates the file with a default heading
Renaming Files and Folders
When you rename a note, Glyph automatically updates all wikilinks pointing to that note throughout your space.
Moving Files
Drag and drop files or folders to move them:- Click and hold on a file or folder
- Drag to the target folder
- Release to complete the move
Deleting Files and Folders
Deleting a folder recursively deletes all files and subfolders inside it.
File Types
The file tree displays all files, with special handling for different types:Markdown Files
- Icon: Document icon
- Open behavior: Opens in the rich markdown editor
- Wikilink support: Can be referenced with
[[filename]] - Search: Indexed for full-text search
Database Files
- Icon: Table/grid icon
- Open behavior: Opens database view
- Format: Markdown file with embedded database config
Other Files
- Images:
.png,.jpg,.jpeg,.gif,.svg,.webp - PDFs:
.pdf - Text files:
.txt,.json,.csv, etc. - Binary files: Any other file type
Sorting
Files and folders are automatically sorted:- Folders first: All folders appear before files
- Alphabetical: Case-insensitive alphabetical order
- Natural sort: Numbers are sorted numerically (e.g.,
note2beforenote10)
Empty States
When a folder is empty or your space has no files:- The file tree shows “No files found.”
- You can still right-click to create new files or folders
- The message fades in with a subtle animation
Visual Hierarchy
The file tree uses visual cues to show structure:- Indentation: Each level is indented 10px
- Connecting lines: Vertical lines show parent-child relationships
- Chevron icons: Point right when collapsed, down when expanded
- Hover effects: Files and folders highlight on hover
Performance
The file tree is optimized for large spaces:- Lazy loading: Only loads visible folders
- Virtual rendering: Efficiently handles thousands of files
- Incremental updates: Only re-renders changed items
- Debounced file watching: Batches rapid file system changes