repositoryPathPattern fixes
Created by: lguychard
Rel #4370 (closed)
The changes introduced here are twofold:
- Always resolve Sourcegraph mapped repo name in browser extension code
- Use the raw repo name when getting the definition URL
Test plan:
-
Test code intelligence hovers on a repo with repositoryPathPattern -
Test in-code-host jump-to-definition on a repo with repositoryPathPattern -
Test intelligence hovers on a repo without repositoryPathPattern -
Test in-code-host jump-to-definition on a repo without repositoryPathPattern -
Test code intelligence, jump-to-definition on the webapp without repositoryPathPattern -
Test code intelligence, jump-to-definition on the with repositoryPathPattern