Merge lp:~gesha/linaro-android-frontend/hide-howtos into lp:linaro-android-frontend
Proposed by
Georgy Redkozubov
Status: | Merged |
---|---|
Approved by: | Stevan Radaković |
Approved revision: | 316 |
Merged at revision: | 315 |
Proposed branch: | lp:~gesha/linaro-android-frontend/hide-howtos |
Merge into: | lp:linaro-android-frontend |
Diff against target: |
50 lines (+18/-1) 1 file modified
static/buildDetails.js (+18/-1) |
To merge this branch: | bzr merge lp:~gesha/linaro-android-frontend/hide-howtos |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stevan Radaković | Approve | ||
Review via email: mp+171062@code.launchpad.net |
Description of the change
This branch adds possibility to hide files from the Downloads list on the build details page.
Files to be hidden are described by patterns array. All files are checked during generation of the Downloads list against this patterns array and skipped if are found there.
To post a comment you must log in.
Hey Georgy, great work.
One comment about the patternInName function though, IMO the description of this function should be more like patternInName(name, list) to increase its re-usability and also it's a good practice to reduce the references to global variables as much as possible (yes, even in JS:)