[FEATURE] Search/filter List Exclusions by author or title, bulk-delete the results, and record when and why each exclusion was added

Aperta
#367 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, sql
Ambito
full-stack

Direzione di ricerca

Start with the List Exclusions page under Settings → Import Lists and the ImportListExclusions table (Id, ForeignId, Name, MediaType), which needs new Added and Source columns. The existing endpoint DELETE /api/v1/importlistexclusion/{id} shows how a single exclusion is removed; bulk delete would reuse that path. Done means the list can be filtered by name or provider ID, selected in bulk and deleted, and shows when and why each entry was added. The scope spans schema, API and UI, so confirm the plan with maintainers before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

I had 69 bad exclusions for one author mixed into a list of about 2,900. Settings → Import Lists → List Exclusions has no way to filter by author or title, so the choice was to remove them one at a time or clear the whole list. Clearing the whole list would bring back every book excluded for every other author. I ended up deleting them through the API (DELETE /api/v1/importlistexclusion/{id}) after finding the IDs in the database.

The list also doesn't say when or why an exclusion was created. The ImportListExclusions table has only Id, ForeignId, Name, MediaType, so it was impossible to tell which action created these (see the exclusion bug report).

Describe the solution you'd like

  • A search box on List Exclusions that matches the name (author and title) and the provider ID.
  • Select-all on the filtered results, plus bulk delete.
  • Group entries by book: one book shows up as 4–7 rows (hc:, gr:, bare edition IDs, az: ASINs), which makes the list hard to read.
  • Store Added (date) and a Source for each exclusion (book delete, author delete, import list, manual) and show them in the list.
  • Optionally, a link from the author page: "N books excluded for this author", with a way to review them.

Describe alternatives you've considered

Clearing the whole list (too destructive), deleting one at a time in the UI (69 rows), or editing the database / calling the API by hand (what I did).

Media Type

  • Both

Use Case

Cleaning up after an accidental bulk exclusion, or checking why an author's books aren't showing up.

Lingua principale
C#
Stelle
664
Fork
48
Merge medio
5h 24m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Chaptarr/chaptarr

Tutte le issue di Chaptarr/chaptarr

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.