Closed Bug 2096738 Opened 4 days ago Closed 1 day ago

Update widget studio to use the standard sidebar header

Categories

(Firefox :: Widgets, task, P2)

task
Points:
2

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: fchasen, Assigned: nina-py)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt][hnt-wattle])

Attachments

(2 external files)

The header was updated to look like the header the rest of the sidebars have in Figma: https://www.figma.com/design/NbCtOQ1cYuEnIYsgWiTyZZ/HNT--Explorations?node-id=3107-9850&m=dev

It would be great if that allows us to stop using a custom header, but either way:

  • The header needs a "Custom Widgets" title
  • The more button moves next to the close button
  • The buttons no longer show their border when not focused and aren't transparent
Priority: -- → P2
Points: --- → 2
Assignee: nobody → npypchenko
Status: NEW → ASSIGNED

The shared sidebar panel header now has an actions slot between the
title and the close button, so a panel can add its own buttons next
to close. Widget Studio will be the first to use it, in the next patch,
which lets it drop its own header in favour of this one.

The title keeps the start of the row and slotted buttons stay together
at the end, with a small gap between them. This holds in the normal
layout and in the horizontal tabs layout without the launcher. With no
buttons slotted, the header looks the same as before.

The Widget Studio sidebar now uses the same header as the other
sidebars: a "Custom Widgets" title, with the more button next to the
close button. Both buttons are plain, with no background or shadow,
and the more menu still offers "Share Feedback" and "About Custom
Widgets".

In hide-launcher mode the more button used to float over the panel
switcher in the header. It is now part of the header, next to the
close button, so that overlap is gone.

Pushed by npypchenko@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/590db83d6189 https://hg.mozilla.org/integration/autoland/rev/b71a8b0e4393 Part 1: Add an actions slot to the shared sidebar panel header r=fchasen,desktop-theme-reviewers,sidebar-reviewers,kcochrane https://github.com/mozilla-firefox/firefox/commit/17bef112fea1 https://hg.mozilla.org/integration/autoland/rev/7b729050c234 Part 2: Update widget studio to use the standard sidebar header r=fchasen,fluent-reviewers,desktop-theme-reviewers,sidebar-reviewers,kcochrane,flod
Status: ASSIGNED → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: