feat(readarr): add the delete book UI

This commit is contained in:
Dark-Alex-17 committed 2026-09-03 21:58:35 -06:00
1 parent 2b07ad96f1
commit 773719dbd2
11 files changed
+464 -4

No files matched your search

@@ -0,0 +1,52 @@
---
source: src/ui/readarr_ui/library/author_details_ui_tests.rs
expression: output
---
╭ Test Author ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│Author: Test Author │
│Overview: some interesting description of the author │
│Status: Continuing │
│Genres: science fiction │
│Rating: N/A │
│Path: /nfs/books/Test Author │
│Quality Profile: Standard │
│Metadata Profile: Standard │
│Monitored: Yes │
│ │
│ │
│ │
│╭ Author Details ───────────────────────╭────────────────────── Delete Book ──────────────────────╮───────────────────────────────────────────╮│
││ Books │ History │ Author Search │ Do you really want to delete the book: │ ││
││─────────────────────────────────────────│ Test Book? │───────────────────────────────────────────││
││ Monitored Title │ │Date Size ││
││=> 🏷 Test Book │ │20 0.00 GB ││
││ │ ╭───╮ │ ││
││ │ Delete Book Files: │ ✔ │ │ ││
││ │ ╰───╯ │ ││
││ │ ╭───╮ │ ││
││ │ Add List Exclusion: │ │ │ ││
││ │ ╰───╯ │ ││
││ │ │ ││
││ │ │ ││
││ │ │ ││
││ │╭────────────────────────────╮╭───────────────────────────╮│ ││
││ ││ Yes ││ No ││ ││
││ │╰────────────────────────────╯╰───────────────────────────╯│ ││
││ ╰───────────────────────────────────────────────────────────╯ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
│╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯│
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
@@ -0,0 +1,38 @@
---
source: src/ui/readarr_ui/library/delete_book_ui_tests.rs
expression: output
---
╭────────────────────── Delete Book ──────────────────────╮
│ Do you really want to delete the book: │
│ Test Book? │
│ │
│ │
│ ╭───╮ │
│ Delete Book Files: │ ✔ │ │
│ ╰───╯ │
│ ╭───╮ │
│ Add List Exclusion: │ │ │
│ ╰───╯ │
│ │
│ │
│ │
│╭────────────────────────────╮╭───────────────────────────╮│
││ Yes ││ No ││
│╰────────────────────────────╯╰───────────────────────────╯│
╰───────────────────────────────────────────────────────────╯
@@ -0,0 +1,38 @@
---
source: src/ui/readarr_ui/library/delete_book_ui_tests.rs
expression: output
---
╭────────────────────── Delete Book ──────────────────────╮
│ Do you really want to delete the book: │
│ Test Book? │
│ │
│ │
│ ╭───╮ │
│ Delete Book Files: │ ✔ │ │
│ ╰───╯ │
│ ╭───╮ │
│ Add List Exclusion: │ │ │
│ ╰───╯ │
│ │
│ │
│ │
│╭────────────────────────────╮╭───────────────────────────╮│
││ Yes ││ No ││
│╰────────────────────────────╯╰───────────────────────────╯│
╰───────────────────────────────────────────────────────────╯
@@ -0,0 +1,38 @@
---
source: src/ui/readarr_ui/library/delete_book_ui_tests.rs
expression: output
---
╭────────────────────── Delete Book ──────────────────────╮
│ Do you really want to delete the book: │
│ Test Book? │
│ │
│ │
│ ╭───╮ │
│ Delete Book Files: │ ✔ │ │
│ ╰───╯ │
│ ╭───╮ │
│ Add List Exclusion: │ │ │
│ ╰───╯ │
│ │
│ │
│ │
│╭────────────────────────────╮╭───────────────────────────╮│
││ Yes ││ No ││
│╰────────────────────────────╯╰───────────────────────────╯│
╰───────────────────────────────────────────────────────────╯
@@ -0,0 +1,38 @@
---
source: src/ui/readarr_ui/library/delete_book_ui_tests.rs
expression: output
---
╭────────────────────── Delete Book ──────────────────────╮
│ Do you really want to delete the book: │
│ Test Book? │
│ │
│ │
│ ╭───╮ │
│ Delete Book Files: │ │ │
│ ╰───╯ │
│ ╭───╮ │
│ Add List Exclusion: │ ✔ │ │
│ ╰───╯ │
│ │
│ │
│ │
│╭────────────────────────────╮╭───────────────────────────╮│
││ Yes ││ No ││
│╰────────────────────────────╯╰───────────────────────────╯│
╰───────────────────────────────────────────────────────────╯