Page MenuHomePhabricator

[keyserver] replace sidebar source message quotes with markdown quotes
ClosedPublic

Authored by will on Mon, Nov 4, 1:04 PM.
Tags
None
Referenced Files
F3168725: D13866.id45597.diff
Thu, Nov 7, 7:55 AM
F3167983: D13866.diff
Thu, Nov 7, 4:55 AM
F3149092: image.png
Mon, Nov 4, 1:05 PM
Subscribers

Details

Summary

Addresses https://linear.app/comm/issue/ENG-9848/replace-quotes-with-markdown-quotes-in-sidebar-soucre-message and https://linear.app/comm/issue/ENG-9846/move-in-channel-channel-earlier-in-sidebar-source-message

In this diff, we replace the usage of quotations surrounding the cast text and replace it with markdown quotes by prepending > to each line of the original cast text.

The source message ordering is also rearranged with the channel text now accompanying the "author said" text which is then followed by the cast text.

Depends on D13865

Test Plan

Tested by running local keyserver and triggering a sidebar creation with a webhook event. Confirmed that the sidebar source message appeared as expected.

image.png (1×666 px, 258 KB)

Diff Detail

Repository
rCOMM Comm
Branch
farcaster_bot_followups
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

will requested review of this revision.Mon, Nov 4, 1:25 PM
This revision is now accepted and ready to land.Mon, Nov 4, 2:04 PM

Can you link the Linear task(s) you're addressing? Please always link in both directions (Linear to Phabricator, Phabricator to Linear)