panorama-tab-groups icon indicating copy to clipboard operation
panorama-tab-groups copied to clipboard

Have toolbar icon open dropdown menu as in old Tab Groups extension.

Open crass opened this issue 5 years ago • 5 comments

It would be nice if the toolbar icon opened a dropdown menu when left clicked, like the old extension did. The dropdown would list all the groups with the active one being highlighted. At the bottom would be an item to open panorama view. This is related and complimentary to #34. image

crass avatar Jun 26 '19 03:06 crass

I started a prototype at https://github.com/vaxul/panorama-tab-groups/tree/test/popup

Mainly I'd like to first refactor the tab groups handling. Extract the view independent code and abstract it with f.e. classes which all views can utilise. Than create the different views (popup is one) which should rely on less JavaScript and more CSS.

vaxul avatar Jun 26 '19 04:06 vaxul

Is in work. State around 90% done: https://github.com/vaxul/panorama-tab-groups/tree/feature/%23131_add_popup_view

Still a lot of polishing to do.

vaxul avatar Nov 01 '19 13:11 vaxul

A good point was brought up in #179 I wonder instead of being able to select groups from the icon, whether you could add that functionality to the arrow key on the tab list. It looks like Containers already hooks into that and it might be simpler for us to do it that way. So clicking on the PTG icon sends you to the view and using the down arrow allows you to switch groups without entering the view.

image

projectdelphai avatar Nov 05 '19 13:11 projectdelphai

@projectdelphai please look into my branch for #131 https://github.com/vaxul/panorama-tab-groups/tree/feature/%23131_add_popup_view

  1. Enable popup view in settings
  2. Click icon or hit keyboard shortcut
  3. Use arrow keys and enter to switch to groups/tabs.

I will sum up all features in a PR after I finish the polishing after my holiday.

vaxul avatar Nov 05 '19 19:11 vaxul

@crass @projectdelphai Please have look at this Pull Request: https://github.com/projectdelphai/panorama-tab-groups/pull/191

Give it a try and please try to give feedback:

  • from a user point of view
  • maybe from a developers point of view

It took some months to get it done to this state, so I personally consider its state as feature freeze. There are still some ToDos I'd like to resolve, but maybe not for this merge. I think more in a time frame for v1.0.0 of this extension.

vaxul avatar Dec 03 '19 20:12 vaxul