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
F13053247: D20886.diff
Fri, Apr 19, 11:05 AM
F13052621: D20886.diff
Fri, Apr 19, 10:12 AM
Unknown Object (File)
Sun, Mar 24, 4:00 PM
Unknown Object (File)
Mar 15 2024, 2:43 AM
Unknown Object (File)
Mar 8 2024, 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
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
Branch
project1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23618
Build 32465: Run Core Tests
Build 32464: arc lint + arc unit

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.