Mercurial
comparison hg-web/src/README.md @ 192:b818a4561a3c hg-web
Added AI genreated README.md. Needed to be read.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 24 Jan 2026 21:52:14 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 191:a06710325c30 | 192:b818a4561a3c |
|---|---|
| 1 # src | |
| 2 | |
| 3 Frontend source files for the Mercurial repository browser. | |
| 4 | |
| 5 ## Files | |
| 6 | |
| 7 | File | Description | | |
| 8 |------|-------------| | |
| 9 | `repo-browser.tsx` | Main React component for the repository browser UI | | |
| 10 | `main.tsx` | React entry point, renders RepoBrowser | | |
| 11 | `index.html` | HTML template | | |
| 12 | `index.js` | JavaScript entry point | | |
| 13 | `index.css` | highlight.js theme styles | | |
| 14 | `base.css` | Base/reset styles | | |
| 15 | `build.ts` | esbuild configuration for bundling | | |
| 16 | |
| 17 ## Components (repo-browser.tsx) | |
| 18 | |
| 19 - `RepoBrowser` - Main app component with routing and state | |
| 20 - `FileList` - Renders directory listing | |
| 21 - `FileRow` - Individual file/folder row with prefetch on hover | |
| 22 - `FileViewer` - Modal for viewing code files with syntax highlighting | |
| 23 - `MarkdownViewerModal` - Modal for rendered markdown files | |
| 24 - `ReadmeViewer` - Inline README.md display | |
| 25 - `Breadcrumb` - Navigation breadcrumb | |
| 26 - `GlobalStyles` - CSS-in-JS with dark/light theme support | |
| 27 | |
| 28 ## Subdirectories | |
| 29 | |
| 30 - `icons/` - Static icon assets |