piroor / treestyletab

Tree Style Tab, Show tabs like a tree.
http://piro.sakura.ne.jp/xul/treestyletab/
Other
3.48k stars 279 forks source link

[Enhancement] toggle expand/collapse function #3535

Closed pedro-vale closed 4 months ago

pedro-vale commented 5 months ago

Abstract

The idea is having the possibility of toggling expand/collapse behaviour letting the same to be set to a single keybind. Currently you need to assign keybinds for two actions.

Steps to see the situation

  1. Start Firefox with clean profile.
  2. Install TST.
  3. create a tree
  4. create tabs under this tree
  5. use to collapse
  6. use to expand

Having two keybinds leads to two separate keybinds leaving the need of possible remaps and so on.

It can also make it less ergonomic in terms of usage.

  1. Start Firefox with clean profile.
  2. Install TST.
  3. create a tree
  4. create tabs under this tree
  5. use to toggle collapse
  6. use to toggle expand

Using a single keybind for such feels more ergonomic.

Expected result

Being able to assigne toggle expand/collapse in order to use a single keybind to use such behaviour.

Actual (present) result

image

Environment

piroor commented 5 months ago

Implemented by the commit d2c09b9. Thanks!

github-actions[bot] commented 4 months ago

This issue has been closed due to no response within 14 days after labeled as "fixed", 7 days after last reopened, and 7 days after last commented.