Closed Bug 1384955 Opened 7 years ago Closed 7 years ago

Add "Edit and Retrigger" option to the ... drop down

Categories

(Tree Management :: Treeherder, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Assigned: jfrench)

References

Details

Attachments

(1 file)

I think this is pretty low-hanging fruit with a lot of potential. Taskcluster already has the ability to edit and create (aka retrigger) a task. Given a task id, simply visit this url: https://tools.taskcluster.net/tasks/cHhlvS9CRaGifFnUcQ381Q/create Treeherder could provide a link to there in the ... drop down, and call it 'Edit and Retrigger' or something like that. Then developers would have a way of controlling the environment variables the task uses, as well as the command the task runs. We could eventually take this further and put the actual harness command line in the task definition so they could control that too.
In case you guys decide to do it, the PR is there.
Comment on attachment 8893850 [details] [review] [treeherder] tojon:1384955-create-task-menu > mozilla:master Adding camd for review and kwierso for feedback on the naming.
Attachment #8893850 - Flags: review?(cdawson)
Attachment #8893850 - Flags: feedback?(wkocher)
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
Thanks jfrench, this looks good to me! I sort of prefer "Edit and Retrigger" as developers might not understand why "Create Task" would be useful (i.e that it's pre-populated with this task's definition). But I'm happy with Create Task too if you guys like it better.
Ya, I'm just for UI consistency across platforms, but I defer to you guys if there's good reasons for it to deviate. It was just confusing to me to select a menu that said Edit and Retrigger, and end up on a page (in TC) that says Create Task. If the TC page title had been Edit Task or Retrigger Task, that would have made sense to me. But again I defer to you guys, and I'll name it accordingly. :)
Naming is so hard... :) I wonder if "Custom Retrigger" would work? I must admit I prefer "Edit and Retrigger" myself as well. But I haven't reviewed the code yet...
Well, there's two votes from two awesome dudes so I'll change it to Edit and Retrigger you've reviewed it, unless you arrive at something you like more. Maybe TC could improve the wording on their side eventually for their page since it seems to me the task already exists - therefore in TC one doesn't appear to me to be 'creating' it - at first glance anyway.
Ok, the name change is there and everything seems fine in UI testing.
Comment on attachment 8893850 [details] [review] [treeherder] tojon:1384955-create-task-menu > mozilla:master Thanks Jon!
Attachment #8893850 - Flags: review?(cdawson) → review+
Thanks for the feedback and review sirs! Verified fixed on Stage.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 1502142
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: