Expand description
An embeddable, repository-agnostic Ratatui diff review widget.
Hosts provide clankerdiff_core::DiffDocument snapshots and route emitted
clankerdiff_core::DiffReviewEvent values. This crate never executes Git.
Modules§
- ui
- Renderer-native components backed by shared semantic design roles.
Structs§
- Diff
Preview Options - Controls compact preview layout and truncation.
- Diff
Preview State - Diff
Preview Stats - Diff
Review State - Persistent state for
crate::DiffReviewWidget. - Diff
Review Widget - Embeddable stateful diff review widget.
- KeyBinding
- KeyEvent
- KeyModifiers
- Markdown
Document - A parsed Markdown document.
- Markdown
Layout - Markdown
Layout Options - Markdown
Render Stats - Deterministic work counters for incremental Markdown rendering.
- Markdown
Renderer - Stateless whole-document renderer plus streaming cache services.
- Markdown
Review - Markdown
Review Builder - Markdown
Review State - Persistent state for
crate::MarkdownReviewWidget. - Markdown
Review Widget - Stateful Ratatui Markdown review widget.
- Markdown
Row - Markdown
RowUpdate - Markdown
Rows - Mouse
Event - Ratatui
Theme - Ratatui colors derived from a shared
ReviewTheme. Application colors live inRatatuiUiTheme; only diff-specific colors are kept here. - Ratatui
UiTheme - Ratatui adapter for shared semantic component states.
- Review
Capabilities - Review
Options - Review
Theme - Streaming
Markdown State - Renderer-owned cache for one logical streaming Markdown item.
- Theme
Choice
Enums§
- Binding
Scope - Diff
Review Command - Diff
Review Status - Current host-provided document state.
- Focus
Pane - Input
Outcome - Interaction
Phase - Key
- KeyCode
- Markdown
Focus Pane - Markdown
Presentation - Markdown
Review Command - Markdown
Review Error - Errors raised while producing a submission.
- Markdown
Review Event - Events emitted by a Markdown review frontend.
- Mouse
Button - Mouse
Event Kind - Navigation
Pane - Repository
Operation Status - Status of the most recent repository mutation requested by the UI.
- Review
Command - Review
Input
Functions§
- composite_
color - default_
diff_ keybindings - default_
markdown_ keybindings - highlighted_
line - Converts ordered UTF-8 byte spans into a fully-owned Ratatui line.
- layered_
style - page_
color - render_
diff_ preview - Renders one file without constructing review state or executing Git.
Type Aliases§
- Diff
Review Event - Review event emitted to the embedding host.