Closed Bug 1731101 Opened 3 years ago Closed 2 years ago

PopupNotification doorhanger design polish: font, width should match the design of other notification-style panels

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
98 Branch
Iteration:
98.1 - Jan 10 - Jan 23
Tracking Status
firefox98 --- fixed

People

(Reporter: victoria, Assigned: dmosedale)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

The current PopupNotification appears to have larger font and a smaller width than other panels (such as the remove extension confirmation and update dialogs). This should match the "Notifications" spec in Figma.

Also, when we use the cfr-doorhanger-large-icon, we should have more spacing (12px) between the icon and text.

Related to https://bugzilla.mozilla.org/show_bug.cgi?id=1731035

See Also: → 1731035
Blocks: cfr
Iteration: --- → 94.2 - Sep 20 - Oct 3
Priority: -- → P2
Version: unspecified → Firefox 95
Iteration: 94.2 - Sep 20 - Oct 3 → 95.1 - Oct 4 - Oct 17
Version: Firefox 95 → unspecified
Iteration: 95.1 - Oct 4 - Oct 17 → 95.2 - Oct 18 - Oct 31
Assignee: nobody → dmosedale

Make the width and font sizes match the extensions removal dialog. Fix the
test and PERSONALIZED_CFR_MESSAGE doorhanger and update it with
a large size icon to make it possible to test and debug.

The description of this bug says:

The current PopupNotification appears to have larger font and a smaller width than other panels (such as the remove extension confirmation and update dialogs). This should match the "Notifications" spec in Figma.

The font size in the "remove extension confirmation" (12px) currently doesn't match the Notifications spec (13px). The existing doorhanger notifications do.

The width of the "remove extension confirmation" (408px) also doesn't match the Notifications spec (400px); the CFR doorhanger is different from both (343px).

I'm guessing that the correct source of truth here is the spec; can you confirm that that's what you want?

Flags: needinfo?(victoria)

Good catch! Yes, let's stick to the spec.

Reasoning: I realized the remove extension panel was a bad example as it's incorrect on font size - all the other permission panels, launched using https://permission.site/, do use 13px. As for width, I see some a bit of variation between panels in product that is probably incorrect as well. The design system has a strong 400px pattern for many surfaces so it's worth realigning to it.

Flags: needinfo?(victoria)
Attachment #9247295 - Attachment description: WIP: Bug 1731101 - Polish CFR doorhanger & fix PanelTestProvider to help debug → Bug 1731101 - Polish CFR doorhanger & fix PanelTestProvider to help debug, r?Mardak!
Iteration: 95.2 - Oct 18 - Oct 31 → 96.1 - Nov 1 - Nov 14
Priority: P2 → P1
Iteration: 96.1 - Nov 1 - Nov 14 → 96.2 - Nov 15 - Nov 28
Iteration: 96.2 - Nov 15 - Nov 28 → 96.3 - Nov 29 - Dec 6
Iteration: 96.3 - Nov 29 - Dec 6 → 97.3 - Jan 3 - Jan 10
Iteration: 97.3 - Jan 3 - Jan 9 → 98.1 - Jan 10 - Jan 23
Pushed by dmosedale@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a83511601780
Polish CFR doorhanger & fix PanelTestProvider to help debug, r=Mardak
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: