FaisalBinAhmed / tabius

Tabius is a customizable, and easy to use Tab Grouping extension for Chrome.
https://chrome.google.com/webstore/detail/tabius-automatic-tab-grou/enceimdjnaccoeikjobaeicfodlfnijp?hl=en
Other
24 stars 4 forks source link

Tabs with the same subdomain are in two separated groups #5

Open elchn opened 9 months ago

elchn commented 9 months ago

Thanks for your work.It's really the extension that I was expecting. Would you mind adding a new feature to auto putting all tabs with the same domain into a single group? It seemed that two groups with the same domain appeared image

image

FaisalBinAhmed commented 9 months ago

Hi @elchn Thanks for opening the issue. I just noticed this today, otherwise would have replied earlier.

While this is certainly doable, I think this still might be a niche edge case. This happens when a new tab group is created from a tab that was previously not part of a tab group. In your case there was a tab group already with the same group.

What you are describing is merging tab groups. In order to do so: you have to do calculation on each tab creation and loop through existing groups to check their origin tab's domain.

For such use case, I think it's not worth the performance penalty. But if more people request, I might revisit this. :)

I wish you a nice day!