Page MenuHomePhabricator

Provide 'Sort by Points' option in workboards
Closed, ResolvedPublic

Description

Current sort options are "Natural" (aka manual with newest auto-inserted at the top) and "Sort by Priority". This makes it hard to quickly pull up the not-urgent-but-major pieces of work without additionally tagging them as 'Epic' or similar (and even then, there are levels of epic-ness).

This is a distinct (albeit possibly lower-value) use-case from T10339: Figure out the UI for Maniphest task search by points for finding individual tasks as opposed to the project-level workboard view.

Event Timeline

Follow-up comment not worthy of the description: I'm not sure if this should be provided for projects unconditionally, or only if the project 'uses' points (which sounds like an expensive query, or Yet Another Damn Setting™ for project owners to have to set).

This is made difficult by the nature of dragging cards into sorted positions on workboards: if you drag a card between a 5-point task and an 11-point task, we need to give it some number of points between 5 and 11, break the sort order of the column, or fling the card to the correct position in the column, which may be offscreen. Currently, in the simpler case of priority sorts, users don't seem to expect any of these behaviors, and all of these interactions are confusing to some users (today, we change priority).

T10333 has somewhat-related discussion but our plans to make this behavior clearer for priorities and support it for assignee won't work well for points, because points don't have a small number of distinct values.

I think changing the task value is almost certainly unreasonable for points, because we can't ever make a reasonable guess about whether the value should be 5, 11, or something in between, and all answers are sometimes unreasonable, and there's a big difference between the meanings of the values.

We could lock this order into "drag to column" interactions only once those are built (i.e., not support "drag to position" -- basically, when you drop a card, we fling it into the correct position, even if that position is at the bottom of the column far off the screen). This will be somewhat confusing but maybe the least-bad of the options.

A possibly shorter path to giving you tools to attack the root problem in the short term might be a dedicated results view for each column (T5024) plus a point ordering (which is straightforward).

epriestley edited projects, added Workboards (v3); removed Workboards.

We could lock this order into "drag to column" interactions only once those are built (i.e., not support "drag to position" -- basically, when you drop a card, we fling it into the correct position, even if that position is at the bottom of the column far off the screen). This will be somewhat confusing but maybe the least-bad of the options.

We now support this as a general drag mode (although the UI may need a little more work) so implementing this is probably realistic.

This is possibly a useful mode in the general case for custom fields, for date-based orderings (since you obviously shouldn't be able to change the creation date of a task by dragging it around) and for exciting new orderings like "Order by number of letters in title".

epriestley triaged this task as Normal priority.