Improve chrome://ukm usability |
|||
Issue descriptionThe chrome://ukm page has been invaluable for helping me understand how UKMs work, what they look like, and what happens when I try creating some. But the page is pretty basic: it's a dump of unstyled text, and the page can get huge. Some features would make it easier to use: * Filter for particular sources/entries/metrics * Reverse sort direction (newer sources at top) * Collapse multiple entries of a metric into an expandable list * Push live updates instead of having to refresh * Parse some raw ints into more readable/useful fields I'd volunteer to create a Polymer version -- nothing fancy, but it would give us the ability to implement the stuff above without much effort. Is that cool with the metrics folks? Is anyone already working on something like this?
,
Nov 21 2017
+1 to size concerns. I have expressed the same in previous reviews that add new developer only chrome:// pages, for example see https://chromium-review.googlesource.com/c/chromium/src/+/592314#message-013a763e10067368192a58c0863cb20b83e8d681.
,
Nov 22 2017
I feel like there should be some way to do this along the lines of making the chrome binary contain just code to produce the data dump and a html-import or similar of the viewer code which would get downloaded?
,
Nov 22 2017
chrome:// pages have very strict requirements for allowing network access (for good reasons,see for example [1], [2]). Have you considered an approach similar to chrome.developerPrivate API? - An API is exposed from Chrome providing the data. - An extension can be authored by a Chromium developer, leveraging the API and uploaded to the Web store. Developers who find it useful can install that extension and use it, without burdening Chrome's binary overall (except for the code implementing the API ofcourse). [1] https://bugs.chromium.org/p/chromium/issues/detail?id=776896 [2] https://bugs.chromium.org/p/chromium/issues/detail?id=683418
,
Nov 22 2017
Can't read those bugs, but that sounds like a reasonable approach. It seems like there might be room to add some niceties like making a GN arg to compile the extension into the local chromium build or something. If there other cases where we have developer chrome:// pages that we'd prefer to use this approach it might be worth streamlining/generalizing it a bit?
,
Nov 22 2017
> If there other cases where we have developer chrome:// pages that we'd prefer to use this approach it might be worth streamlining/generalizing it a bit? I think this is a larger topic. While I agree that making the API+extension approach easier would benefit Chromium as a whole, there should be a more fleshed out proposal and pitched to Chromium dev + chrome-eng-review. Having said that, a while ago I had done some investigation about the types of chrome:// pages that currently ship with Chrome. I did not publish the spreadsheet at the time (maybe I will soon, after I update it, since it is probably slightly outdated). Attaching a dump of dev only URLs that I identified at the time (total 67).
,
Nov 22 2017
I'd be happy with an extension in the google.com webstore that uses a private API, but that'll require security reviews and whatever process there is for Google-authored extensions. I'd rather not end up with a solution that involves dumping the metrics into a viewer website, as that defeats the purpose of making the metrics easier to use. I don't think a more usable page would add much size -- a couple 10 KiBs, but I understand that it adds up and we want to avoid needless feature creep. So a gn arg to enable a component extension or maybe a webui is an interesting idea.
,
Nov 29 2017
[ mac bug triage ] Just getting this out of our triage queue, excuse the noise.
,
May 5 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by asvitk...@chromium.org
, Nov 21 2017