Mention functionality implimented

4.99K viewsUpdates
1

Most awaited mention functionality is now available in 2.4-beta2. Download master branch for testing: https://github.com/anspress/anspress/archive/master.zip

NOTICE: this release should not be used in production site.

Is it expected that admins aren’t notified when mentioned? Seems that only the participator roles are included.

It would be nice to have comments mention users. My experience has been that only question/answer have the new feature.

-1

This is great function.

1

Had to disable and enable AnsPress for notifications to work at all (there was no “new” tables in DB, it was suspicious

Mentions are a great functionality, totally must have! Right now I see

  1. no link to the question where I was mentioned http://4.stefantsov.com/s/?2015.10.25_6.59.55_jfmp7x03.png
  2. there is no @auto-suggest (by current display name and by slug/login), I have no idea how normal person will know how to mention me when my name is Дима Стефанцов and my login is “admin”.
  3. what about syntax @rahularyan, users will probably want to use ,.? without thinking about urls and other technical things. You can see how this mention was broken by ‘,’

P.S.: started using it in production, wish me luck 😛

Vkontakte social network does mentions like this:
*uniquelogin (Any string I want displayed as this mention) was mentioned.

Not sure if too complicated, but I like it. Autocomplete pops up on *

Already improved the mention regex but not pushed to github. You have to wait for autocomplete popup.