All perfherder dropdowns have the items in alphabetical order
Categories
(Tree Management :: Perfherder, defect, P1)
Tracking
(Not tracked)
People
(Reporter: alexandru.irimovici, Assigned: kimberlythegeek)
References
(Regression)
Details
Attachments
(2 files)
We don't want the options order to be alphabetical for all the dropdowns.
Example of dropdown that should not be in alphabetical order: the time range dorpdown in graphs view
https://treeherder-prototype2.herokuapp.com/perf.html#/graphs
For better control we should define in DropdownMenuItems a component property named sortAlphabetically or something similar and have it default to false.
Comment 1•6 years ago
|
||
From what I remember of the pr review, the alphabetical sorting wasn't a requirement. Maybe just removing it makes the most sense? Any data that needs it in the future, especially if its only one thing, could be sorted before being passed to the DropdownMenuItems component.
| Reporter | ||
Comment 2•6 years ago
|
||
+1 I'm for removing the alphabetical order
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Comment 5•6 years ago
•
|
||
(In reply to Sarah Clements [:sclements] from comment #1)
From what I remember of the pr review, the alphabetical sorting wasn't a requirement.
Forgot about the PR review discussions, but these requirements state that the unpinned items from the repository dropdown menu can be ordered alphabetically.
Maybe just removing it makes the most sense? Any data that needs it in the future, especially if its only one thing, could be sorted before being passed to the
DropdownMenuItemscomponent.
Yes, we could sort the items prior to passing them to the DropdownMenuItems component.
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Description
•