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
F18822504: D20886.id.diff
Thu, Oct 23, 7:08 AM
F18820296: D20886.diff
Wed, Oct 22, 2:00 PM
F18779002: D20886.id49789.diff
Sat, Oct 11, 11:36 AM
F18776151: D20886.id.diff
Fri, Oct 10, 9:18 PM
F18650804: D20886.id49790.diff
Sep 21 2025, 1:49 AM
F18640252: D20886.id.diff
Sep 18 2025, 6:43 AM
F18639453: D20886.diff
Sep 17 2025, 1:57 PM
F18567515: D20886.id.diff
Sep 9 2025, 3:52 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.