HomePhabricator
Diffusion Comm f481aafdeb2f

[native] Make chat mentions clickable

Description

[native] Make chat mentions clickable

Summary:
Solution for ENG-4561.

This diff introduces new hook which redirects to chat when mention is clicked and uses it in markdown-utils.js and finally in markdown-chat-mention.react.js

Depends on D8845.

Test Plan:
Before testing, please apply the entire native stack.

  1. Test if mentions inside a spoiler are properly rendered and are clickable only when spoiler is opened:

  1. Test if mentions are clickable and if animation is changed when tooltip is opened:

Reviewers: tomek, inka, rohan

Reviewed By: rohan

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8873

Details

Provenance
patrykAuthored on Sep 27 2023, 7:47 AM
Reviewer
rohan
Differential Revision
D8873: [native] Make chat mentions clickable
Parents
rCOMM8403333bee9c: [native] Introduce markdown component for chat mentions
Branches
Unknown
Tags
Unknown