Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable sort of server/channel/query list #375

Open
djasa opened this issue Aug 31, 2022 · 2 comments
Open

Stable sort of server/channel/query list #375

djasa opened this issue Aug 31, 2022 · 2 comments

Comments

@djasa
Copy link

djasa commented Aug 31, 2022

Hi, I'm using Srain 2nd day only. Now I realized I replied to different person than I thought - because #263 hid the other's user name in notification, srain flipped their position in channel list which I peripherally saw and then I somehow managed to ignore their nick at the top of their bubbles in main chat window. Being a spatial navigator, constantly changing order of servers/channels/queries is ... unhelpful to me. If there was a config option to get stable sorting (optimally with groups of channels and queries of each respective server, but it doesn't matter much, main thing is that it changes only when I open or close channel/query/server), that would quite add to usability of srain for me.

In addition, grouping by server could allow removing it from respective lines and thus allow having more entries in viewport. This isn't issue for me with 10 entries but if it was 20, it would start bugging me as some of them would be out of viewport with no sensible reason (to my eyes ofc).

version

$ flatpak info im.srain.Srain

Srain - Modern IRC client written in GTK

          ID: im.srain.Srain
         Ref: app/im.srain.Srain/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.4.0
     License: GPL-3.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 915,5 kB
     Runtime: org.gnome.Platform/x86_64/42
         Sdk: org.gnome.Sdk/x86_64/42

      Commit: 2055941c2b9d402c1c383973df7afe8f511fd439484420746024afe9e5539f0d
      Parent: 7db333a933b6921fe1a5ebf850fc1e195f2378e9ee0e878b3a6134f2e12a3c2a
     Subject: Update to 1.4.1 (653ddbd7)
        Date: 2022-08-19 16:23:22 +0000
@SilverRainZ
Copy link
Member

Hi, thanks for reporting.

because #263 hid the other's user name in notification

This bug should cause you to see unexpected HTML code instead of username being hidden, what notification daemon are you using?

If there was a config option to get stable sorting

In fact, sorting by the newest message is a feature of Srain, but I think it is reasonable to add such a config option.

In addition, grouping by server could allow removing it from respective lines and thus allow having more entries in viewport.

There is alreay an option for hiding server's buffer, see #361

@djasa
Copy link
Author

djasa commented Sep 1, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants