HomePhabricator

Allow workboard sorting and filtering to be saved as defaults

Description

Allow workboard sorting and filtering to be saved as defaults

Summary:
Fixes T6641. This allows users who have permission to edit a project to use "Save as Default" to save the current order and filter as defaults for the project.

These are per-board defaults, and apply to all users. The rationale is that I think the best default ordering/filtering depends mostly on the board, not the viewer.

This seems to align with most requests in the task, although rationale is a bit light. But, for example, it seems reasonable you might want to change the default filter to "All Tasks" on a sprint board, so you can see what's in the "Done" column.

This also fixes some minor issues I ran into:

  • Herald could hit an issue while checking permissions if the project was a subproject and a non-member had a triggering rule.
  • "Advanced filter..." did not prefill with the current filter.

Test Plan:

  • Set default order and filter on a workboard.
  • Reloaded board, saw settings stick.
  • Tried to edit a board as an unprivileged user (disabled menu items, error).
  • Reviewed transaction log.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T6641

Differential Revision: https://secure.phabricator.com/D15260

Details

Provenance
epriestleyAuthored on Feb 12 2016, 2:19 PM
epriestleyPushed on Feb 12 2016, 3:47 PM
Reviewer
chad
Differential Revision
D15260: Allow workboard sorting and filtering to be saved as defaults
Parents
rP99af097ff613: Allow task statuses to have claiming disabled
Branches
Unknown
Tags
Unknown
Tasks
T6641: Support changing default sort of a workboard
Build Status
Buildable 10663
Build 13096: Run Core Tests