fix(readarr): drop the always-empty author type column from the authors table
This commit is contained in:
9 files changed
+9
-13
No files matched your search
@@ -68,7 +68,6 @@ fn draw_library(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
|
||||
app.should_text_scroll,
|
||||
);
|
||||
let monitored = if author.monitored { "🏷" } else { "" };
|
||||
let author_type = author.author_type.clone().unwrap_or_default();
|
||||
let size = author
|
||||
.statistics
|
||||
.as_ref()
|
||||
@@ -99,7 +98,6 @@ fn draw_library(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
|
||||
author,
|
||||
Row::new(vec![
|
||||
Cell::from(author.author_name.to_string()),
|
||||
Cell::from(author_type),
|
||||
Cell::from(author.status.to_display_str()),
|
||||
Cell::from(quality_profile),
|
||||
Cell::from(metadata_profile),
|
||||
@@ -120,7 +118,6 @@ fn draw_library(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
|
||||
.filter_produced_empty_results(active_readarr_block == ActiveReadarrBlock::FilterAuthorsError)
|
||||
.headers([
|
||||
"Name",
|
||||
"Type",
|
||||
"Status",
|
||||
"Quality Profile",
|
||||
"Metadata Profile",
|
||||
@@ -130,8 +127,7 @@ fn draw_library(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
|
||||
"Tags",
|
||||
])
|
||||
.constraints([
|
||||
Constraint::Percentage(25),
|
||||
Constraint::Percentage(9),
|
||||
Constraint::Percentage(34),
|
||||
Constraint::Percentage(8),
|
||||
Constraint::Percentage(13),
|
||||
Constraint::Percentage(13),
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ source: src/ui/readarr_ui/library/library_ui_tests.rs
|
||||
expression: output
|
||||
---
|
||||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Name ▼ Type Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
Name ▼ Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex
|
||||
╭ Test Author ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
||||
│Author: Test Author │
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@ source: src/ui/readarr_ui/library/library_ui_tests.rs
|
||||
expression: output
|
||||
---
|
||||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Name ▼ Type Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
Name ▼ Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex
|
||||
+1
-1
@@ -3,7 +3,7 @@ source: src/ui/readarr_ui/library/library_ui_tests.rs
|
||||
expression: output
|
||||
---
|
||||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Name Type Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
Name Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ source: src/ui/readarr_ui/library/library_ui_tests.rs
|
||||
expression: output
|
||||
---
|
||||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Name ▼ Type Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
Name ▼ Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ source: src/ui/readarr_ui/library/library_ui_tests.rs
|
||||
expression: output
|
||||
---
|
||||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Name ▼ Type Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
Name ▼ Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ source: src/ui/readarr_ui/library/library_ui_tests.rs
|
||||
expression: output
|
||||
---
|
||||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Name ▼ Type Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
Name ▼ Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ source: src/ui/readarr_ui/library/library_ui_tests.rs
|
||||
expression: output
|
||||
---
|
||||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Name ▼ Type Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
Name ▼ Status Quality Profile Metadata Profile Books Size Monitored Tags
|
||||
=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ expression: output
|
||||
╭ Authors ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
||||
│ Library │ Downloads │ Blocklist │ History │ Root Folders │ Indexers │ System │
|
||||
│───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
|
||||
│ Name ▼ Type Status Quality Profile Metadata Profile Books Size Monitored Tags │
|
||||
│ Name ▼ Status Quality Profile Metadata Profile Books Size Monitored Tags │
|
||||
│=> Test Author Continuing Standard Standard 0 0.00 GB 🏷 alex │
|
||||
│ │
|
||||
│ │
|
||||
|
||||
Reference in new issue
Block a user