Open magnusviri opened 4 days ago
I find myself wanting this button all the time!
This would be a good issue for a new contributor. Broad strokes of suggested implementation:
SessionQueueBase
called cancel_all_except_current
.SqliteSessionQueue
. You can follow the pattern in the clear
method, with an extra condition to exclude any in-progress queue items.make frontend-typegen
. If you don't have make
(e.g. you are on Windows), you can restart the server and run pnpm typegen
.queue.ts
, following the patterns in this file. Export the mutation hook.<QueueActionsMenuButton />
. The existing "clear" action uses a modal to confirm the clear request. I think we'd want that for the new feature too, but I could be convinced otherwise.Please ping me on discord or here if you want to implement this to check in, and if you have any questions.
Is there an existing issue for this?
Contact Details
magnusviri
What should this feature add?
Currently there's "Cancel Current Item" and "Cancel and Clear All Items". Would it be possible to "Cancel All But the Current Item"? My computer is slow and sometimes I want the current item to finish but none of the others.
Alternatives
No response
Additional Content
No response