snoozz-tab-snoozing icon indicating copy to clipboard operation
snoozz-tab-snoozing copied to clipboard

Support for the upcoming tabGroups API

Open rohanb10 opened this issue 5 years ago • 2 comments
trafficstars

Tab Groups are a fun new feature that has been slowly rolling out through the Chrome channels

Here's a blog post with more details.

API support for tab groups was missing at launch, but it is slowly rolling out starting with Chrome 88.

Here's a brief plan to support this feature. Hopefully we will be able to get metadata for groupID and groupName and potentially groupColor.

Popup

  • [ ] Rework the UI for choosing between tabs and windows to also allow choosing a group/selected tabs..
  • [ ] If snoozing a single tab which is part of a group, save the groupID/groupName.

Background Tab groups will be similar in structure as windows, so no need for a lot of background changes.

  • [ ] Restore tabs to their groups when waking them up.

Dashboard

  • [ ] Add some sort of UI indicator of the tab name/colour.

Settings

  • [ ] Add a new option to select the default snooze type: tab, window, group or selection.
  • [ ] Apply this setting to the popup and keyboard shortcuts.

New Window landing page

  • [ ] Add UI elements to show tab groups together.

Not all browsers will support this feature. But they should. It's a good one.

rohanb10 avatar Oct 29 '20 12:10 rohanb10

Looking at the design doc, it seems like a new permission tabGroups will be required. Also will have access to names and colours of groups

https://docs.google.com/document/d/1WgNtyBSuSmmHIuENU8IKLZmSK3tAVPpnjwjfD3clxqI/edit

rohanb10 avatar Oct 29 '20 12:10 rohanb10

Needs Manifest V3 to use the tabGroups permission. I've written the UI to support this feature, but it will not be done until V3 is more widely available (Firefox mainly)

rohanb10 avatar May 14 '21 11:05 rohanb10