@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Support data-symbol-name in symbol linking

Summary: See D3226.

Test Plan: Browse Diffusion. Click on things.

Reviewers: epriestley

Reviewed By: epriestley

CC: nh, aran, Korvin

Maniphest Tasks: T1602

Differential Revision: https://secure.phabricator.com/D3227

+4 -1
+4 -1
webroot/rsrc/js/application/repository/repository-crossreference.js
··· 25 25 while (target !== document.body) { 26 26 if (JX.DOM.isNode(target, 'span') && (target.className in map)) { 27 27 var symbol = target.textContent || target.innerText; 28 - var uri = JX.$U('/diffusion/symbol/' + symbol + '/'); 29 28 var query = { 30 29 lang : config.lang, 31 30 projects : config.projects.join(','), ··· 37 36 if (target.hasAttribute('data-symbol-context')) { 38 37 query.context = target.getAttribute('data-symbol-context'); 39 38 } 39 + if (target.hasAttribute('data-symbol-name')) { 40 + symbol = target.getAttribute('data-symbol-name'); 41 + } 42 + var uri = JX.$U('/diffusion/symbol/' + symbol + '/'); 40 43 uri.addQueryParams(query); 41 44 window.open(uri); 42 45 e.kill();