Closed Bug 1597376 Opened 6 years ago Closed 6 years ago

Style the about:profiling page to match other settings pages

Categories

(DevTools :: Performance Tools (Profiler/Timeline), enhancement, P2)

enhancement

Tracking

(firefox73 fixed)

RESOLVED FIXED
Firefox 73
Tracking Status
firefox73 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(4 files)

The first step in Bug 1597373 is to create a minimal about:profiling page. This bug is about styling and changing the look of the new page to match the UX work. There will probably be additional follow-ups to this, but this bug will serve to track the initial styling work. I am guessing that we will still support the old popup methods concurrently.

Priority: -- → P2
Assignee: nobody → gtatum

The new about:profiling page creates some more complexity around what
the page context is. It is simpler to handle the different cases with
a union, rather than booleans.

Depends on D55007

This is probably the biggest change to the existing components, as it makes the
summary dropdowns conditional based on the page context. This keeps the old
workflow working, but allows for the new about:profiling page's design. Most
of the diff here is creating the new _renderSection method which consolidates
this logic, and also handles the summary div structure.

Depends on D55008

This patch adds a new context for the performance-new components. It's
eventually the only place where the settings will live, but for now
the components share the settings between the popup, the devtools panel,
and the about:profiling page.

This page uses the base styling that the preferences page uses. The styles
should obey the theming for the browser, and ignore the devtools theming
colors.

Depends on D55009

Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/145bc8015c6c Break out profiler event handling into a separate component; r=julienw https://hg.mozilla.org/integration/autoland/rev/76055c79cada Change the isPopup flag to a PageContext; r=julienw https://hg.mozilla.org/integration/autoland/rev/a0076bbce8f9 Make the summary dropdowns conditional in the profiler settings; r=julienw https://hg.mozilla.org/integration/autoland/rev/abb73036e3ae Implement the new about:profiling page; r=julienw
Flags: needinfo?(gtatum)
Pushed by gtatum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/333a768cf36b Break out profiler event handling into a separate component; r=julienw https://hg.mozilla.org/integration/autoland/rev/6d14f9aea069 Change the isPopup flag to a PageContext; r=julienw https://hg.mozilla.org/integration/autoland/rev/6bfbad8ae53b Make the summary dropdowns conditional in the profiler settings; r=julienw https://hg.mozilla.org/integration/autoland/rev/9437a98ef1f1 Implement the new about:profiling page; r=julienw
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: