Page MenuHomePhabricator

Support querying projects by "Root Projects" in the UI, and "min/max depth" in the API

Authored by epriestley on Oct 31 2019, 7:54 PM.



Fixes T13441. Internally, projects can be queried by depth, but this is not exposed in the UI.

Add a "Is root project?" contraint in the UI, and "minDepth" / "maxDepth" constraints to the API.

Test Plan
  • Used the UI to query root projects, got only root projects back.
  • Used "" in the API to query combinations of root projects and projects at particular depths, got matching results.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Oct 31 2019, 7:54 PM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 31 2019, 7:56 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.