feat: TUI Phase 1 common widgets + scoring/path beads
This commit is contained in:
14
crates/lore-tui/src/state/mr_detail.rs
Normal file
14
crates/lore-tui/src/state/mr_detail.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#![allow(dead_code)]
|
||||
|
||||
//! Merge request detail screen state.
|
||||
|
||||
use crate::message::{Discussion, EntityKey, MrDetail};
|
||||
|
||||
/// State for the MR detail screen.
|
||||
#[derive(Debug, Default)]
|
||||
pub struct MrDetailState {
|
||||
pub key: Option<EntityKey>,
|
||||
pub detail: Option<MrDetail>,
|
||||
pub discussions: Vec<Discussion>,
|
||||
pub scroll_offset: u16,
|
||||
}
|
||||
Reference in New Issue
Block a user