Bug 1748307 - [RFE] When deleting a job, provide info what job are you deleting
Summary: [RFE] When deleting a job, provide info what job are you deleting
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 26
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: 27.0
Assignee: Renan Rodrigo Barbosa
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-03 10:51 UTC by Ondrej Mejzlik
Modified: 2019-11-04 09:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-04 09:18:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6654 0 'None' 'MERGED' 'Add Job ID to ''Delete job'' message box' 2019-12-04 12:01:41 UTC

Description Ondrej Mejzlik 2019-09-03 10:51:06 UTC
Description of problem:
Beaker jobs are often used as evidence of test results or might be used as a way of reproducing a bug "Clone this job to reproduce bug".
Unfortunately sometimes when you are deleting useless jobs, broken jobs or just cleaning up a little bit to make things more organized, you click the wrong delete button and an important job might end up being deleted.
I would like to have a button in the UI in the web interface that would lock the job and prevent the delete button from being pressed until the lock is unlocked.


Version-Release number of selected component (if applicable):
Beaker 26.5 

How reproducible:
Always

Expected results:
Something to prevent jobs from being accidentally deleted by user error.

Comment 1 Tomas Klohna 🔧 2019-09-03 14:31:21 UTC
There is already a confirmation when deleting. Which page are you using for deletion of jobs?

Comment 2 Ondrej Mejzlik 2019-09-04 06:14:09 UTC
There is. You click delete and a window pops up saying "Are you sure you want to delete this?". It does not show what you are deleting though. So if you clicked the wrong delete, at this point you still think you clicked the right one. :D

Comment 3 Tomas Klohna 🔧 2019-09-04 08:06:29 UTC
How about we tell you which job are you deleting? 

I really do not want a lock for such thing, we might as well be adding a lock to not waive logs, change priority, add comments

Comment 4 Ondrej Mejzlik 2019-09-04 08:12:37 UTC
That could work, thanks.


Note You need to log in before you can comment on or make changes to this bug.