fix: resolve CI/CD issues - remove unused dependencies and imports
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-05 15:59:03 +00:00
parent 79566f8b3e
commit d0ffa09d10

View File

@@ -1,18 +1,3 @@
use crossterm::{
event::{self, Event, KeyCode, KeyEventKind},
terminal::{disable_raw_mode, enable_raw_mode, Clear},
ExecutableCommand,
};
use ratatui::{
backend::CrosstermBackend,
layout::{Constraint, Direction, Layout, Rect},
style::{Color, Modifier, Style, Stylize},
text::{Line, Span, Text},
widgets::{
Block, Borders, Cell, Gauge, List, ListItem, Paragraph, Row, Table, Tabs, Widget, Wrap,
},
Frame, Terminal,
};
use std::io::Stdout;
use std::path::PathBuf;
@@ -65,7 +50,7 @@ impl TuiState {
pub fn filtered_items(&self) -> Vec<&TechDebtItem> {
let mut items: Vec<&TechDebtItem> = self.items.iter().collect();
if !self.filter_text.is_empty() {
if !self.filter_text.is_empty()) {
items.retain(|item| {
item.content.to_lowercase().contains(&self.filter_text.to_lowercase())
|| item
@@ -265,7 +250,7 @@ fn draw_dashboard(f: &mut Frame<CrosstermBackend<Stdout>>, state: &TuiState, are
f.render_widget(help_para, right_content[1].inner);
let status_bar = Line::from(vec![
Span::styled(" Press ", Style::default().fg(Color::Gray)),
Span::styled(" ", Style::default().fg(Color::Gray)),
Span::styled("TAB", Style::default().fg(Color::Yellow).bold()),
Span::styled(" to view items | ", Style::default().fg(Color::Gray)),
Span::styled("q", Style::default().fg(Color::Yellow).bold()),