HomePhabricator
Diffusion Comm 2e88d37a2e83

[native] Use chat mention candidates in markdown rules

Description

[native] Use chat mention candidates in markdown rules

Summary:
This diff adds the chatMentionCandidates object to all functions that return textMessageRules in rules.react.js, and includes this object as a parameter in all occurrences of these functions.

Depends on D8871.

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

  1. Check if mentions are rendered correctly (see D8845).
  2. Check if mention content is not replaced to default text (@[[id:default text]]) when pending sidebar is created.

Reviewers: tomek, inka, rohan

Reviewed By: inka

Subscribers: ashoat, tomek

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

Details

Provenance
patrykAuthored on Sep 1 2023, 2:43 AM
Reviewer
inka
Differential Revision
D8846: [native] Use chat mention candidates in markdown rules
Parents
rCOMMf481aafdeb2f: [native] Make chat mentions clickable
Branches
Unknown
Tags
Unknown