User Messages Visibility

Last modified by Vincent Massol on 2024/11/19 16:12

 XWiki
 Requirements
 Completed
 

Description

Since the introduction of user messages, there are different types of events (wiki events, message stream events, group events...), different types of messages (public, direct, to group...), and different contexts (main page, user page, group page...). The goal of this design document is to establish what kind of events are displayed in each context.

Guests

Guests on the main page should see:

  • all public messages
  • all accessible wiki activity

Guests on a space homepage should see:

  • all messages targeted to that space
  • all accessible wiki activity in that space

Guests on a user's profile tab should see:

  • all public messages from that user
  • accessible wiki activity from that user

Guests on a group page should see:

  • all public messages from the group users
  • accessible wiki activity from the group users
  • TODO: group join/leave events

Registered users

A user on the main page should see:

  • all his messages
  • all direct messages to and from him
  • all messages to his groups
  • all "to followers" messages from the followed users
  • all public messages
  • all accessible wiki activity

A user on a space homepage should see:

  • all "to followers" messages from the followed users targeted to that space
  • all public messages targeted to that space
  • all accessible wiki activity in that space

A user on his profile tab should see:

  • all his messages
  • all direct messages to and from him
  • wiki activity from himself

A user on his Network tab should see:

  • all his messages help
  • all direct messages to and from help him
  • all "to followers" messages from the followed users
  • all public messages from the followed users
  • accessible wiki activity from the followed users

A user on a followed user's profile tab should see:

  • all direct messages to and from him
  • all "to followers" messages from that user
  • all public messages from that user
  • all group messages from that user to the groups that are common for the two users help
  • accessible wiki activity from that user

A user on another user's profile tab should see:

  • all direct messages to and from him
  • all public messages from that user
  • all group messages from that user to the groups that are common for the two users
  • accessible wiki activity from that user

A user on one of their group's page should see:

  • all messages targeted to the group
  • all public messages from the group users
  • accessible wiki activity from the group users
  • TODO: group join/leave events

(TODO: refactor the group page to also include an activity stream, reimplement as a {{dashboard}})

A user on another group's page should see:

  • all public messages from the group users
  • accessible wiki activity from the group users
  • TODO: group join/leave events

 

Get Connected