Closed Bug 1385350 Opened 7 years ago Closed 7 years ago

Add a Search on the home of about:telemetry

Categories

(Toolkit :: Telemetry, enhancement, P1)

Other
iOS
enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: flyingrub, Assigned: flyingrub)

References

Details

Attachments

(1 file)

This will allow to search in any subsection for data and display them.
Assignee: nobody → flyinggrub
Priority: -- → P1
Product: Firefox for iOS → Toolkit
Depends on: 1389165
Attachment #8895421 - Flags: review?(gfritzsche) → review?(chutten)
Comment on attachment 8895421 [details] Bug 1385350 - Add a Search on the home of about:telemetry https://reviewboard.mozilla.org/r/166614/#review173572 Does this work well if the user changes pings while there is a search?
Attachment #8895421 - Flags: review?(chutten)
It's a work in progress for now but I think that it should work when changing ping. Also it will need some rebase as there will probably be merge conflict.
I rebased the commit on m-c. Also tested that it works well when changing ping :).
Comment on attachment 8895421 [details] Bug 1385350 - Add a Search on the home of about:telemetry https://reviewboard.mozilla.org/r/166614/#review174924 ::: toolkit/content/aboutTelemetry.js:1401 (Diff revision 3) > + } > + if (section.id === "home-section") { > + if (text !== "") { > + this.homeSearch(text); > + } else { > + this.resetHome(); The pattern in the other searches is to call filterElements with the text and, if it is empty, to not filter anything away. Merge resetHome and homeSearch, resetting when text === "", and then search(...) should look very similar for each section.
Attachment #8895421 - Flags: review?(chutten) → review-
Attachment #8895421 - Flags: review?(chutten) → review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b23df13c1e57 Add a Search on the home of about:telemetry r=chutten
Keywords: checkin-needed
Backed out for eslint failure in toolkit/content/aboutTelemetry.js (strings must use doublequotes): https://hg.mozilla.org/integration/autoland/rev/507f3006ca28ca42a5787709ab155972b80a142a Push with failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=b23df13c1e5744d6a3e12a0f3747854a04ec1c05&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=runnable&filter-resultStatus=usercancel Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=123955069&repo=autoland TEST-UNEXPECTED-ERROR | /home/worker/checkouts/gecko/toolkit/content/aboutTelemetry.js:1394:81 | Strings must use doublequote. (quotes) TEST-UNEXPECTED-ERROR | /home/worker/checkouts/gecko/toolkit/content/aboutTelemetry.js:1836:83 | Strings must use doublequote. (quotes)
Flags: needinfo?(flyinggrub)
fixed.
Flags: needinfo?(flyinggrub)
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/f17a2e7ae4e0 Add a Search on the home of about:telemetry r=chutten
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: