Overview
Gitlantis displays your current location in the file system using breadcrumb trails in the top-left corner of the screen. The breadcrumbs show both your current Git branch and your file path.Breadcrumb Components
The breadcrumb system consists of two main parts:Path Navigation
The breadcrumb path allows you to quickly navigate up the directory tree:Segment Interaction
src/browser/components/ui/breadcrumbs/path/index.tsx:57-66
Path Parsing
The breadcrumb intelligently parses your current path:Path Segmentation Logic
Path Segmentation Logic
- Splits the path into segments
- Finds where your base folder starts
- Only shows the relevant portion of the path
src/browser/components/ui/breadcrumbs/path/index.tsx:31-40Root Directory Handling
When at the root directory, the breadcrumb shows a simplified view:src/browser/components/ui/breadcrumbs/path/index.tsx:17-29
Styling and Layout
The breadcrumbs use a dark theme that contrasts with the ocean world:Container Styling
- Background: Dark gray (
#2d302f) - Max width: 50% of viewport width
- Text wrapping: Enabled for long paths
- Rounded corners: Bottom-left, bottom-right, top-right
src/browser/components/ui/breadcrumbs/path/index.tsx:11-12
Segment Styling
- Max width: 10rem per segment
- Truncation: Long folder names are truncated with ellipsis
- Hover effect: Yellow (
#f2bc07) with underline (except current segment)
src/browser/components/ui/breadcrumbs/path/index.tsx:14-15
Visibility and Animation
The breadcrumbs respect user settings and the splash screen state:- Fade-in delay: 1700ms after splash screen disappears
- Settings respect: Hidden when
settings.breadcrumbs === "Hide" - Empty path: Not shown if no current path
src/browser/components/ui/breadcrumbs/index.tsx:12-26
Separator Character
Path segments are separated by a> character:
src/browser/components/ui/breadcrumbs/path/index.tsx:56
The breadcrumb system integrates with the Git branch picker, allowing you to switch branches without leaving the 3D world. See Git Integration for more details.