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
F14063934: D8703.diff
Mon, Nov 18, 8:54 PM
F14047645: D8703.diff
Thu, Nov 14, 4:45 AM
F14047632: D8703.id.diff
Thu, Nov 14, 4:42 AM
F14047328: D8703.id20638.diff
Thu, Nov 14, 3:32 AM
F14045043: D8703.id20641.diff
Wed, Nov 13, 12:13 AM
F14044908: D8703.diff
Tue, Nov 12, 10:45 PM
F14012401: D8703.diff
Fri, Nov 1, 11:42 AM
F14010639: D8703.id20638.diff
Thu, Oct 31, 11:17 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
Lint
Lint Skipped
Unit
Tests Skipped