Closed Bug 1772945 Opened 3 years ago Closed 3 years ago

Enable "css-masonry" on Thunderbird release builds

Categories

(Toolkit :: FeatureGate, task, P3)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox102 --- fixed
firefox103 --- fixed

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(2 files)

The new Thunderbird Address Book UI makes use of grid-template-rows: masonry layout, which needs to be enabled for Thunderbird 102.

That feature is enabled by a preferences and is enabled or not by "css-masonry" feature gate. Currently, the feature is only enabled by default on "Nightly" releases. The pref itself can be set in all-thunderbird.js, but causes a XPCShell test failure Bug 1771811 comment 6.

This bug is to add the ability to target Thunderbird with a gated feature and then enable css-masonry by default.

The new address book layout in Thunderbird 102 uses masonry layout.
The UI team has requested that the feature be turned on as another
approach would not work as well due to the dynamic and modular
nature of the new UI.

Depends on D148450

Blocks: 1771811

Should this be assigned to you, Rob? And any suggestions for priority/severity?

Flags: needinfo?(rob)

It's technically just fixing a test failure for Thunderbird, so not super high priority. It's ready for review, just haven't identified who can/should review.

Assignee: nobody → rob
Severity: -- → S3
Flags: needinfo?(rob)
Priority: -- → P3

(In reply to Rob Lemley [:rjl] from comment #4)

It's technically just fixing a test failure for Thunderbird, so not super high priority. It's ready for review, just haven't identified who can/should review.

I can review this - if you add me as a reviewer and publish the revisions I should be able to get to it today.

Flags: needinfo?(rob)
Attachment #9279953 - Attachment description: WIP: Bug 1772945 - Allow targeting gated features to Thunderbird. → Bug 1772945 - Allow targeting gated features to Thunderbird. r=gijs
Attachment #9279954 - Attachment description: WIP: Bug 1772945 - Enable "css-masonry" feature for Thunderbird. → Bug 1772945 - Enable "css-masonry" feature for Thunderbird. r=gijs
Flags: needinfo?(rob)
Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/436519a97070 Allow targeting gated features to Thunderbird. r=Gijs https://hg.mozilla.org/integration/autoland/rev/db816d9b07ce Enable "css-masonry" feature for Thunderbird. r=Gijs,preferences-reviewers
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

Comment on attachment 9279953 [details]
Bug 1772945 - Allow targeting gated features to Thunderbird. r=gijs

Beta/Release Uplift Approval Request

  • User impact if declined: No user impact for Firefox.
    No user impact for Thunderbird.
    The second patch fixes a perma-fail on Thunderbird release/beta builds by setting the default (true) that the feature gate expects to what's actually set in all-thunderbird.js. One (6?) less failure to look at. Bug 1771811.

Verifying in Nightly is not possible because the feature is already enabled. I did run a try build with the update channel set to beta and did not see the test fail.

  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This adds the ability to use gated features that target Thunderbird specifically via AppConstants.MOZ_APP_NAME. This is in line with existing gated feature tests that used AppConstants.
  • String changes made/needed: N/A
  • Is Android affected?: No
Attachment #9279953 - Flags: approval-mozilla-beta?
Attachment #9279954 - Flags: approval-mozilla-beta?

Comment on attachment 9279953 [details]
Bug 1772945 - Allow targeting gated features to Thunderbird. r=gijs

Approved for landing on the beta branch before Monday merge, it will be in the release candidate.

Attachment #9279953 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9279954 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: