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
Unknown Object (File)
Wed, Apr 24, 10:43 PM
Unknown Object (File)
Fri, Apr 12, 1:53 PM
Unknown Object (File)
Mon, Apr 8, 5:28 PM
Unknown Object (File)
Tue, Apr 2, 9:23 AM
Unknown Object (File)
Mon, Apr 1, 2:21 AM
Unknown Object (File)
Sun, Mar 31, 1:58 AM
Unknown Object (File)
Mar 5 2024, 1:06 AM
Unknown Object (File)
Feb 11 2024, 2:36 AM

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
hachque-reconstructed
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7773
Build 8578: [Placeholder Plan] Wait for 30 Seconds
Build 8577: arc lint + arc unit

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
132

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

133–137

This branch is unreachable: HandleQuery never returns null.

141

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
115–116

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.