quotient-im / Quaternion

A Qt-based IM client for Matrix
https://matrix.org/ecosystem/clients/quaternion/
GNU General Public License v3.0
644 stars 107 forks source link

Room sorting, tagging and filtering #48

Open PureTryOut opened 8 years ago

PureTryOut commented 8 years ago

Currently the room list seems like a mess, this is probably mostly because it doesn't sort or filters the rooms.

For example every room with a voice chat active shows up as a new room. This in itself is fine (for now), but once the call is ended, the room should clear itself. If I leave the room manually, it shows up as Empty room (!idhere:matrix.org).

Also, Vector has just (yesterday actually, 2016-08-30) implemented a new room category for 1-on-1 chats. This could also be added to Quaternion to make them stand out. The rooms should be named to the other user you're chatting with. While you're at it, favorite and low priority rooms would be nice as well.

KitsuneRal commented 8 years ago

Actually, giving and fetching some categories would be great on the server side. Not sure if matrix.org currently sends it; if it doesn't, it should. And yes, displaying those in Quaternion is a good feature to have. As for removing voice chats (and actually any chats) - I'm afraid it's a purely server-side problem. Quaternion cannot find out whether a certain room is abandoned/closed or not, it just shows the list of this user's rooms sent by the server. Not sure how Vector deals with that.

PureTryOut commented 8 years ago

For room tags, you could use what Vector does. This way it's synced between Vector and Quaternion as well.

Vector web screenshot

KitsuneRal commented 8 years ago

Thanks for recording it here. What Quaternion needs now is dealing with account data...

PureTryOut commented 8 years ago

No problem, I realized posting it in #quaternion:matrix.org was nice, but would be hard to find back later on.

And yes, priorities ;)

grahamperrin commented 7 years ago

Which of the three features might be implemented first?

FWIW I'd vote for sorting.

KitsuneRal commented 6 years ago

Sorting will surely come first. While most of Quaternion's UI is now more or less solid, even if limited, the lack of order in the room list is the ugliest thing that immediately hits the eye.

KitsuneRal commented 6 years ago

I think we'll use this issue as an umbrella but I'll make a separate one specifically for a short-term target (sorting, that is).

rodneyrod commented 6 years ago

When Riot.im gets around to implementing custom room tags, having a mechanism to automatically fetch and parse groups under those tags would be an amazing addition.

KitsuneRal commented 6 years ago

It would be great even without Riot; it's just that so far we're constantly behind Riot in that respect.

MurzNN commented 6 years ago

Riot already can display rooms grouped by custom tags, but at now it miss interface for set custom tags to Matrix rooms (this can be done only via direct API calls https://matrix.to/#/!DgvjtOljKujDBrxyHk:matrix.org/$1511507740966fPeiU:imninja.net ). Will be good to implement adding custom tags to rooms in Quaternion interface.

rodneyrod commented 6 years ago

Oh that's not a Riot only feature, this is great.

KitsuneRal commented 6 years ago

To be more specific, this feature is not proprietary to Riot, in the "the protocol does not enable other clients to do that" sense. Since the protocol allows that, eventually this will land in Quaternion as well. How soon is another question and as I just mentioned in #Riot, the answer to it implies quite a bit of patience.

KitsuneRal commented 6 years ago

For the record, this depends on QMatrixClient/libqmatrixclient#134.

aaronraimist commented 5 years ago

Here is my "Aaron doesn't know how tags work" comment.

    • [ ] I would really like to be able to see the "raw" tag value on hover or something.
    • [ ] I would like to be able to rename tags
    • [x] The "Enter new tags for the room" box should have some kind of placeholder text. I know most people probably wouldn't do this but I first entered the tag as "u.tagname" which actually ended up creating "u.u.tagname" because Quaternion handles that for you.
        • [ ] I want to see the room's existing tags on that dialog box
    • [ ] Quaternion treats tags that are the same except for different capitalization as the same tag. I don't know enough to say whether this behavior is right or wrong, I just noticed that it is different from how Riot handles tags. Riot shows each tag separately even if they are spelled the same.
    • [x] I'd like to be able to collapse tags
    • [ ] I'd like to be able to add tags to multiple rooms in one go
KitsuneRal commented 5 years ago
  1. It would be great to pinpoint the "u.u.tagname" issue - I seem to have fixed it sometime ago because my quick attempt to reproduce didn't yield anything - the tag is set as "u.tagname", regardless whether a user prepends it with "u.". Overall the point is certainly valid though.

5. Double-click on the tag.

aaronraimist commented 5 years ago

I'm going to call 3 fixed, if you want to do more that's fine but I think that is good enough.