Process subsection headers in about:telemetry should be clear that they're about processes
Categories
(Toolkit :: Telemetry, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: gfritzsche, Assigned: MonikaMaheshwari, Mentored)
References
Details
(Whiteboard: [good second bug][lang=js])
Attachments
(3 files)
Looking at the new improved process display in about:telemetry, i was wondering:
- As a new user of about:telemetry, looking at the list of Main on the left ((a) in the screenshot), how can i tell what Main means?
- There is also a process selector at the top right ((b) in the screenshot) - is it different, do we still need it?
Reporter | ||
Comment 1•6 years ago
|
||
For 1. i could imagine:
- Using "Main process", "Content process" etc. instead of just "Main", "Content".
- Adding tooltips "Data for the main process", etc.
Comment 2•6 years ago
|
||
I think I can understand your confusion, as that's not actually the new all-process display. Please see attached.
I think the new design addresses your concern by
- Using the proper process type names ("parent" instead of "main")
- Having a new label at the top-right identifying that the selector is for the current "store"
Will that address your concerns?
Reporter | ||
Comment 3•6 years ago
•
|
||
Thanks for clarifying, that's much better indeed!
One issue that is not covered there though is this:
- As a new user of about:telemetry, looking at the list of Main on the left ((a) in the screenshot), how can i tell what Main means?
The same question remains for me, what does "Parent" mean?
Comment 5•6 years ago
|
||
To help Mozilla out with this bug, here's the steps:
- Comment here on the bug that you want to volunteer to help. I (or someone else) will assign it to you.
- Download and build the Firefox source code
- If you have any problems, please ask on IRC in the
#introduction
channel. They're there to help you get started. - You can also read the Developer Guide, which has answers to most development questions:
- If you have any problems, please ask on IRC in the
- Start working on this bug. You'll be taking the process type names we are using as subsection header names here and suffixing them with the string " Process" so that they read like "Parent Process" and "Dynamic Process" and so forth. To make this localizable you'll be using functions provided by Fluent, so you might find its docs to be helpful. I'm not 100% sure, but it looks as though this section is most relevant and you'll be using the
setAttributes
API to pass the process name to the localized string pattern. See, for example, how we use it to build the phrase "Sorry! There are no results in Histograms for “asdf”" here.- If you have any problems with this bug, please comment on this bug and set the needinfo flag for me. Also, you can find me and my teammates on the #telemetry channel on IRC most hours of most days.
- Build your change with
mach build
and test your change by running your built Firefox withmach run
and checking that the subsections render properly. Also check your changes for adherence to our style guidelines by usingmach lint
- Submit the patch for review. Mark me as a reviewer so I'll get an email to come look at your code.
- After a series of reviews and changes to your patch, I'll mark it for checkin or push it to autoland. Your code will soon be shipping to Firefox users worldwide!
- ...now you get to think about what kind of bug you'd like to work on next. Let me know what you're interested in and I can help you find your next contribution.
Assignee | ||
Comment 6•6 years ago
|
||
Hey, can I work on this issue?
Comment 7•6 years ago
|
||
Certainly! I have assigned it to you. Let me know if you have any questions.
Assignee | ||
Comment 8•6 years ago
|
||
Hi,
- Using the proper process type names ("parent" instead of "main")
- Having a new label at the top-right identifying that the selector is for the current "store"
This are the things I need to change right?
Comment 9•6 years ago
|
||
Nope! Those two things should already be happening. What you need to do is spelled out in 3. in comment #5
In short, you'll be taking the process type name (things like "parent", "content", "gpu") and turning them into more specific labels like "parent process" and "gpu process" (basically just putting "process" at the end).
This page is localized, so there's some detail work on how to make it translateable.
Sounds good?
Assignee | ||
Comment 10•6 years ago
|
||
Comment 12•6 years ago
|
||
Yes, certainly. I apologize for the delay, Monday was a holiday so I wasn't around to look into it.
Updated•6 years ago
|
Comment 13•6 years ago
|
||
For next contributions after this one, if you're interested to continue on the trend of "making about:telemetry better" there are bug 1394755, bug 1394763, and bug 1394764 that have varying levels of design, architecture, investigation, and implementation work.
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•