prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

First chan in list should have and retain focus until the user manually focuses another tab #877

Open badon opened 8 years ago

badon commented 8 years ago

With a channel list like this:

https://kiwiirc.com/client/irc.freenode.net:+6697/#coins,##ebay,##gold,##business+investing,##nuclear

The preferred behavior is for the first channel tab (#coins) to have focus upon connection. Focus should not change unless the user manually selects a different tab.

Optional:

When using /join, focus should go to the newly joined channel tab, or to an existing channel tab if the channel is already connected. After disconnection, /join should be aware that channel tabs are disconnected, and not switch focus to them if /join is used to reconnect to them. In short, /join should switch focus when:

  1. The channel tab DOES NOT exist, and a new tab is created for joining the channel.
  2. The channel tab DOES exist, and the user is attempting to join it again (accidentally or to switch focus via keyboard).