Morikko / sync-tab-groups

Sync Tab Groups is an easy way to manage all your tabs. You organize them depending on a topic by group. Groups can be closed and reopend without caring about your session. Moreover, you can esily search, active, move, save and remove your groups and tabs.
MIT License
147 stars 18 forks source link

Support Tree Style Tab’s sidebar (WIP) #96

Open piroor opened 6 years ago

piroor commented 6 years ago

I'm trying to add context menu items of Sync Tab Groups to the fake context menu on the Tree Style Tab's sidebar panel. Because TST 2.4.17 (latest release) doesn't support some required features of the context menu, this change requires TST 2.4.18 (the next release) or later.

This change will help people who use both TST and STG. How about it?

Morikko commented 6 years ago

doesn't support some required features of the context menu

Do you mean moving tabs between STG ?

This change will help people who use both TST and STG. How about it?

I agree, even if I believe that people were more looking the Tree organization from TST. Do you have people asking for moving tabs ? Do you want it personally ?

In any cases, I prefer to study how to provide a public API (to other extensions) for the context menu. I am not keen on to bind too much my context menu.

Also, you bind it to the SpecialActionMenuListener It is the one responsible of the actions when you right click on the Sync Tab Groups Icon. Do you really want this ?

I will keep you in touch.