Page MenuHomePhabricator

[drydock/core] Show blueprints / resources as links in Drydock view controllers
ClosedPublic

Authored by hach-que on Nov 19 2014, 3:32 AM.
Tags
None
Referenced Files
F15582782: D10873.id33768.diff
Wed, May 7, 6:08 PM
F15548927: D10873.diff
Sun, Apr 27, 2:53 AM
F15530972: D10873.id33757.diff
Wed, Apr 23, 8:45 AM
F15516801: D10873.id26112.diff
Fri, Apr 18, 9:28 PM
F15510924: D10873.id33768.diff
Wed, Apr 16, 10:03 PM
F15473422: D10873.id33768.diff
Apr 5 2025, 10:00 PM
F15473421: D10873.id26112.diff
Apr 5 2025, 10:00 PM
F15473420: D10873.id33757.diff
Apr 5 2025, 10:00 PM

Details

Summary

Ref T2015. This updates the blueprint / resource references in the Drydock view controllers to render as handles.

Test Plan

Viewed the controllers, saw links.

Diff Detail

Repository
rP Phabricator
Branch
drydock-info
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3089
Build 3095: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Show blueprints / resources as links in Drydock view controllers.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/drydock/controller/DrydockLeaseViewController.php
146

Just use $viewer->renderHandle() in modern code.

147–151

This branch is unreachable: HandleQuery never returns null.

155

This will render "Unknown Resource" for a lease with no resource, which I believe is possible and which seems wrong?

src/applications/drydock/controller/DrydockResourceViewController.php
120–133

Just use $viewer->renderHandle($resource->getBlueprintPHID()).

This revision now requires changes to proceed.Aug 8 2015, 6:34 PM
hach-que edited edge metadata.

Made requested changes

hach-que retitled this revision from Show blueprints / resources as links in Drydock view controllers to [drydock/core] Show blueprints / resources as links in Drydock view controllers.Aug 24 2015, 12:22 PM
epriestley edited edge metadata.

I think I got one of these but let me see what else merges cleanly.

This revision is now accepted and ready to land.Sep 23 2015, 5:51 PM
This revision was automatically updated to reflect the committed changes.