nheko
nheko copied to clipboard
Sort Ctrl-K search based on room activity
The Problem
I have non-closed DMs with the same people on multiple different homeservers and Ctrl-K search always sorts the wrong rooms first.
The Solution
Simple fix would be to order based on activity after relevance is filtered.
Alternatives
Sort based on room prioritization (I've set them to low) but activity sorting should be a one-size-fits-all solution. Combining them would probably be the ultimate fix but :shrug:
Additional context
I'm on current nightly (0.9.1-19e2527b).
Happens in the latest version
- [X] Yes, this feature is still missing.
Also, it would be great to identify the current room (or at least hide it). I have multiple DMs with the same users (for historical reasons; often one of them is encrypted and not the other). If I select the wrong one and Ctrl-K to switch away, it's always a guess as to which is which.
I think this suggestion might fit here too, instead of opening an empty ctrl+k, and wait for the user to type something, it could open with a bunch of suggestions already, even with an empty input.
I think this suggestion might fit here too, instead of opening an empty ctrl+k, and wait for the user to type something, it could open with a bunch of suggestion already, even with empty input.
I had been thinking about this for a while, and I think showing the last visited rooms would be great (same "ribbon" of recent rooms that Element clients show, it would be great to show it on Ctrl-K before the user types).
We do some sorting now, if you have 2 rooms with the same name, the one with more recent messages should be first. We don't do anything more advanced though and interaction with the search matching makes sorting rooms with different names tricky.