Page MenuHomePhabricator

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

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

Details

Summary

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 "project.search" in the API to query combinations of root projects and projects at particular depths, got matching results.

Diff Detail

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

Event Timeline

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