Compare commits
No commits in common. "c1564807f858ebf43288a4ee27af9cf704a2f6f6" and "22ce2d431a4e9e3c344bfac843b8741527f119dd" have entirely different histories.
c1564807f8
...
22ce2d431a
2 changed files with 21 additions and 3 deletions
|
@ -1,11 +1,14 @@
|
||||||
|
use color_eyre::owo_colors::OwoColorize;
|
||||||
//
|
//
|
||||||
use git_next_core::git::graph::Log;
|
use git_next_core::git::graph::Log;
|
||||||
|
use lazy_static::lazy_static;
|
||||||
use ratatui::{
|
use ratatui::{
|
||||||
style::{Color, Style},
|
style::{Color, Style, Styled as _},
|
||||||
text::{Line, Span, Text},
|
text::{Line, Span, Text},
|
||||||
widgets::{Paragraph, Widget},
|
widgets::{Paragraph, Widget},
|
||||||
};
|
};
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
|
use tracing::info;
|
||||||
|
|
||||||
use super::HeightContraintLength;
|
use super::HeightContraintLength;
|
||||||
|
|
||||||
|
|
|
@ -52,13 +52,24 @@ impl<'a> RepoWidget<'a> {
|
||||||
alert,
|
alert,
|
||||||
branches,
|
branches,
|
||||||
log,
|
log,
|
||||||
}
|
} => InnerRepoWidget {
|
||||||
| RepoState::Ready {
|
repo_alias,
|
||||||
|
message,
|
||||||
|
alert: alert.as_ref().map(String::as_str),
|
||||||
|
branches: Some(branches),
|
||||||
|
log: Some(log),
|
||||||
|
},
|
||||||
|
|
||||||
|
RepoState::Ready {
|
||||||
repo_alias,
|
repo_alias,
|
||||||
message,
|
message,
|
||||||
alert,
|
alert,
|
||||||
branches,
|
branches,
|
||||||
log,
|
log,
|
||||||
|
// view_state,
|
||||||
|
// main,
|
||||||
|
// next,
|
||||||
|
// dev,
|
||||||
..
|
..
|
||||||
} => InnerRepoWidget {
|
} => InnerRepoWidget {
|
||||||
repo_alias,
|
repo_alias,
|
||||||
|
@ -66,6 +77,10 @@ impl<'a> RepoWidget<'a> {
|
||||||
alert: alert.as_ref().map(String::as_str),
|
alert: alert.as_ref().map(String::as_str),
|
||||||
branches: Some(branches),
|
branches: Some(branches),
|
||||||
log: Some(log),
|
log: Some(log),
|
||||||
|
// view_state,
|
||||||
|
// main,
|
||||||
|
// next,
|
||||||
|
// dev,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue