Page MenuHomePhabricator

[web] introduce MarkdownUserMention component
ClosedPublic

Authored by ginsu on Oct 13 2023, 12:42 PM.
Tags
None
Referenced Files
F2192968: D9488.id32101.diff
Thu, Jul 4, 8:46 PM
F2190294: D9488.id.diff
Thu, Jul 4, 11:44 AM
F2188930: D9488.id32120.diff
Thu, Jul 4, 9:48 AM
Unknown Object (File)
Tue, Jul 2, 8:19 PM
Unknown Object (File)
Sun, Jun 30, 12:51 AM
Unknown Object (File)
Sat, Jun 29, 4:07 AM
Unknown Object (File)
Sat, Jun 29, 4:07 AM
Unknown Object (File)
Sat, Jun 29, 4:07 AM
Subscribers

Details

Summary

This diff makes the @mention of a user interactive with the introduction of this component. When a user clicks on this component, the user profile modal will be pushed

Linear Task: https://linear.app/comm/issue/ENG-5245/make-user-profile-accessible-from-markdown-user-mention

Depends on D9486

Test Plan

Please see the demo video below:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Oct 13 2023, 1:01 PM
atul added inline comments.
web/markdown/markdown-user-mention.react.js
18–22 ↗(On Diff #31997)

Doesn't hurt to memoize

This revision is now accepted and ready to land.Oct 16 2023, 12:25 PM

address @atul's comments + rebase before landing