Page MenuHomePhabricator

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

Authored by epriestley on Oct 31 2019, 7:54 PM.
Tags
None
Referenced Files
F15545569: D20886.diff
Sat, Apr 26, 11:24 AM
F15489903: D20886.id.diff
Fri, Apr 11, 1:15 PM
F15489869: D20886.id49790.diff
Fri, Apr 11, 1:00 PM
F15481697: D20886.id49790.diff
Tue, Apr 8, 10:27 PM
F15481696: D20886.id49789.diff
Tue, Apr 8, 10:27 PM
F15479618: D20886.id.diff
Tue, Apr 8, 8:29 AM
F15478179: D20886.diff
Mon, Apr 7, 8:57 PM
F15470308: D20886.id49790.diff
Fri, Apr 4, 9:32 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.