Feature #1901
Mentions in user profile
100%
Description
The plugin supports user:[login]
... And it would be great if pages where a user had been mentioned were displayed in user profile under “Mentions” tab or something like this (Yeah! Twitter-like!)...
The issue is how to do this... I guess the plugin should add observers to models saving textilizable texts. On save the plugin should:
- Load current mentions (on update);
- Get the difference;
- Update
mentions
table.
In user profile mentions should be shown in chronological order.
Related issues
Associated revisions
Started implementing mentions (#1901)
Mention list finished (at least for Redmine 1.4.x) (#1901)
Implemented mention notification, fixed experimental macro (#1901)
History
#1 Updated by Andriy Lesyuk almost 13 years ago
- Target version set to 0.0.2
#2 Updated by Andriy Lesyuk almost 13 years ago
- Target version deleted (
0.0.2)
#3 Updated by Andriy Lesyuk almost 13 years ago
- Target version set to 1.0.0b
#4 Updated by Ivan Cenov about 11 years ago
The issue is how to do this...
May be some cron task?
#5 Updated by Andriy Lesyuk about 11 years ago
Ivan Cenov wrote:
May be some cron task?
The question is not “what is the way to collect mentions”, but “how to be able to render URLs and associate mentions with mentioning objects”... I considered at least three ways to collect mentions, so it was not the problem. In other words, seems, finally, I got the idea how to do this...
And even started to...
#6 Updated by Andriy Lesyuk about 11 years ago
- Status changed from Open to In Progress
- % Done changed from 0 to 30
#7 Updated by Andriy Lesyuk about 11 years ago
- File new-mentions-tab.png View added
Here is a screenshot:
#8 Updated by Andriy Lesyuk about 11 years ago
- % Done changed from 30 to 60
#9 Updated by Ivan Cenov about 11 years ago
I understood now...
Do you plan to embed some grouping/filtering in the list: by project, by time period etc?
#10 Updated by Andriy Lesyuk about 11 years ago
Ivan Cenov wrote:
Do you plan to embed some grouping/filtering in the list: by project, by time period etc?
Not currently... This feature is experimental currently. Let’s first see how it works.
#11 Updated by Andriy Lesyuk about 11 years ago
Also there will be the full list of mentions, where you will be able to check them for any time period (by clicking “Previous”).
#12 Updated by Andriy Lesyuk about 11 years ago
- % Done changed from 60 to 100
#13 Updated by Andriy Lesyuk about 11 years ago
- Due date set to 13 Oct 2013
- Status changed from In Progress to Closed
#14 Updated by Miodrag Milic about 11 years ago
This is fantastic. Thanks a lot.
#15 Updated by Miodrag Milic about 11 years ago
Oh yeah did you plan for mention notifications ?
#16 Updated by Andriy Lesyuk about 11 years ago
Miodrag Milic wrote:
Oh yeah did you plan for mention notifications ?
Sure, I do! This has been, actually, already implemented (available in SVN).
#17 Updated by Miodrag Milic over 10 years ago
I tried the latest SVN version and I dont see mentions tab. During installation I migrated database and it listed creation of if I remember correctly 2 new tables one of which was named mentions
.
Is there anything particular to do to enable this ?
I just entered on Wiki page user:mmmilic
and clicked on the link it created but I don’t see any mentions. I edited wiki text once as myself and other time as another user.
This is my setup:
Environment: Redmine version 2.3.0.devel.11513 Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.12 Environment production Database adapter Mysql2 Redmine plugins: redmine_category_tree 0.0.3 redmine_contacts 3.2.7-pro redmine_contacts_helpdesk 2.2.5-pro redmine_default_assign 0.4 redmine_dmsf 1.4.5 stable redmine_inline_attach_screenshot 0.4.6 redmine_issue_templates 0.0.6 redmine_ldap_sync 2.0.2.devel.gdd55d9edd0-dirty redmine_lightbox 0.0.1 redmine_logs 0.0.5 redmine_people 0.1.6 redmine_plugin_views_revisions 0.0.1 redmine_private_wiki 0.2.2 redmine_projects_accordion 0.1.0 redmine_repobrowser 1.3.0 redmine_stealth 0.6.0 redmine_theme_changer 0.1.0 redmine_user_profiles 0.1.1 redmine_wiki_extensions 0.6.4 redmine_work_time 0.2.14 redmine_xls_export 0.2.1 sidebar 0.1.1 wiking 0.1.0
#18 Updated by Miodrag Milic over 10 years ago
I checked out production log and everything looks normal:
Processing by UsersController#show as HTML Parameters: {"id"=>"mmilic"} Current user: mmilic (id=3) Rendered plugins/redmine_contacts/app/views/users/_contact.html.erb (8.3ms) Rendered plugins/redmine_user_profiles/app/views/users/_show_user_profile.html.erb (6.8ms) Rendered plugins/wiking/app/views/users/_activity.html.erb (0.5ms) Rendered common/_tabs.html.erb (1.4ms) Rendered plugins/wiking/app/views/wiking/_mentions.html.erb (3.6ms) Rendered users/show.html.erb within layouts/base (82.3ms) Rendered plugins/redmine_private_wiki/app/views/hooks/_html_header.html.erb (0.0ms) Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions/_html_header.html.erb (0.0ms) Rendered plugins/redmine_repobrowser/app/views/repobrowser/_toolbarmod.erb (0.0ms) Rendered plugins/sidebar/app/views/sidebar/_base.html.erb (0.1ms) Rendered plugins/redmine_private_wiki/app/views/hooks/_body_bottom.html.erb (0.1ms) Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions/_body_bottom.html.erb (0.0ms)
I can see that mentions is rendered
Rendered plugins/wiking/app/views/wiking/_mentions.html.erb
I currently don’t have an option to disable other plugins to see if its interaction problem. Is there anything else I can do to debug this issue ?