Issue #434 open

Add ability to have favorite filters

bels avatarbels created an issue

In the older version of THg, I found myself increasingly relying on the various radio buttons (usually I switched between All, Heads and the branch filter drop down).

With the new Qt version you can filter and get the same results, but it is more steps and less easy to do.

It would be really nice to add an ability to have favorite filters. This could be very similar to say how bookmarks work in webpages. For the feature itself, perhaps clicking the ... button could pop up a menu whereby you some number of favorite queries, perhaps another submenu for more of them, and finally an action for creating one.

Probably the Revision Set Query dialog could then provide some functionality for saving the query, editing previous queries, etc

This query functionality looks to have replaced a lot of the other more manual UI features as it is much more powerful. I then think it advantageous to build out the UI to support more of these queries similar to browser bookmarks/favorites.

Comments (5)

  1. bels

    Is it an MRU with a limit of 4-5? Or are heads(), tagged(), etc always available? If not always available then I still feel it would be nice to incorporate a favorites-like functionality.

  2. Steve Borho

    There's a general plan to add a dialog to manage the searches, mark some of them as persistent, and to give them meaningful names. But currently no volunteers to work on it.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.