Skip to content

Add unindex and remove actions for studies, series, and instances - #44

Merged
bastiao merged 1 commit into
devfrom
frontend/unindex-remove
Jun 30, 2026
Merged

bastiao merged 1 commit into
devfrom
frontend/unindex-remove

Conversation

@luis-godinho

Copy link
Copy Markdown
Contributor

Adds data deletion operations (unindex and remove) at study, series, and instance level, matching legacy Dicoogle webapp functionality.

  • Add unindex() and remove() methods to DicoogleService
  • Add uri field to Image type, populated from search results
  • Create ConfirmActionDialog component with distinct visual treatment for unindex (amber/warning) vs remove (red/destructive)
  • Create useEntryActions hook to manage URI collection, confirmation state, API calls, and search refresh
  • Add admin-only action buttons (eraser/trash icons) to StudyList, SeriesViewer, and ImageList
  • "Remove" operation unindexes first then deletes files, matching legacy behavior
  • Fix event propagation in Dialog and ImageActions to prevent parent click handlers from firing

@bastiao
bastiao merged commit becd3e8 into dev Jun 30, 2026
3 checks passed
@bastiao
bastiao deleted the frontend/unindex-remove branch June 30, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants