cinny/src/app/utils
nexy7574 8d95758ed7
Remove fallback replies & implement intentional mentions (#2138)
* Remove reply fallbacks & add m.mentions

(WIP) the typing on line 301 and 303 needs fixing but apart from that this is mint

* Less jank typing

* Mention the reply author in m.mentions

* Improve typing

* Fix typing in m.mentions finder

* Correctly iterate through editor children, properly handle @room, ...

..., don't mention the reply author when the reply author is ourself, don't add own user IDs when mentioning intentionally

* Formatting

* Add intentional mentions to edited messages

* refactor reusable code and fix todo

* parse mentions from all nodes

---------

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2025-02-23 22:08:08 +11:00
..
ASCIILexicalTable.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
AsyncSearch.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
blurHash.ts Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
common.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
disposable.ts (chore) remove outdated code (#1765) 2024-07-08 21:27:10 +10:00
dom.ts fix notification crash on ios (#2192) 2025-02-10 21:02:33 +11:00
featureCheck.ts feat: check IndexedDB support (#1630) 2024-01-23 18:36:55 +05:30
findAndReplace.ts Timeline Perf Improvement (#1521) 2023-10-30 11:28:47 +05:30
key-symbol.ts Add ESC btn to toolbar to quickly exit formatting (#1283) 2023-06-16 11:09:09 +10:00
keyboard.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
matrix-crypto.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
matrix-uia.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
matrix.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
mimeTypes.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
regex.ts sanitize string before used in regex to prevent crash (#2219) 2025-02-20 18:30:54 +11:00
room.ts Remove fallback replies & implement intentional mentions (#2138) 2025-02-23 22:08:08 +11:00
sanitize.ts Fix crash when img without src tag (#1731) 2024-05-12 10:06:35 +05:30
sort.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
time.ts Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
user-agent.ts Editor Commands (#1450) 2023-10-18 07:45:30 +05:30