client-web icon indicating copy to clipboard operation
client-web copied to clipboard

Refactor WhiteboardsContentContainer

Open ccanos opened this issue 5 months ago • 0 comments

Description

As an Alkemio developer, I want a clean codebase

Context

With the works to move the whiteboard saving logic to the server, we are not loading the whiteboard contents any more when the whiteboard dialog is opened. Whiteboard contents are always received from the wb-collab-server (the websocket). There is a wrapper component called WhiteboardContentContainer that can be removed, but it was used in other places and the refactor was not trivial. There are also interfaces WhiteboardWithContent WhiteboardWithoutContent that can be looked at, and the WhiteboardDialog receives a generic type Whiteboard extends WhiteboardWithContent that can be simplified.

Acceptance criteria

  • [ ] WhiteboardContentContainer must be cleaned up and only used when necessary or just completely removed
  • [ ] WhiteboardDialog code must be cleaner

Timebox to:

Additional Context

Screen shots / UX designs / data that are relevant.

Areas that will be affected

To be added during the refinement

ccanos avatar Sep 24 '24 06:09 ccanos