Page MenuHomePhabricator

Make contextual matching of project monograms more liberal
ClosedPublic

Authored by epriestley on Apr 4 2014, 5:54 PM.
Tags
None
Referenced Files
F13134175: D8703.diff
Thu, May 2, 1:40 AM
Unknown Object (File)
Tue, Apr 30, 11:17 PM
Unknown Object (File)
Mon, Apr 29, 3:56 AM
Unknown Object (File)
Sat, Apr 27, 11:10 AM
Unknown Object (File)
Mon, Apr 22, 10:35 PM
Unknown Object (File)
Fri, Apr 12, 1:07 AM
Unknown Object (File)
Fri, Apr 12, 1:07 AM
Unknown Object (File)
Thu, Apr 11, 7:23 AM
Subscribers

Details

Summary

We currently share the same regexp between PHID matching (usually unambiguous) and remarkup matching (often ambiguous).

This means that some project monograms which should work fine don't work properly in some contexts. Improve these behaviors.

For example:

  • #domain.com
    • Previously did not work at all.
    • Now works in unambiguous cases, and in remarkup.
  • #1
    • Previously did not work at all.
    • Now works in unambiguous cases.
  • #dot.
    • Previously did not work at all.
    • Now works in unambiguous cases.
Test Plan
  • Created projects domain.com, 1, etc.
  • Used jump nav to match them unambiguously, everything worked.
  • Used remarkup preview to match them ambiguously, the reasonable ones worked.

Diff Detail

Repository
rP Phabricator
Branch
pmonogram
Lint
Lint Passed
Unit
No Test Coverage