Page MenuHomePhabricator

Show all packages with a claim on a file in the table of contents view
ClosedPublic

Authored by epriestley on Aug 19 2015, 1:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 12:38 AM
Unknown Object (File)
Mon, Apr 8, 11:44 AM
Unknown Object (File)
Thu, Apr 4, 10:47 PM
Unknown Object (File)
Fri, Mar 29, 9:16 AM
Unknown Object (File)
Mar 5 2024, 9:18 AM
Unknown Object (File)
Feb 10 2024, 12:48 PM
Unknown Object (File)
Feb 2 2024, 6:00 PM
Unknown Object (File)
Jan 28 2024, 5:15 PM
Subscribers
None

Details

Summary

Ref T9218. See discussion there for rationale; I think this is the right behavior to pursue.

The screenshot below is pretty ugly. I think it's a lot worse than most real-world cases will be, since you have to sort of opt-in to having crazy levels of overlapping packages, and it's perfectly normal/reasonable for files owned by one package. Owners is powerful enough to let you specify sub-packages with exclusive ownership.

That said, this may be more typical than I hope. I don't think we can reduce the complexity here much for free, but it would might be reasonable to add some view options (e.g.: group by package?, show only packages I own?, show packages as icons with a tooltip?) if it's an issue.

Test Plan

Screen Shot 2015-08-19 at 6.31.17 AM.png (1×1 px, 279 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Show all packages with a claim on a file in the table of contents view.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
src/applications/owners/query/PhabricatorOwnersPackageQuery.php
350

This no longer has callsites, but also never should under the T9218 rationale (multiple packages may have claims on a file, and all their claims are valid and real; claim "strength" is only an organizational tool for human users to help when thinking about packages).

chad edited edge metadata.
This revision is now accepted and ready to land.Aug 19 2015, 3:15 PM
This revision was automatically updated to reflect the committed changes.