Project

General

Profile

Feature #65

Sort nicklist (and tabcomplete) by most-recently-used

Added by Sputnick over 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Quassel Client
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
OS:
Any

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

Related to Quassel IRC - Feature #443: Tab completion should show list of possible matchesAssigned

Has duplicate Quassel IRC - Bug #476: TAB-Completion should use last used nicknames firstRejected2009-01-10

Associated revisions

Revision 865638f2 (diff)
Added by Manuel Nickschas over 11 years ago

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.

History

#1 Updated by Sputnick over 11 years ago

  • Priority changed from High to Normal

#2 Updated by Sputnick over 11 years ago

  • Tracker changed from Bug to Feature

#3 Updated by Sputnick over 11 years ago

  • Assignee set to Sputnick
  • Target version set to 0.5.0

#4 Updated by Sputnick over 11 years ago

  • Status changed from New to Assigned

#5 Updated by Sputnick over 11 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 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF