whitebophir icon indicating copy to clipboard operation
whitebophir copied to clipboard

Delete Board as the last user leaves

Open DanielHabenicht opened this issue 3 years ago • 6 comments

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?

DanielHabenicht avatar Jun 02 '21 09:06 DanielHabenicht

Thats a great idea. In my opinion the Popup should be just shown for the user who initionally opens the board.

elearningdienst avatar Jun 02 '21 10:06 elearningdienst

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...

chr5tphr avatar Jun 07 '21 19:06 chr5tphr

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?

DanielHabenicht avatar Jun 09 '21 10:06 DanielHabenicht

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 avatar Jun 15 '21 08:06 SushantGautam

@SushantGautam I think that's a different idea. Somebody joining to an already drawn whiteboard would have an incomplete view.

DanielHabenicht avatar Jun 15 '21 08:06 DanielHabenicht

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

DanielHabenicht avatar Mar 30 '22 13:03 DanielHabenicht