Tab Groups API
Categories
(WebExtensions :: Untriaged, enhancement)
Tracking
(Not tracked)
People
(Reporter: u462496, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: parity-chrome, Whiteboard: [design-decision-denied])
Comment 1•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Updated•8 years ago
|
Comment 8•8 years ago
|
||
Comment 10•8 years ago
|
||
Reporter | ||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Reporter | ||
Comment 13•8 years ago
|
||
Reporter | ||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Comment 17•8 years ago
|
||
Comment 18•8 years ago
|
||
Comment 19•8 years ago
|
||
Comment hidden (off-topic) |
Comment 21•8 years ago
|
||
Reporter | ||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Reporter | ||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Reporter | ||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Updated•6 years ago
|
Comment 30•6 years ago
|
||
Comment 31•6 years ago
|
||
I would like this to happen at some point. It would be really useful for tab management across add-ons.
Just to add something to the conversation, here is a little API proposal.
New tab groups API, similar to that of windows and tabs
browser.tabGroups.create({title, windowId});
browser.tabGroups.remove(groupIds);
browser.tabGroups.move(groupIds, windowId);
browser.tabGroups.query({active, currentWindow, windowId, title});
browser.tabGroups.update(groupId, {active, title});
Additions to sessions API
browser.sessions.setTabGroupValue(groupId, key, value); // can be used for adding custom values, like visual size in panorama, etc..
browser.sessions.getTabGroupValue(groupId, key);
browser.sessions.removeTabGroupValue(groupId, key);
Additions to the tabs API "query" and "move" options
browser.tabs.query({tabGroupId: id});
browser.tabs.move(tabIds, {tabGroupId: id});
I don't know if this suggestion is helpful, but I hope it is.
Comment 32•4 years ago
|
||
I have a suggestion, how if collections were treated as groups? And maybe make API compatible with chrome grouping API? https://developer.chrome.com/docs/extensions/reference/tabs/#method-group
Comment 33•4 years ago
|
||
(In reply to kroppy from comment #32)
Nice find, kroppy. Thank you.
Firefox parity with the tabs.group
method of the chrome.tabs
API in Google Chrome
The reporter of this bug can not be found at the originally given e-mail address so please, can someone else add the relevant keyword?
parity-chrome
– then https://bugzilla.mozilla.org/buglist.cgi?status_whiteboard=%20%5Bdesign-decision-denied%5D%20&status_whiteboard_type=substring&keywords=parity-chrome&order=Importance&product=WebExtensions&keywords_type=allwords&classification=Components&query_format=advanced might help to show that tab groups has become the only WebExtensions area where parity with Chrome is denied (or words to that effect).
Thank you.
Given that Google recognises people's use cases for tab groups, we shouldn't need to repeat (or expand upon) our individual use cases, but here's another:
Updated•4 years ago
|
Comment 34•4 years ago
|
||
Chromes tab group api, released a short while ago, is built on top of a browser feature. It would probably be better to pursue a polyfill api at this time.
Comment 35•3 years ago
|
||
I have been playing with making a polyfill API for tab grouping in my add-on and would like to share it here.
https://gist.github.com/photodiode/7949475b76ad7d5ea0c8063772d1759f
This API is mostly based on the one from chrome, but with the addition of tabGroups.create()
and tabGroups.remove()
to try and be more friendly to different use cases. tabs.group()
and tabs.ungroup()
are also removed in favor of doing it through tabs.update()
.
If tab groups won't be implemented as a standard Firefox feature then at least I hope we can create an official add-on providing this functionality.
Description
•