Closed Bug 1822211 Opened 3 years ago Closed 3 years ago

Spotlight center layout: support vertically oriented buttons box for additional_button

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: aminomancer, Assigned: aminomancer)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

We want to support designs like the one attached, with two CTAs aligned vertically, plus a secondary text-link CTA at the bottom. But currently, the only way to get 3 CTAs (not counting dismiss button or top-aligned secondary CTAs) in a legacy spotlight like this is to use additional_button, which is placed in a box with the primary_button which flows horizontally.

Should be a pretty simple fix. We just need to add some kind of message property for Spotlight, which results in the additional button box getting flex-direction: column.

Unfortunately, as far as I can tell, there isn't any way to do this with configurable styles, so we can't do an experiment with this vertical layout on existing Fx versions. But since design is heading in this direction, we should land support for this ASAP so we can start targeting current Fx versions for experiments on these new designs.

Here's the closest implementation we can currently achieve to the previous design example.

Summary: Spotlight: support vertically oriented buttons box for additional_button → Spotlight center layout: support vertically oriented buttons box for additional_button
Assignee: nobody → shughes
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by shughes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/619439997a12 Add vertical button layout for center layout Spotlight. r=omc-reviewers,barret
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: