In our company we have userNames like this:
1. one letter is first letter of a name
2. dot
3. surname
All in lower case. Like my userName on this forum
When I start typing @a it shows some userNames that start from letter a, but when I enter dot the autocomplete list becomes hidden and not displayed any more whichever text I enter further.
I have investigated stream panel code and found this regex is used /(^|\s)@(\w*)$/. But on back-end when mentions are processed /(@[\w@.-]+)/ is used.
I combined these two and found out that /(^|\s)@([\w.]+)$/ suites our needs.
Espo version: 8.3.6
DB: Mariadb 10.11.8
System: Ubuntu 22.04
1. one letter is first letter of a name
2. dot
3. surname
All in lower case. Like my userName on this forum
When I start typing @a it shows some userNames that start from letter a, but when I enter dot the autocomplete list becomes hidden and not displayed any more whichever text I enter further.
I have investigated stream panel code and found this regex is used /(^|\s)@(\w*)$/. But on back-end when mentions are processed /(@[\w@.-]+)/ is used.
I combined these two and found out that /(^|\s)@([\w.]+)$/ suites our needs.
Espo version: 8.3.6
DB: Mariadb 10.11.8
System: Ubuntu 22.04
Comment