Repository navigation
Conversation
Adds a Select mode to the history list: tick generations (or "Select all shown") and delete them in one step after a confirmation. Rows that are still generating cannot be selected. Clicking a row toggles it while selecting, and the usual play behaviour returns with Done. Uses the existing delete endpoint for each item and reports how many were deleted (and any that failed). Labels go through i18n (English added; other locales fall back to English). Addresses jamiepine#534.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds multi-select to the history list, so several generations can be deleted at once instead of one by one. Addresses #534.
How it works
DELETE /history/{id}for each item, then refreshes the list and reports how many were deleted, and how many failed if any.Frontend only:
HistoryTable.tsxand the English translation file.Testing
bunx tsc -p app/tsconfig.json --noEmitpasses; no newbiome lintfindings (the list's existing ones are unchanged).