Differential D295657
Bug 2024959 - empty state for new tab groups list r=dwalker,jswinarton ClosedPublic Authored by sthompson on Apr 21 2026, 8:37 PM. Tags Referenced Files
Details
Summary If a user doesn't have any open or saved tab groups, the tab groups list (in application menu > Tab Groups or in the non-default customizable UI Tab Groups toolbar panel) will tell the user how to create a tab group and give a button to quickly create one. The "create a tab group" button is supposed to create a new tab and add that new tab to a new tab group. This patch reuses existing telemetry info; the telemetry will be overhauled in bug 2021191. This patch includes an illustration originally created in 2025 for the release of tab groups, but it appears that it was never deployed. There is a desire to update the illustration in the future.
Diff Detail
Event Timelinesthompson created this revision.Apr 21 2026, 8:37 PM phab-bot published this revision for review.Apr 21 2026, 8:39 PM phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)". phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)". phab-bot removed a project: secure-revision. sthompson added a comment.Apr 21 2026, 8:41 PM Comment ActionsUX specs were created with the Nova component/styles system, but this menu is expected to launch before Nova. UX specs based on its presentation in the application menu: UX specs based on its presentation in a toolbar menu: Screenshot of the application menu with this patch's changes: sthompson attached a referenced file: F68206633: Screenshot 2026-04-21 at 16.39.48.png. (Show Details)Apr 21 2026, 8:42 PM sthompson attached a referenced file: F68206568: Screenshot 2026-04-21 at 16.38.52.png. (Show Details) sthompson attached a referenced file: F68206570: Screenshot 2026-04-21 at 16.39.29.png. (Show Details) sthompson added inline comments.Apr 21 2026, 8:46 PM
Comment Actions Code analysis found 3 defects in diff 1254856:
IMPORTANT: Found 3 defects (error level) that must be fixed before landing.
You can run this analysis locally with: If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1254856. sthompson added inline comments.Apr 22 2026, 1:01 AM
reviewbot added a comment.Apr 22 2026, 1:31 AM Comment ActionsCode analysis found 2 defects in diff 1255102:
IMPORTANT: Found 2 defects (error level) that must be fixed before landing.
You can run this analysis locally with: If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1255102. jswinarton added a comment.Apr 22 2026, 2:24 PM Comment ActionsOverall this visually looks good, though one thing I noticed is that the padding on the panel seems to be quite thin. I compared it to the padding on the extensions panel (the non-nova version) and it seems to be about twice the size. It's tough to get right since we don't have a actual spec, but I think maybe a bit of additional padding wouldn't make this fit a little bit better for now, and of course we can adjust once we get into Nova-land. I didn't measure it exactly, but the padding seems to total around 18px on the extensions panel.
jswinarton attached a referenced file: F68250113: Screenshot 2026-04-22 at 10.20.06 AM.png. (Show Details)Apr 22 2026, 2:24 PM dao added inline comments.
sthompson added a comment.Apr 22 2026, 4:37 PM Comment Actions
The UX spec has 16px padding and I've been trying to achieve the same result. It would be easier to just things directly and use a flex gap, but I'm trying to figure out how to get there from the standard panel classes and tokens... The general idea that I'm picking up is that children of the .panel-subview-body are supposed to have (8px block and inline) and (8px inline only), resulting in 16px inline whitespace against the edges of the panel and 16px block whitespace between different items. It feels awkward because the empty state isn't a simple list of that has all of these things already configured. I reworked it and got the padding in better shape. Unfortunately, I'm still using panel tokens that use-design-tokens doesn't like, and I'm still not addressing Dao's desire for better semantic rules.
reviewbot added a comment.Apr 22 2026, 5:14 PM Comment ActionsCode analysis found 2 defects in diff 1255592:
IMPORTANT: Found 2 defects (error level) that must be fixed before landing.
You can run this analysis locally with: If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1255592. sthompson marked an inline comment as done.Apr 22 2026, 8:15 PM sthompson added inline comments.
sthompson marked an inline comment as done. reviewbot added a comment.Apr 22 2026, 8:45 PM Comment ActionsCode analysis found 2 defects in diff 1255803:
IMPORTANT: Found 2 defects (error level) that must be fixed before landing.
You can run this analysis locally with: If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1255803. bolsson accepted this revision.Apr 22 2026, 11:41 PM Comment Actions Just a nit for the .svg, I'll let Dao complete the theme review he's already started here.
sthompson added a child revision: D295993: Bug 2025038 - tab groups list button to create a new tab group r=dwalker,jswinarton. reviewbot added a comment.Apr 23 2026, 1:23 AM Comment ActionsCode analysis found 2 defects in diff 1256012:
IMPORTANT: Found 2 defects (error level) that must be fixed before landing.
You can run this analysis locally with: If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1256012. sthompson added inline comments.Apr 23 2026, 6:46 PM
sthompson marked an inline comment as done.May 4 2026, 4:13 PM Comment Actions Overall looks good. One visual issue, the panel itself is substantially wider than the Figma spec, but this should be a simple fix. Good to go other than this imo. jswinarton accepted this revision.May 15 2026, 6:51 PM sthompson added a comment.May 15 2026, 7:14 PM Comment ActionsRebased and added only to the toolbar panelview to prevent its long description text from widening the panel. The application menu is already constraining the width of its panelview. dao accepted this revision.May 16 2026, 8:52 AM dao added inline comments.
This revision is now accepted and ready to land.May 16 2026, 8:52 AM sthompson marked 2 inline comments as done.May 18 2026, 2:57 PM Closed by commit rFIREFOXAUTOLANDa50d30aded87: Bug 2024959 - empty state for new tab groups list r=jswinarton,fluent-reviewers… (authored by sthompson). · Explain WhyMay 18 2026, 9:54 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 1277214 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
