djcas9 / komanda

The IRC Client For Developers
http://komanda.io
MIT License
1.78k stars 75 forks source link

Resizable side bars/user list #183

Closed rahatarmanahmed closed 10 years ago

rahatarmanahmed commented 10 years ago

While the channel zen mode is nice, there are times when I would just like to shrink the sidebars to not use up so much space while still being able to use them. This applies to my Squelch theme, which doesn't take up as much horizontal space.

Looking at the CSS, some big rewrites will have to be done, as everything seems to be absolutely positioned. Instead it should probably use a flexbox layout. (#180 will need to be merged before rewriting).

To do the resizing, we can use jquery-ui's Resizable.

The size of the sidebars should be stored in localstorage after resizing so that they are remembered after closing Komanda.

One possible issue is that the scrollbars are hugging the edges of the sidebars, and it won't be possible to click and drag the scrollbar handle since the resizable handle click area will cover it. This already happens to the user list scrollbar, so maybe it's a tradeoff we can make.

ghost commented 10 years ago

Might be a duplicate of #120 ?

rahatarmanahmed commented 10 years ago

Ah, my bad. Moving this to that issue.