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.
Re-exports§
pub use markdown::MarkdownCommitError;pub use markdown::MarkdownRenderStats;pub use markdown::MarkdownRenderer;pub use markdown::MarkdownStreamError;pub use markdown::StreamingMarkdownPolicy;pub use markdown::StreamingMarkdownState;pub use syntax::highlighted_line;
Modules§
- diff
- markdown
- Read-only whole-document and append-stream Markdown rendering.
- syntax
- Conversion of renderer-neutral syntax spans to Ratatui text.
- theme
- 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
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 - 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 - 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.