cracker0dks / whiteboard

Lightweight collaborative Whiteboard / Sketchboard
MIT License
719 stars 198 forks source link

Enhanced vanilla- Picker #125

Closed hhaoao closed 2 years ago

hhaoao commented 2 years ago

Unfinished features: Save color information function.

I don't understand how the back end saves color information.

Completed features: screenshot 9

2021-11-11 log: Reference code: https://github.com/Sphinxxxx/vanilla-picker/issues/13 https://github.com/Sphinxxxx/vanilla-picker/issues/34

cracker0dks commented 2 years ago

Thanks for this PR. Maybe lets just save them in the session storage (clientside)? This is client information and not relevant anywhere else. Also we don't have any login or user tracking so we would rely on client sessions in any case. If you want to, I can implement the session storage part.

hhaoao commented 2 years ago

The following features need to be added to use session storage.

  1. Add a setting button to centrally process user settings, like the color splotch data I proposed, and after the whiteboard is improved, there will be more settings for users.
  2. Export user settings.
  3. How to layout the pop-up windows in the settings button?

finally: You can make a list of tasks and draw a sketch if it involves layout. I check the list items that I can complete.I look forward to using the whiteboard for barrier-free eventstorming communication.

cracker0dks commented 2 years ago

I merged your code and changed it a bit. Recent colors are now saved inside the clients browser (on ok click). You can also remove them again. What do you think?