Skip to content
Snippets Groups Projects
Forked from briar / briar
6006 commits behind the upstream repository.
  • Torsten Grote's avatar
    1a1dd808
    Merge branch '408-forum-list-unread-posts-badges' into 'master' · 1a1dd808
    Torsten Grote authored
    Adds badges to the forum list that indicate unread posts
    
    This MR adds  badges to the forum list that indicate unread posts. It does so by extending the compound view `TextAvatarView` and provides convenient setters that take care of the required UI changes. The new badge can also be used to indicate a problem with the forum.
    
    ![device-2016-06-02-134048](/uploads/133f365f5654be304f590a4f5b667d06/device-2016-06-02-134048.png)![device-2016-06-02-134453](/uploads/423a88f6306a558828181f0c539aa1cb/device-2016-06-02-134453.png)
    
    I decided not to check if the forum is shared from someone or with someone and indicate a problem in this case, because this requires iterating two times over all contacts and their group metadata for each forum. If someone considers it important to check for this information, we can create a ticket for doing this within the forum and not in the forum list.
    
    See merge request !207
    1a1dd808
    History
    Merge branch '408-forum-list-unread-posts-badges' into 'master'
    Torsten Grote authored
    Adds badges to the forum list that indicate unread posts
    
    This MR adds  badges to the forum list that indicate unread posts. It does so by extending the compound view `TextAvatarView` and provides convenient setters that take care of the required UI changes. The new badge can also be used to indicate a problem with the forum.
    
    ![device-2016-06-02-134048](/uploads/133f365f5654be304f590a4f5b667d06/device-2016-06-02-134048.png)![device-2016-06-02-134453](/uploads/423a88f6306a558828181f0c539aa1cb/device-2016-06-02-134453.png)
    
    I decided not to check if the forum is shared from someone or with someone and indicate a problem in this case, because this requires iterating two times over all contacts and their group metadata for each forum. If someone considers it important to check for this information, we can create a ticket for doing this within the forum and not in the forum list.
    
    See merge request !207