The About/Help panel provides application information and a comprehensive keyboard shortcuts reference. It's accessible via F1.
Since v0.2.7, the About/Help panel opens as a special tab in the main tab bar (like Cursor/VS Code), replacing the previous modal window approach. See Special Tabs for the underlying system.
src/ui/about.rs- About panel implementation with sections, shortcuts, andshow_inline()methodsrc/app/keyboard.rs- F1 shortcut handlingsrc/state.rs-toggle_about()opens/closes the About special tab
The panel has a sidebar with two sections:
- About (○): Application info, version, links
- Shortcuts (⌘): Complete keyboard shortcuts reference
Displays:
- Application name and version
- GitHub repository link (clickable)
- Documentation link (clickable)
- Credits and technology stack
Organized by category with collapsible sections:
| Category | Icon | Shortcuts |
|---|---|---|
| File | 📄 | New, Open, Save, Save As, Close Tab |
| Edit | / | Undo, Redo, Find, Replace, Select All, Copy, Cut, Paste |
| View | 👁 | Toggle Raw/Rendered, Toggle Outline, Zoom, Settings, About |
| Formatting | Aa | Bold, Italic, Underline, Link, Inline Code |
| Workspace | 📁 | Quick File Switcher, Search in Files, Toggle File Tree |
| Navigation | ↔ | Next/Previous Tab, Go to Line, Find Next/Previous |
/// Shortcut category for organized display.
pub enum ShortcutCategory {
File,
Edit,
View,
Formatting,
Workspace,
Navigation,
}
/// About panel sections.
pub enum AboutSection {
About,
Shortcuts,
}
/// About panel state and rendering.
pub struct AboutPanel {
active_section: AboutSection,
collapsed_categories: Vec<ShortcutCategory>,
}
/// Result of showing the about panel.
pub struct AboutPanelOutput {
pub close_requested: bool,
}The panel is shown as a modal window with:
- Semi-transparent overlay (closes on click outside)
- Escape key to close
- Fixed 550-650px width
- Centered on screen
- Sidebar navigation with section icons
Colors adapt to light/dark mode:
- Overlay: Darker in dark mode (180 alpha vs 120 alpha)
- Text and background colors from theme
| Shortcut | Action |
|---|---|
| F1 | Open About/Help panel |
| ? button | Click in status bar |
| Shortcut | Action |
|---|---|
| Escape | Close panel |
| Click outside | Close panel |
// In AppState or wherever ui state is managed
state.ui.show_about = true;
// In app.rs render loop
if state.ui.show_about {
let output = about_panel.show(ctx, is_dark);
if output.close_requested {
state.ui.show_about = false;
}
}// In keyboard shortcut handler
if ctx.input(|i| i.key_pressed(egui::Key::F1)) {
state.ui.show_about = !state.ui.show_about;
}The status bar includes a ? button that toggles the About/Help panel:
- Positioned at the right end of the status bar
- Same functionality as F1 key
- Visual indicator when panel is open
- Keyboard Shortcuts - Full shortcut reference
- Settings Panel - Similar modal panel pattern
- Status Bar - Status bar implementation