Open Bug 1831156 Opened 2 years ago Updated 6 months ago

Rearrange tabs in Open Tabs page (stretch goal)

Categories

(Firefox :: Firefox View, enhancement)

enhancement

Tracking

()

People

(Reporter: sclements, Unassigned)

References

Details

(Whiteboard: [fidefe-firefox-view] [lang=js])

Attachments

(1 file, 1 obsolete file)

Implement drag 'n' drop capability per window to reorder tabs. That new order should be reflected in that windows tabstrip.

https://www.figma.com/file/wP9MY9KJn9xqPf140lTvTv/Fx-View-Specs-2023?node-id=2835-72603&t=ENO9pXdpUnxCAhlQ-0

There's existing functionality in https://searchfox.org/mozilla-central/source/browser/base/content/tabbrowser-tabs.js#28 and also in the tabs overflow menu: https://searchfox.org/mozilla-central/source/browser/modules/TabsList.jsm#75-84. Perhaps we can create some sort of dragndrop module that can be used by both the overflow tabs panel and FirefoxView.

Hi,

This is the updated spec that covers the following:

• Drag to reorder tabs in a window
• Drag a tab from one window to another
• Drag and reorder windows
• Multi-select tabs

https://www.figma.com/file/wP9MY9KJn9xqPf140lTvTv/Fx-View-Specs-2023?type=design&node-id=9453%3A326011&mode=design&t=J9azc1vfAaZzcYko-1

Attachment #9383880 - Attachment is obsolete: true
Duplicate of this bug: 1888008
Whiteboard: [fidefe-firefox-view] → [fidefe-firefox-view] [lang=js]

This is a screenshot of the Figma spec - as of December 2024. This is a non-trivial feature to implement, but technically reasonably straightforward. If you are interested in working on this, do reach out to the team here or on matrix via the firefox desktop channel on matrix. The code lives in and around: https://searchfox.org/mozilla-central/source/browser/components/firefoxview/opentabs-tab-list.mjs

The drag/drop code for the browser's tab strip which already does what we want to do in firefoxview can be found in/around on_drop.

Duplicate of this bug: 1960783
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: