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)
Mon, Nov 18, 9:43 AM
Unknown Object (File)
Wed, Nov 13, 9:38 PM
Unknown Object (File)
Sun, Nov 10, 7:18 AM
Unknown Object (File)
Wed, Nov 6, 6:56 AM
Unknown Object (File)
Thu, Oct 31, 2:04 AM
Unknown Object (File)
Oct 19 2024, 10:48 PM
Unknown Object (File)
Sep 21 2024, 12:21 PM
Unknown Object (File)
Sep 12 2024, 6:13 AM

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.