Page MenuHomePhabricator

Allow searching tasks by has-assignee status
Needs RevisionPublic

Authored by skyronic on Jul 30 2014, 1:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:02 AM
Unknown Object (File)
Tue, Apr 2, 7:32 PM
Unknown Object (File)
Mar 20 2024, 8:05 PM
Unknown Object (File)
Mar 19 2024, 9:33 PM
Unknown Object (File)
Dec 5 2023, 4:57 PM
Unknown Object (File)
Nov 30 2023, 3:10 AM
Unknown Object (File)
Nov 16 2023, 7:08 AM
Unknown Object (File)
Oct 25 2023, 5:07 PM

Details

Summary

The previous search system allowed you to filter only unassigned
issues. However some people (T5733) might prefer to show only
assigned tasks which match the query.

Also please note that this requires that the old "Show only unassigned
tasks" checkbox be removed as it becomes redundant.

Test Plan

Ran queries with multiple cases, and it all ran fine.

Diff Detail

Repository
rP Phabricator
Branch
assignee-search
Lint
Lint Passed
SeverityLocationCodeMessage
Auto-Fixsrc/applications/maniphest/query/ManiphestTaskQuery.php:486TXT6Trailing Whitespace
Unit
No Test Coverage
Build Status
Buildable 1933
Build 1934: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

skyronic retitled this revision from to Allow searching tasks by has-assignee status.
skyronic updated this object.
skyronic edited the test plan for this revision. (Show Details)
skyronic added a reviewer: epriestley.
skyronic added a subscriber: shadowhand.

I understand I need to write a migration to migrate the "withAssigned" checkbox to reflect in the other query. I will do this if there's a chance that this feature will be merged in.

epriestley edited edge metadata.

I don't really like this approach to the UI (especially because it puts two related controls a huge distance away). Even if they were adjacent, this still feels hard to use.

I don't have a good alternative UI, which is why I'd rather pursue alternatives mentioned in T5733 rather than implement this per se. T4100 potentially offers another attack on this. The best option would be coming up with a better UI than two disconnected controls, but I can't immediately come up with one.

Basically, this adds a bunch of complexity to provide a not-great-feeling solution to a rare problem. Maybe it's really the best solution, but I want to wait until at least after T4100 before pursuing it.

This revision now requires changes to proceed.Jul 30 2014, 8:51 PM
shadowhand added a reviewer: shadowhand.

This works as expected.

As an alternative UI to what is currently implemented, why not do this?

Screen_Shot_2014-08-26_at_12.43.34.png (149×358 px, 15 KB)

It matches the existing UI much better, though it doesn't allow for the "unassigned" option, but considering that the current sorting puts unassigned tasks first, I don't consider that a valid concern.