Homec4science

De-garbage the horrible garbage project section of the policy selection control

Authored by epriestley <git@epriestley.com> on Feb 4 2016, 18:43.

Description

De-garbage the horrible garbage project section of the policy selection control

Summary:
Fixes T4136.

When listing projects in the "Visible To" selector control:

  • Instead of showing every project you are a member of, show only a few.
  • Add an option to choose something else which isn't in the menu.
  • If you've used the control before, show the stuff you've selected in the recent past.
  • If you haven't used the control before or haven't used it much, show the stuff you've picked and them some filler.
  • Don't offer milestones.
  • Also don't offer milestones in the custom policy UI.

Test Plan:
{F1091999}

{F1092000}

  • Selected a project.
  • Used "find" to select a different project.
  • Saw reasonable defaults.
  • Saw favorites stick.
  • Tried to typeahead a milestone (nope).
  • Used "Custom Policy", tried to typeahead a milestone (nope).
  • Used "Custom Policy" in general.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4136

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

Details

Committed
epriestley <git@epriestley.com>Feb 5 2016, 18:50
Pushed
aubortJan 31 2017, 17:16
Parents
rPH8a9f7609755a: Add ProjectCardView, use on Hovercards
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe1c934ab22d8: De-garbage the horrible garbage project section of the policy selection control (authored by epriestley <git@epriestley.com>).Feb 5 2016, 18:50