Closed Bug 1901868 Opened 5 months ago Closed 5 months ago

Remote tab management - Remove pending closed tabs so there's only ever one undo

Categories

(Firefox :: Sync, task)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: skhamis, Assigned: skhamis)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Now that https://bugzilla.mozilla.org/show_bug.cgi?id=1892340 landed. Users are able to undo the request for tabs they are trying to delete on other devices. Once it's sent, they'll have to undo it on the device doing the actual deletion.

However this raised some edge-case issues with the team where there could be scenarios where the user has multiple pending undos and then exits out of the panel, and/or clicks inactive tabs -- causing re-rendering of the list and those tabs coming back before disappearing again once the request is sent. Also for super long lists, it might be annoying to constantly scroll down and try to delete.

To combat both of these issues, we decided that once the user has a second remote tab deletion request, we immediately remove the previous one from the list so that you're only ever able to undo the most recent tab request.

Assignee: nobody → skhamis
Status: NEW → ASSIGNED
Attachment #9406872 - Attachment description: WIP: Bug 1901868: Remove last remotely closed tab fom list → Bug 1901868: Remove last remotely closed tab fom list r?markh,lina
Pushed by skhamis@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/295e03e20710 Remove last remotely closed tab fom list r=markh,desktop-theme-reviewers,sfoster
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: