Page MenuHomePhabricator

Provide convenience method addTextCrumb() to PhabricatorCrumbsView
ClosedPublic

Authored by epriestley on Dec 18 2013, 7:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 12:25 AM
Unknown Object (File)
Sun, Jan 5, 12:19 AM
Unknown Object (File)
Sat, Jan 4, 11:44 PM
Unknown Object (File)
Sat, Jan 4, 5:15 PM
Unknown Object (File)
Sat, Jan 4, 9:45 AM
Unknown Object (File)
Fri, Jan 3, 1:32 AM
Unknown Object (File)
Thu, Jan 2, 3:31 PM
Unknown Object (File)
Wed, Jan 1, 3:22 AM
Subscribers

Details

Summary

We currently have a lot of calls to addCrumb(id(new PhabricatorCrumbView())->...) which can be expressed much more simply with a convenience method. Nearly all crumbs are only textual.

Test Plan
  • This was mostly automated, then I cleaned up a few unusual sites manually.
  • Bunch of grep / randomly clicking around.

Diff Detail

Branch
crumb
Lint
Lint Passed
Unit
Tests Passed