Closed
Bug 1489519
Opened 7 years ago
Closed 6 years ago
[tc-tools] allow sorting worker-types by name in the worker-types list view
Categories
(Taskcluster :: UI, enhancement)
Taskcluster
UI
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: soundharya, Mentored)
Details
(Keywords: good-first-bug, Whiteboard: taskcluster-web)
Right now, you can sort by None (random order) or by number of pending, but not by name. Let's add an option to sort by name.
Example of the view:
https://tools.taskcluster.net/provisioners/aws-provisioner-v1/worker-types
Comment 1•7 years ago
|
||
We can sort the list by name by default instead of the random order.
Keywords: good-first-bug
Assignee | ||
Comment 4•7 years ago
|
||
Thanks, Hassan! Can you please provide some of the initial instructions to start with?
Comment 5•7 years ago
|
||
When a user first loads https://tools.taskcluster.net/provisioners/aws-provisioner-v1/worker-types, we want the worker-types to be sorted alphabetically by name. A user can then modify the sorting via the "Order By" dropdown. The code for this will be in https://github.com/taskcluster/taskcluster-tools/tree/master/src/views/WorkerTypes. Good luck!
Assignee | ||
Comment 6•7 years ago
|
||
Thank you. I will start working on this and get back to you, if information is needed!
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(dustin)
Assignee | ||
Comment 7•7 years ago
|
||
I have changed the "None" to "Name" in https://tools.taskcluster.net/provisioners/aws-provisioner-v1/worker-types by changing the code in OrderByDropdown.jsx for adding the sorting by name in worker-types. Screenshot: https://imgur.com/a/EQfnOLm . Now, how should I proceed now for adding the sorting features and where should I change the code?
Comment 8•7 years ago
|
||
The next step is to open a pull-request and then we can take it from there :)
Assignee | ||
Comment 9•7 years ago
|
||
Sure. I will do that. So, do I need to create the separate branch from master and have to create the PR?
Comment 10•7 years ago
|
||
That's right!
Assignee | ||
Comment 11•7 years ago
|
||
Okay. Thanks!
Assignee | ||
Comment 12•7 years ago
|
||
Submitted an PR, please let me know how to proceed from there.
https://github.com/taskcluster/taskcluster-tools/pull/572
Assignee | ||
Comment 13•7 years ago
|
||
Hi, Can someone let me know, how should I proceed next? I am kinda stuck with codebase. Thanks!
Reporter | ||
Comment 14•7 years ago
|
||
Can you ask a more detailed question? Last I heard, you were going to modify handleProvisionerSelect. Did that not work?
Comment 15•6 years ago
|
||
This has been taken care of in tc-web[1].
[1] https://taskcluster-web.netlify.com/provisioners/aws-provisioner-v1
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: taskcluster-web
Updated•6 years ago
|
Component: Tools → UI and Tools
You need to log in
before you can comment on or make changes to this bug.
Description
•