Closed Bug 1442043 Opened 7 years ago Closed 6 years ago

Lists of workers would be more useful if they could be sorted

Categories

(Taskcluster :: UI, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Unassigned)

References

()

Details

(Whiteboard: taskcluster-web)

For pages like https://tools.taskcluster.net/provisioners/aws-provisioner-v1/worker-types/gecko-t-linux-large there is a long list of workers, sorted alphabetically on the Worker ID. Many of these workers are transient and did work many hours ago, and are no longer active (ie expired spot instances on AWS). To see the current state it would be useful to be able to sort on other headings in the table - Task State, Task Started, Task Resolved, and First Claim.
Hassan, is this a good starter bug? I don't know if this sorting would have to be done server-side..
Flags: needinfo?(helfi92)
The sorting would currently have to be done client-side. I don't think it would be too crazy to implement.
Mentor: eperelman
I'm not sure this can be done client-side atm. The list of workers is paginated. At best, we will be able to sort on a page to page basis. We probably don't want to do that because it will only confuse the user.
Flags: needinfo?(helfi92)
Haha, ok :)
Mentor: eperelman
Ah, forgot this was paged. I still don't see a reason why we couldn't filter a page, as long as the user was aware there were more results on further pages. The inconsistent part would be the number of results per page could vary because of this, but that may be a worthy tradeoff if the user gets the data they were looking for faster.
Filtering a subset of the data is not really useful, I think. Maybe we should just close this up for now. It is, perhaps, something that GraphQL could fix..
Let's keep it open, as it is still an issue, but leave it for our new stuff.
Whiteboard: taskcluster-web
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
The link in the description doesn't seem fixed to me, as it's still sorted by the worker id. Pending a deploy of a change ?
This is fixed in the new taskcluster-web, not in taskcluster-tools. TC-web isn't deployed yet for taskcluster.net, though, so seeing this change will need to wait until that's done.
Ah, I see. Thanks.
Component: Tools → UI and Tools
You need to log in before you can comment on or make changes to this bug.