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

Abierto
#367 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp, sql
Área
full-stack

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C#
Estrellas
664
Forks
48
Merge medio
5 h 24 min
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Chaptarr/chaptarr

Todos los issues de Chaptarr/chaptarr

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.