Page MenuHomePhabricator

Fix missing link targets for "View Object" header buttons in HTML email
ClosedPublic

Authored by epriestley on Jun 18 2019, 2:25 PM.
Tags
None
Referenced Files
F14123305: D20586.diff
Fri, Nov 29, 9:44 PM
F14120374: D20586.diff
Fri, Nov 29, 8:27 AM
Unknown Object (File)
Tue, Nov 26, 5:15 PM
Unknown Object (File)
Tue, Nov 26, 3:43 PM
Unknown Object (File)
Mon, Nov 25, 12:41 AM
Unknown Object (File)
Mon, Nov 11, 4:52 AM
Unknown Object (File)
Mon, Nov 4, 7:24 AM
Unknown Object (File)
Oct 30 2024, 8:31 AM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/view-task-from-maniphest-e-mail-doesnt-have-url/2827.

I added "View Task" / "View Commit" buttons recently but the logic for generating URIs isn't quite right. Fix it up.

Test Plan
  • Commented on a task.
  • Used bin/mail show-outbound --id ... --dump-html > out.html to dump the HTML.
  • Previewed the HTML in a browser.
  • This time, actually clicked the button to go to the task.

Diff Detail

Repository
rP Phabricator
Branch
view1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22979
Build 31539: Run Core Tests
Build 31538: arc lint + arc unit