Closed Bug 1661307 Opened 5 years ago Closed 5 years ago

Phabricator emails: Render comments with Remarkup (and style pings)

Categories

(Conduit :: Phabricator, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mhentges, Assigned: mhentges)

References

Details

(Keywords: conduit-triaged)

Attachments

(2 files)

The raw text of Phabricator comments is in markdown. When a user views these comments, they're going to want to see the comments rendered, just like how they'd seem them on Phabricator itself.

Additionally, ensure that pings (e.g.: @mhentges) are styled so it's clear that they are pings. (Perhaps also style them specially if they're pings targeting the current recipient?)

Phabricator doesn't use Markdown, it uses Remarkup instead.

https://secure.phabricator.com/book/phabricator/article/remarkup/

This is a Phabricator specific markup language making this task more than just pointing an off-the-shelf library at the problem πŸ™

Keywords: conduit-triaged
Priority: -- → P3
Summary: Phabricator emails: Render comments with markdown (and style pings) → Phabricator emails: Render comments with Remarkup (and style pings)

Ah, true, thanks for the correction.
Either way, since this rendering should happen server-side IMHO (within phabricator-extensions), I'm relatively confident that we can just tie into the existing rendering logic, rather than throwing different software at it (that might render differently in unexpected ways).

Blocks: 1667229
Assignee: nobody → mhentges
Status: NEW → ASSIGNED

While retaining the existing comment properties for
backwards-compatibility, this patch adds "message" properties to
events with comments and inline comment objects. These "message"
properties contain the comment markup rendered to two different formats
(text and html).

Depends on D91817

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: