Closed Bug 1337929 Opened 8 years ago Closed 7 years ago

make it possible to link to the Rules page with a specific filter

Categories

(Release Engineering Graveyard :: Applications: Balrog (frontend), defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: alvin.mutisya)

References

Details

(Whiteboard: [lang=js][lang=html][ready])

When we used a free text filter, we were able to send links to the Rules page with a filter applied. Since we switched to the drop down, we haven't been able to do that anymore. We should remedy that! I think all we need to is reflect the value of the current drop down filter in the URL.
The relevant information is already stored in local storage under the key 'pr_ch_filter'. Is there any way we can load pass that parameter to the URL?
Summary: page it possible to link to the Rules page with a specific filter → make it possible to link to the Rules page with a specific filter
(In reply to Wasif Hyder from comment #1) > The relevant information is already stored in local storage under the key > 'pr_ch_filter'. Is there any way we can load pass that parameter to the URL? I think so. We do something similar on the Releases page when the free text filter is used. Have a look at the usages of "$location" in https://github.com/mozilla/balrog/blob/master/ui/app/js/controllers/releases_controller.js.
Mentor: bhearsum
Mentor: bhearsum
Hi Ben, I just want to know which dropdown menu you are referring to.
(In reply to akriti verma from comment #3) > Hi Ben, I just want to know which dropdown menu you are referring to. Once you have the development environment running, go to http://localhost:8080/rules -- there is a drop down labeled "Product/Channel filter".
Assignee: nobody → alvin.mutisya
Commit pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/0739d5bbe52cb20da9e3b06cbe88f36315c7bc27 bug 1337929: make it possible to link to the Rules page with a specific filter (#406). r=bhearsum
Depends on: 1409738
This went into production today. Thank you for implementing it Alvin!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.