Page MenuHomePhabricator

Improve default parameters of default Maniphest global saved search queries
Open, Stalled, LowPublic

Description

The current default setting for task search is status: open, group by: priority, sort by: priority, which is fairly useless (as basically all the search options that sort by something other than relevance). It should be either group by none, sort by relevance or group by priority, sort by relevance depending on what we expect the most common usecase to be (looking for tasks about a specific issue before filing it, or looking for the most important tasks on a specific topic).

Event Timeline

(Side note: the non-Maniphest search (top right search bar) does order by relevance, but it doesn't display project tags, making it also useless because more often than not you can't tell what a task is about without clicking through.)

The current default setting for task search is

Please provide steps for / URLs to reproduce what you call "default settings".

@Tgr: You can set a default search settings, it's a per-user preference. Documentation

https://phabricator.wikimedia.org/maniphest/

Open Phabricator main screen while logged out, click on "Tasks & Bugs". (Or visit a task and click "Maniphest" in the breadcrumb.)

Alternatively, register a new Phabricator account, and do the same.

@Tgr: You can set a default search settings, it's a per-user preference. Documentation

Which is not a good reason to have poor settings for everyone who doesn't.

The default query in maniphest doesn't use a search keyword so relevance doesn't come into play at all, that's why it's grouped and ordered.

The default query in maniphest doesn't use a search keyword so relevance doesn't come into play at all, that's why it's grouped and ordered.

That makes sense but the only way to do use one is to edit the default search (well one of the default searches anyway) so can we at least have a template that's not grouped/ordered?

Although personally I question that "Open Tasks" is a useful default for anonymous / new Phabricator users. But even "Advanced Search" uses Priority/Priority. Most less experienced users probably mainly use Phabricator to find information about a specific issue and don't care about product manager oriented views. (And probably never even realize that relevance as a result sorting criteria is something that you need to opt in to, it's so alien from the 21st century search experience. It took me a while to figure that out and I use Phabricator a lot.)

Yeah the proper solution would be something like T1375 (make it possible to do Maniphest searches from the search bar, and use appropriate search settings) but that's out of out hands while I don't think anything in this task requires upstream changes.

Also note that group by: priority, order by: priority is a very pointless setting - it basically means order by random (since the groups themselves will be in priority order no matter what the order by setting is, and withing the groups everything has the same priority and you'll probably end up sorting by DB order). When grouping by priority, it should sort either by relevance or by last created or updated.

To make things more actionable, here are some specific recommendations:

Anonymous user:

NameCurrent configSuggested changesComments
Open TasksStatus: Open/Stalled, Group by: Priority, Order by: PriorityRemoveWho would ever want to see all open tasks?
All TasksGroup by: Priority, Order by: PriorityRemoveEven more pointless.
Unbreak Now!Status: Open/Stalled, Priority: Unbreak Now!, Order by: date updated
Advanced SearchGroup by: priority, Order by: PrioriryStatus: Open/stalled, Group by: none, Order by: relevanceWho would not want to see relevant results first?

Also, can this be made the default? If not, I would suggest creating a new saved query called "Search tasks" with those settings and making that the default. Finding the "Edit query" button is a lot more intuitive than finding the "Advanced search" link in the sidebar.

Logged-in user:

NameCurrent configSuggested changesComments
AssignedAssigned to: myself, Status: Open/Stalled, Group by: Priority, Order by: PriorityOrder by: last updated (or maybe first created?)Ordering and grouping by same thing is pointless
AuthoredAuthor: myself, Order by: first created
SubscribedSubscriber: Current user, Status: Open/Stalled, Group by: Priority, Order by: PriorityOrder by: relevance? last updated?as above
Open TasksStatus: Open/Stalled, Group by: Priority, Order by: PriorityRemoveas above
Open Tasks in My Projects--Status: Open/Stalled, Tags: current viewer's projects, Group by: Priority (?), Order by: relevance? last updated?Good approximation for open tasks that I actually care about.
All TasksGroup by: Priority, Order by: PriorityRemoveas above
Unbreak Now!Status: Open/Stalled, Priority: Unbreak Now!, Order by: date updated
Advanced SearchGroup by: priority, Order by: PrioriryStatus: Open/stalled, Group by: none, Order by: relevanceas above

I would suggest creating a new saved query called "Search tasks" with those settings

Apparently not possible right now due to T187604: #1054: Unknown column 'ft_doc.epochModified' in 'order clause'.

I don't plan to maintain downstream changes for this

Aklapper renamed this task from Improve default Maniphest search settings to Improve default parameters of default Maniphest saved search queries.Apr 10 2024, 8:03 PM
Aklapper changed the task status from Open to Stalled.Tue, Apr 28, 1:15 PM

The current default setting for task search is status: open, group by: priority, sort by: priority, which is fairly useless (as basically all the search options that sort by something other than relevance). It should be either group by none

That was done in T404843: Change Maniphest AdvancedSearch default for "Group by" to "None" and for "Order by" to "Updated".

The default Saved Search queries for both global Phabricator and Maniphest which are displayed on the left have changed quite a bit over the last 8 years.

Anonymous:

Screenshot_20260428_151007.png (999×484 px, 103 KB)

Logged-in:

Screenshot_20260428_150951.png (999×484 px, 60 KB)

So I'm wondering what's the proposed changes nowadays. :-/

Also note that some of these default global queries might be built-in while others might be custom global ones in our installation (when it comes to changing default parameter settings).

Aklapper renamed this task from Improve default parameters of default Maniphest saved search queries to Improve default parameters of default Maniphest global saved search queries.Tue, Apr 28, 1:15 PM