Commit Graph

12 Commits

Author SHA1 Message Date
frank 6e5a32c022
fix(mentions)_: add callID for `OnChangeText` () 2024-09-19 13:03:56 +08:00
frank 82ba10ede7
chore(mentions)_: Add suggestion limit for mention recommendations ()
- Introduce a constant `suggestionsLimit` set to 15
- Apply the suggestion limit when calculating mention suggestions
- Replace unlimited suggestions (-1) with the new limit in relevant function calls
- This change aims to improve performance and user experience by limiting the number of mention suggestions displayed
2024-08-30 09:37:08 +08:00
frank 14483dabda
[mention] fix relate issues to input segments () 2023-07-25 16:47:24 +08:00
frank fee033fadb
support mention Non-Latin nickname ()
* support mention non-Latin nickname

* use IndexRune instead of Index

* fix mobile issue 

* add another test case
2023-06-21 14:42:14 +08:00
frank 0fcf3abd83
Improve/mention input segments ()
* improve calculate input segments relate to mention feature

* bump version

* rename variable
2023-06-19 19:08:45 +08:00
frank 9e7f1338f0
refactor function diffText () 2023-06-16 23:09:37 +08:00
frank 9e0a12cb32
fix: Mention is not resolved if username or nickname of one is a substring of another ()
* fix mobile issue 

* bump version
2023-06-08 14:47:38 +08:00
frank 75864528b1
fix: display name/nickname/ens which includes dash is not resolved in the chat when mentioned () 2023-05-23 18:07:49 +08:00
frank 31d02f5197
fix: Suggested list of mentions does not appear initially when '@' is typed in the editing message composer ()
* fix: Suggested list of mentions does not appear initially when '@' is typed in the editing message composer

* bump version
2023-05-15 20:15:10 +08:00
frank 39f486a47a
optimize mention ()
* optimize mention

* bump version
2023-05-15 15:21:41 +08:00
frank 8608aecdb4
fix mobile mention issue ()
* fix mobile mention issue 

* add state != nil

* clear previous text when clear mentions

* fix: after selected mention user, and type @ not working

* bump version
2023-04-27 11:06:40 +08:00
frank fd6073ab2e
rewrite mention in go () 2023-04-07 16:47:38 +08:00