feat: Implemented the Lidarr History tab and CLI support

This commit is contained in:
2026-01-12 14:21:58 -07:00
parent f31810e48a
commit 68b08d1cd7
41 changed files with 2505 additions and 78 deletions
+4
View File
@@ -5,6 +5,7 @@ use crate::ui::ui_test_utils::test_utils::Utc;
use chrono::Duration;
#[cfg(not(test))]
use chrono::Utc;
use history::HistoryUi;
use library::LibraryUi;
use ratatui::{
Frame,
@@ -35,7 +36,9 @@ use super::{
widgets::loading_block::LoadingBlock,
};
mod history;
mod library;
mod lidarr_ui_utils;
#[cfg(test)]
#[path = "lidarr_ui_tests.rs"]
@@ -54,6 +57,7 @@ impl DrawUi for LidarrUi {
match route {
_ if LibraryUi::accepts(route) => LibraryUi::draw(f, app, content_area),
_ if HistoryUi::accepts(route) => HistoryUi::draw(f, app, content_area),
_ => (),
}
}