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
Unknown Object (File)
Sun, Mar 24, 4:00 PM
Unknown Object (File)
Fri, Mar 15, 2:43 AM
Unknown Object (File)
Fri, Mar 8, 4:12 AM
Unknown Object (File)
Jan 30 2024, 4:58 PM
Unknown Object (File)
Jan 29 2024, 10:12 AM
Unknown Object (File)
Jan 27 2024, 10:25 AM
Unknown Object (File)
Jan 5 2024, 10:08 PM
Unknown Object (File)
Dec 25 2023, 2:47 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.