Closed Bug 1160621 Opened 9 years ago Closed 9 years ago

Option collection model in frontend could be more convenient to use

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

Details

Attachments

(1 file)

49 bytes, text/x-github-pull-request
camd
: review+
Details | Review
Every time we use the option collection model, we do the exact same transformation to turn the results of get_list into a map. This is perhaps a sign that we should provide a convenience method to do this up front. :)
Attached file PR
Hopefully self explanatory. Note that I fixed up the formatting in option_collection.js to match the rest of treeherder (except for perfherder, but we'll fix that somewhere else).
Attachment #8600435 - Flags: review?(cdawson)
Comment on attachment 8600435 [details] [review]
PR

Looks good to me.  :)
Attachment #8600435 - Flags: review?(cdawson) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: