Compare commits

..

No commits in common. "c1564807f858ebf43288a4ee27af9cf704a2f6f6" and "22ce2d431a4e9e3c344bfac843b8741527f119dd" have entirely different histories.

2 changed files with 21 additions and 3 deletions

View file

@ -1,11 +1,14 @@
use color_eyre::owo_colors::OwoColorize;
//
use git_next_core::git::graph::Log;
use lazy_static::lazy_static;
use ratatui::{
style::{Color, Style},
style::{Color, Style, Styled as _},
text::{Line, Span, Text},
widgets::{Paragraph, Widget},
};
use regex::Regex;
use tracing::info;
use super::HeightContraintLength;

View file

@ -52,13 +52,24 @@ impl<'a> RepoWidget<'a> {
alert,
branches,
log,
}
| RepoState::Ready {
} => InnerRepoWidget {
repo_alias,
message,
alert: alert.as_ref().map(String::as_str),
branches: Some(branches),
log: Some(log),
},
RepoState::Ready {
repo_alias,
message,
alert,
branches,
log,
// view_state,
// main,
// next,
// dev,
..
} => InnerRepoWidget {
repo_alias,
@ -66,6 +77,10 @@ impl<'a> RepoWidget<'a> {
alert: alert.as_ref().map(String::as_str),
branches: Some(branches),
log: Some(log),
// view_state,
// main,
// next,
// dev,
},
}
}