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.
Paths
| Differential D8846 Authored by • patryk on Aug 17 2023, 6:22 AM.
Details 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.
Diff Detail
Event Timeline• patryk held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptAug 17 2023, 6:22 AM2023-08-17 06:22:13 (UTC-7) Harbormaster failed remote builds in B21832: Diff 30004!Aug 17 2023, 6:33 AM2023-08-17 06:33:36 (UTC-7) Harbormaster completed remote builds in B21837: Diff 30009.Aug 17 2023, 7:16 AM2023-08-17 07:16:25 (UTC-7) • patryk edited the summary of this revision. (Show Details)Aug 18 2023, 6:25 AM2023-08-18 06:25:55 (UTC-7) Harbormaster completed remote builds in B21908: Diff 30095.Aug 19 2023, 4:54 AM2023-08-19 04:54:28 (UTC-7) Harbormaster completed remote builds in B21914: Diff 30101.Aug 19 2023, 7:57 AM2023-08-19 07:57:06 (UTC-7) • patryk edited the summary of this revision. (Show Details)Aug 19 2023, 3:27 PM2023-08-19 15:27:52 (UTC-7) • patryk edited the summary of this revision. (Show Details)Aug 20 2023, 7:55 AM2023-08-20 07:55:10 (UTC-7) This revision is now accepted and ready to land.Aug 28 2023, 3:40 AM2023-08-28 03:40:24 (UTC-7) Harbormaster completed remote builds in B22339: Diff 30691.Sep 1 2023, 3:31 AM2023-09-01 03:31:39 (UTC-7)
Comment Actions It might make sense to introduce a new hook that:
Comment Actions @tomek's improvement makes sense, but I'm not applying them right now because I don't believe it will bring significant improvements. If there will be any performance issues during testing, it might be worth wrapping default rules with memo. Harbormaster completed remote builds in B22707: Diff 31243.Sep 19 2023, 1:57 AM2023-09-19 01:57:03 (UTC-7) Closed by commit rCOMM2e88d37a2e83: [native] Use chat mention candidates in markdown rules (authored by • patryk). · Explain WhySep 28 2023, 1:36 AM2023-09-28 01:36:10 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 31489 native/chat/chat-input-bar.react.js
native/chat/message-list-types.js
native/chat/message-preview.react.js
native/chat/sidebar-input-bar-height-measurer.react.js
|
Do we really need one-offs here? Why can't we find an existing color family that works with our designs?
We need to push the team (@tedchang in particular) to use existing families (and update them as necessary) instead of hacking around inconsistencies like this. When we take this sort of approach of picking colors on a per-screen basis, we fail to maintain stylistic / design consistency throughout the app