Compare commits

..

2 commits

Author SHA1 Message Date
c1564807f8 refactor: merge identical match branches
All checks were successful
Rust / build (push) Successful in 7m16s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m5s
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
2024-08-31 22:32:09 +01:00
b24005c3fe fix: remove unused imports
All checks were successful
Rust / build (push) Successful in 10m7s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m3s
2024-08-31 22:31:49 +01:00
2 changed files with 3 additions and 21 deletions

View file

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

View file

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