Skip to content

Refactor session events #6393

Description

@Planlos5000

Currently we have the following events for the sessions

  • PARTICIPANT_CREATED
  • PARTICIPANTS_UPDATED
  • SESSION_UPDATED

The PARTICIPANT_CREATED event is sent, when a new session is created. The event sends the created session.
The PARTICIPANTS_UPDATED event is sent, when all sessions on the board are updated. The event sends all sessions from the board.
The SESSION_UPDATED event is sent, when a session is updated

We want to have the following events

  • SESSION_CREATED
  • SESSION_UPDATED
  • SESSIONS_UPDATED
  • SESSION_DELETED

The SESSION_CREATED event is sent, when a new session is created. It the only sends the id of the user for the session.
The SESSION_UPDATED event is sent, when a session is updated. It then sends the id of the user who updated the session.
The SESSIONS_UPDATED event is sent, when all sessions for a board are updated. (TBD if we need this event or just send multiple SESSION_UPDATED)
The SESSION_DELETED event is sent, when a session is deleted. (TBD if needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendAt least some of this PR changes stuff in the backend codeFrontendAt least some of this PR changes stuff in the frontend coderefactorThis pull request or issue adds a refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions