Feature #65
Sort nicklist (and tabcomplete) by most-recently-used
100%
Description
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 :)
Related issues
Associated revisions
History
#1 Updated by Sputnick almost 16 years ago
- Priority changed from High to Normal
#2 Updated by Sputnick almost 16 years ago
- Tracker changed from Bug to Feature
#3 Updated by Sputnick almost 16 years ago
- Assignee set to Sputnick
- Target version set to 0.5.0
#4 Updated by Sputnick almost 16 years ago
- Status changed from New to Assigned
#5 Updated by Sputnick almost 16 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)
#6 Updated by Sputnick over 15 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset 865638f28fa7824f98ac3b438763aed5124d58ee.
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 :)
Fixes #65.