[ 
http://jira.magnolia-cms.com/browse/MGNLFORUM-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29764#action_29764
 ] 

Luca Boati commented on MGNLFORUM-105:
--------------------------------------

luca wrote:   
a thread is marked as read when the user read the last message, if someone add 
a new message the thread become unread.
right now there is no difference between a thread never read and a thread read 
but with new messages.
so... do we want to show this difference? if true this task is not complete and 
we have to decide how to implement new replies features.

gregory wrote:
Yes we want to show this difference; the goal is that I can go back immediately 
to the last message I've read in this thread without having to scour 37 pages 
of discussion to find the 2 new messages that were left last night.
Curiosity: can you tell how/where the data is currently stored such that each 
user sees his own read/unread threads ?

luca wrote:   
how it works now:
- we defined a "forum info manager" interface to handle all the services 
releated to statistics/info and more between posts/thread/forum and users 
({{ForumInfoManager.java}})
- a simple default implementation ({{DefaultForumInfoManager.java}}) stores 
data on a separate jcr repository (foruminfo), future implementation could use 
relational db or whatever is the best for permormance.

to show if a thread has new messages for user we have to save, "user read this 
post", for each last messages of a thread page. it means store a lot of stuff 
:) but we can do it (we already store the last message to handle new thread 
icon).
if a thread has more than 1 page, we can add to already existing paging on 
thread list a link to the page with the last message read. If a thread has just 
1 page we can modify the icons "the new messages icon" instead of use the "new 
threads icon"... or however show the link "new messages" to the first page.

> Add a new threads/new replies view
> ----------------------------------
>
>                 Key: MGNLFORUM-105
>                 URL: http://jira.magnolia-cms.com/browse/MGNLFORUM-105
>             Project: Magnolia Forum Module
>          Issue Type: Improvement
>            Reporter: Fabrizio Giustina
>            Assignee: Luca Boati
>             Fix For: 2.0
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to