Closed Bug 2060948 Opened 29 days ago Closed 27 days ago

SW Organize Tabs: Ensure "Just created" only persists for current menu instance

Categories

(Core :: Machine Learning: Frontend, defect, P1)

Firefox 154
defect
Points:
1

Tracking

()

VERIFIED FIXED
155 Branch
Tracking Status
firefox154 --- verified
firefox155 --- verified

People

(Reporter: jlewis, Assigned: jlewis)

References

Details

(Whiteboard: [aiaug])

Attachments

(2 files)

The "Organize Tabs" panel lists every group the feature created in this window under "Just created", with an "Ungroup Tabs" row that dissolves all of them at once.

Only persist groups as "Just created" during the menu instance (ie create group > group appears as just created > close and reopen menu > group no longer there)

Flags: behind-pref+
Summary: Organize Tabs: "Just created" keeps groups the user has renamed, recolored, or edited, and shows their stale label → SW Organize Tabs: Ensure "Just created" only persists for current menu instance

The "Just created" list outlived the panel that filled it: it was only
ever cleared by the "Ungroup Tabs" row, by a group disappearing, or by
the window closing, so groups from earlier in the session kept showing up
and the bulk ungroup kept reaching back to them.

Empty it as the panel tears down. The card already hides the heading, the
rows and the "Ungroup Tabs" row when the list is empty, and this also
drops our references to the created groups once the panel is gone.

Attachment #9622178 - Attachment description: WIP: Bug 2060948 - SW Organize Tabs: Ensure "Just created" only persists for current menu instance → Bug 2060948 - SW Organize Tabs: Ensure "Just created" only persists for current menu instance
Pushed by jlewis@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d4fa5af3e53e https://hg.mozilla.org/integration/autoland/rev/59c35c7cb010 SW Organize Tabs: Ensure "Just created" only persists for current menu instance r=echa
Status: NEW → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Attachment #9624450 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Fixes small UI bug in Smart Window's Auto Tab Grouping feature, stabilizes for v0

  • Code covered by automated testing?: yes

  • Fix verified in Nightly?: yes

  • Needs manual QE testing?: yes

  • Steps to reproduce for manual QE testing: browser.smartwindow.autoTabGrouping.enabled to true

    • Open a bunch of tabs
    • Create a tab group
    • See that tab group appears in menu's 'Just created' section, with option to ungroup underneath
    • Close and reopen menu
    • Tab group should no longer be there, 'Just created' and 'Ungroup' sections should not appear if no groups are there.
  • Risk associated with taking this patch: medium

  • Explanation of risk level: Actual code implementation is pretty small. Feature is gated behind a pref, so only user base is those foxfooding at the moment

  • String changes made/needed?: N/A

  • Is Android affected?: no

Flags: qe-verify+
Attachment #9624450 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triage-done-c155/b154]
Blocks: 2057625

Verified as fixed in our latest Release 154.0.1 and our latest Beta 155.0b3

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c155/b154] → [qa-triage-done-c155/b154][qa-ver-done-c156/b155]
Flags: qe-verify+
QA Contact: rdoghi
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: