Add "Delete All" button to Retries in Web UI#540
Conversation
|
Nice! I'd prefer to see the button down by |
|
👍 How about a "Retry All" as well down there? |
|
@jc00ke The position you mentioned was my first thought, but both of those buttons are controlled by the checkboxes, and something told me to put it somewhere else so that "Delete All" wasn't misinterpreted for "Delete All the ones on this page"? Does that make sense? My next thought was to maybe put it bottom left. Would that be better? Agreed on not showing if there aren't jobs. |
|
Maybe put buttons that are toggled by the checkboxes to the left (under the checkboxes) and |
|
@jc00ke Pushed. Is "Retry All" something you'd like me to add as well? |
|
@brandonhilkert re: Also, does that screencap reflect the changes? I was thinking... That way the buttons that are activated by the checkboxes are under the checkboxes. |
|
Let me take a quick look at the re: pic - exactly. New screenshot is attached above. |
|
If this looks good, I can squash the commits if necessary. Let me know. |
|
Looks awesome. |
lib/sidekiq/web.rb
Outdated
There was a problem hiding this comment.
If there are 1000 retries, this will perform 1000 round trips. Just clear the sorted set in one go. I'd suggest adding a clear method to the API objects.
There was a problem hiding this comment.
@mperham I might be missing something, but is there a good way to clear a sorted set rather than delete the key entirely?
|
Yeah, looks great. Once @mperham's suggestion about the |
|
I'd like to suggest a little change... Why don't put For example, create a new column called My suggestion makes more objective the actions. What do you think? Am I wrong with my point? |
|
@fabianoalmeida You then lose the ability to delete, say 20, with a single button click. I see the benefit for a single job, but beyond that, the actions seem tedious. |
|
@mperham How's that? |
|
I also have a wiki page all setup for the API once this is merged. |
|
Looks great, thanks! |
|
Oh, changelog update? |
|
This interface looks incredible @brandonhilkert - I personally can't wait till it makes it to master. |
|
Updated changelog and rebased. |
Add "Delete All" button to Retries in Web UI


Added "Delete All" button that leverages the API to clear jobs.