mon / 0x40-web

Pretty images and colours

Home Page:http://0x40.mon.im/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI/UX - Toggle window and select the right tab when clicking UI icons

Zenrac opened this issue · comments

Issue description

  • When we click on the cog icon, we can click again to close the window, that's not the case for the question mark icon.
  • When we click on the question mark icon, the info tab is displayed, when we click on the cog icon, the info tab is still displayed, nothing change.

IMO: Expected missing behaviour

  • When clicking the question mark icon, it should close the window if already shown and already on the INFO tab (call the window toggle)
    image

  • When clicking the cog icon, it should call selectTab("OPTIONS") to display the right tab if the window is closed or not on the OPTIONS tab (and keep the toggle window)
    image

TL;DR: Both buttons (cog and question mark) should share the same features (If window already displayed: select the right tab OR close the window if already on it. If window is not displayed: open the window and select the right tab)