Page MenuHomePhabricator

[web] introduce MarkdownUserMention component
ClosedPublic

Authored by ginsu on Oct 13 2023, 12:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 19, 1:38 AM
Unknown Object (File)
Sat, Jan 11, 5:42 PM
Unknown Object (File)
Mon, Dec 30, 1:21 AM
Unknown Object (File)
Wed, Dec 25, 11:22 PM
Unknown Object (File)
Dec 22 2024, 4:38 AM
Unknown Object (File)
Dec 14 2024, 5:55 PM
Unknown Object (File)
Dec 14 2024, 5:55 PM
Unknown Object (File)
Dec 14 2024, 5:55 PM
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