rm ReviewStatusHistoryCell

This commit is contained in:
Daniel Edrisian
2025-09-17 16:25:35 -07:00
parent b99c7dbee7
commit 85dd6a849e

View File

@@ -230,21 +230,12 @@ impl HistoryCell for TranscriptOnlyHistoryCell {
}
/// Cyan history cell line showing the current review status.
#[derive(Debug)]
pub(crate) struct ReviewStatusHistoryCell {
message: String,
}
impl HistoryCell for ReviewStatusHistoryCell {
fn display_lines(&self, _width: u16) -> Vec<Line<'static>> {
vec![Line::from(self.message.clone().cyan())]
pub(crate) fn new_review_status_line(message: String) -> PlainHistoryCell {
PlainHistoryCell {
lines: vec![Line::from(message.cyan())],
}
}
pub(crate) fn new_review_status_line(message: String) -> ReviewStatusHistoryCell {
ReviewStatusHistoryCell { message }
}
#[derive(Debug)]
pub(crate) struct PatchHistoryCell {
event_type: PatchEventType,