whitebophir
whitebophir copied to clipboard
Delete Board as the last user leaves
For ad-hoc privacy conscious users it would be great if the board can be deleted as the last user leaves.
Maybe with a popup for the last user weather he want to save it before.
Should I also add an option to make configurable via environment variables?
Thats a great idea. In my opinion the Popup should be just shown for the user who initionally opens the board.
Maybe instead there could be 2 types of boards: "volatile" boards that are always deleted after the last user leaves, and "persistent" boards that are preserved, like current boards. This way, a running instance could give both options to users when creating a board, without the need of a popup. But I guess a per-board configuration would probably be better...
It think that my be a good idea to have it completely separated. Furthermore we should add a banner to the top that this board is volatile.
@lovasoa what do you think?
It think that my be a good idea to have it completely separated. Furthermore we should add a banner to the top that this board is volatile.
@lovasoa what do you think?
For simple implementations, we can have URL params for such. Like "IsVolatile" Drawing with such params configs are not stored in a server just transmitted while in Socket connection.
@SushantGautam I think that's a different idea. Somebody joining to an already drawn whiteboard would have an incomplete view.
As for our use we have an external system using the whiteboard (nameley jitsi) and the "delete board as last user leaves" functionality won't be triggered for embedded iframes. So we implemented an admin api for deleting the board.
If @lovasoa decides on how to go about this feature I am happy to modify #201 (e.g. implementing a volatile flag). I added a PR for the admin API here: #199