Sort nicklist (and tabcomplete) by most-recently-used
Having a MRU-sorted nicklist could be quite handy. Even more important would be that tab completion offers the last active nick as the first choice. This is a feature of WeeChat and other clients, and it's very useful. Actually that explains why tab completion in WeeChat works so well for me :)
Smart tab completion!
This prefers nicks that you addressed last, followed by nicks that last spoke in the channel.
This is a preliminary implementation; we'll modelify this soon and do more interesting things.
But for now, this gives you a feature many of you have waited a long time for :)
#5 Updated by Sputnick almost 14 years ago
- OS set to Any
Implementation idea (thus I won't forget):
- Add LastActivityRole
- NetworkModel::data(LastActivityRole) should return a QHash<BufferId, QDateTime>
- NickCompletionFilter should transform that data() to a timestamp applying to the current list (merged buffers!) of bufferids
- Set that as SortRole to have the NickCompletionFilter sorted automatically (should be cheap enough for the few matching nicks)