Differential D301405
Bug 2044082 - Add updates for dynamic compact mode based on a configurable threshold pref ClosedPublic Authored by kcochrane on Tue, May 19, 8:25 PM. Tags Referenced Files
Details
Test Plan Don't update the to be anything other than the default of 0. That will essentially turn on compact mode regardless of any other factors.
Diff Detail
Event Timelinekcochrane planned changes to this revision.Tue, May 19, 8:25 PM kcochrane created this revision. kcochrane updated the bug number. sfoster added a comment.Tue, May 19, 10:11 PM Comment ActionsLeft some thoughts. Apart from exposing my age related macular degeneration even more than I thought, it looks promising.
kcochrane planned changes to this revision.Wed, May 20, 9:05 PM kcochrane updated this revision to Diff 1279306. kcochrane marked 3 inline comments as done.Wed, May 20, 9:08 PM Comment ActionsMade some adjustments based on feedback from @sfoster. I've also gated this behind the browser.nova.enabled pref as Ania requested that. I've added a new pref for set to by default. kcochrane planned changes to this revision.Thu, May 28, 6:35 PM kcochrane updated this revision to Diff 1285841. kcochrane retitled this revision from WIP: compact mode to WIP: Add updates for dynamic ompact mode based on a configurable threshold pref. kcochrane retitled this revision from WIP: Add updates for dynamic ompact mode based on a configurable threshold pref to WIP: Add updates for dynamic compact mode based on a configurable threshold pref.Mon, Jun 1, 2:15 PM kcochrane requested review of this revision.Mon, Jun 1, 4:01 PM kcochrane retitled this revision from WIP: Add updates for dynamic compact mode based on a configurable threshold pref to Bug 2044082 - Add updates for dynamic compact mode based on a configurable threshold pref.Mon, Jun 1, 4:01 PM kcochrane removed a reviewer: Restricted Project. kcochrane removed a reviewer: sidebar-reviewers-rotation. dao requested changes to this revision.Mon, Jun 1, 5:45 PM dao added inline comments.
This revision now requires changes to proceed.Mon, Jun 1, 5:45 PM kcochrane added inline comments.Mon, Jun 1, 7:23 PM dao added inline comments.
kcochrane requested review of this revision.Tue, Jun 2, 3:21 PM sfoster accepted this revision.Wed, Jun 3, 10:24 PM Comment ActionsThe auto-compact logic here looks good. But is there another bug that implements more compacting? I have to be honest, although the measurements show the compact is 6px shorter, I wasn't really able to see the difference. I had to check initially to make sure I was looking at compact mode. It is a bit more noticeable in the sidebar launcher width. Are you planning a test in follow-up? We definitely want test coverage for this. kcochrane added a comment.Thu, Jun 4, 3:29 PM Comment Actions
Screen Recording 2026-06-04 at 11.24.49 AM.mov3 MBDownload I also find it a bit hard to tell what state we're in unless/until we enter/exit the compact mode state. That transition between the two is quite obvious (I've attached a screen recording). I was basing it off of pre-existing compact mode to be honest thinking that's as far as we can take it, but perhaps there's more room we can shave off at some point. I'll add a test here, thanks for bringing that up! phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".Thu, Jun 4, 8:26 PM phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)". sclements accepted this revision.Mon, Jun 8, 1:50 PM sclements added a project: testing-approved. Comment Actionsr+ for the tabbrowser change. This revision is now accepted and ready to land.Mon, Jun 8, 1:50 PM This revision was landed with ongoing or failed builds.Wed, Jun 10, 10:12 PM Closed by commit rFIREFOXAUTOLANDfad4f8eddd65: Bug 2044082 - Add updates for dynamic compact mode based on a configurable… (authored by kcochrane). · Explain Why This revision was automatically updated to reflect the committed changes. nfay reopened this revision.Wed, Jun 10, 11:21 PM This revision is now accepted and ready to land.Wed, Jun 10, 11:21 PM This revision was landed with ongoing or failed builds.Thu, Jun 11, 4:06 PM Closed by commit rFIREFOXAUTOLAND69e7b8a24206: Bug 2044082 - Add updates for dynamic compact mode based on a configurable… (authored by kcochrane). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 1297684 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
