Page MenuHomePhabricator

Fix board links in TaskDetail
ClosedPublic

Authored by chad on Jun 13 2014, 8:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 12, 3:07 AM
Unknown Object (File)
Tue, Sep 10, 10:26 AM
Unknown Object (File)
Mon, Sep 2, 6:40 AM
Unknown Object (File)
Sun, Sep 1, 2:41 PM
Unknown Object (File)
Sat, Aug 31, 9:17 PM
Unknown Object (File)
Fri, Aug 30, 3:32 AM
Unknown Object (File)
Sun, Aug 25, 3:33 PM
Unknown Object (File)
Aug 20 2024, 5:41 AM
Subscribers

Details

Summary

Not sure if this is the correct fix, but I think it's where you intend to go?

Test Plan

Click on link in Task, get the the correct board. Click lots of links of boards and make sure everything still works.

Diff Detail

Repository
rP Phabricator
Branch
slug-avenue
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1069
Build 1069: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

chad retitled this revision from to Fix board links in TaskDetail.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.

This prevents a project from being called #board.

Instead, I think it's sufficient to replace tag/ with project/board/?

src/applications/maniphest/controller/ManiphestTaskDetailController.php
567–568

That is, just change this line?

Wouldn't I still need a route to translate the slug? I'm not good with routes.

Sorry, yeah, realized I am crazy. How about this?

src/applications/maniphest/controller/ManiphestTaskDetailController.php
567–568

Then this should just be $handle->getURI().'board/'?

src/applications/project/application/PhabricatorApplicationProject.php
82

Make this /slug/board/ instead of /board/slug/.

chad edited edge metadata.
  • Update per comments
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 13 2014, 9:01 PM
chad updated this revision to Diff 22821.

Closed by commit rPfefe5ae27c94 (authored by @chad).