adds the {{PHID....}} rule. Should mostly be useful in UI code that refers to Objects.
It doesn't add any mention links/transactions.
Differential D15488
Remarkup rule for rendering PHIDs as handles avivey on Mar 16 2016, 11:15 PM. Authored by Tags None Referenced Files
Subscribers Tokens
Details
adds the {{PHID....}} rule. Should mostly be useful in UI code that refers to Objects. It doesn't add any mention links/transactions. Comment with this, see email (plain + html) and comment box.
Diff Detail
Event TimelineComment Actions web (As renderTag): html mail: plain: I'm not sure if rendering the handle as tag, or link, or hovercardLink is nicest; "tag" looks richest... Comment Actions Couple of inlines but this looks good to me overall.
Comment Actions Specifically, I'm imagining these as the eventual rules:
In case (1), I think it's OK if {...} (single brackets) trigger the rule. This is consistent with other rules and I don't think it introduces ambiguity or will fire accidentally. In case (2), we would preserve the input text (in case you were just talking about a PHID and didn't explicitly mean to trigger the rule, so users can still understand and copy/paste it) but augment it with a visual highlight and a hovercard. Comment Actions
I can continue with the bare PHID tonight, if you think it's worth doing now. |