Skip to content

Add Clear button to History page#804

Open
dantraynor wants to merge 3 commits into
nzbgetcom:developfrom
dantraynor:feature/clear-history-button
Open

Add Clear button to History page#804
dantraynor wants to merge 3 commits into
nzbgetcom:developfrom
dantraynor:feature/clear-history-button

Conversation

@dantraynor
Copy link
Copy Markdown
Contributor

@dantraynor dantraynor commented May 6, 2026

Closes #668.

Adds a Clear button to the History toolbar that wipes all history records — visible and hidden — via HistoryFinalDelete. Reuses the existing delete confirm dialog with the wording swapped to "all" and the OK button labeled Clear. PurgeHistoryDialog still fires for 50+ records. [C] shortcut, scoped to the History tab.

Test plan

  • Empty history → Clear → "History is empty" toast, no dialog.
  • Mixed NZB + hidden DUP → Clear → table refreshes empty.
  • Failed NZB present → cleanup warning shown; files removed on confirm.
  • Selected Delete unchanged: still says "selected", radio still shown when DupeCheck is on.
  • [C] only fires on the History tab.

Copilot AI review requested due to automatic review settings May 6, 2026 17:45
@dantraynor dantraynor marked this pull request as draft May 6, 2026 17:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@dantraynor dantraynor marked this pull request as ready for review May 9, 2026 01:36
@dnzbk dnzbk self-requested a review May 11, 2026 10:26
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.

Add "Clear" button to History page to clear all history

3 participants