Skip to content

feature request: support tab groups #129

@doctorcolossus

Description

@doctorcolossus

Currently brotab enables reordering tabs within and between windows, which is awesome.

Firefox and Chrome/Chromium recently introduced native support for the abstraction of tab groups, and it would be nice to see brotab support moving tabs in/out/between those as well at some point.

I have no experience yet coding browser extensions and haven't worked much in Javascript in a long time, but maybe I will have time to try to figure it out next spring if no one else does sooner. I do have a lot of experience with Python, so I could help with that side and am also happy to contribute ideas and thinking about any difficult aspects which might come up.

From some quick research into how to do it on Firefox, I learned that: the queryInfo object returned by browser.tabs.query() now includes a .groupId parameter, and the following new methods have been introduced for the tabs API:

  • tabs.group(): adds one or more tabs to a group or, if no group is specified, adds the tabs to a new group
  • tabs.ungroup(): removes one or more tabs from their respective tab groups
  • tabs.moveInSuccession(): modifies the succession relationship for a group of tabs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions