Page MenuHomePhabricator

[web] introduce MarkdownUserMention component
ClosedPublic

Authored by ginsu on Oct 13 2023, 12:42 PM.
Tags
None
Referenced Files
F2903595: D9488.id31997.diff
Sat, Oct 5, 11:16 PM
F2903564: D9488.id32101.diff
Sat, Oct 5, 10:55 PM
Unknown Object (File)
Wed, Oct 2, 10:10 AM
Unknown Object (File)
Wed, Oct 2, 10:10 AM
Unknown Object (File)
Wed, Oct 2, 10:10 AM
Unknown Object (File)
Wed, Oct 2, 10:03 AM
Unknown Object (File)
Wed, Oct 2, 6:02 AM
Unknown Object (File)
Thu, Sep 12, 9:01 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