BlocklyProp icon indicating copy to clipboard operation
BlocklyProp copied to clipboard

Add non-volatile user settings to DB and REST service

Open zfi opened this issue 8 years ago • 4 comments

If we had an additional field that could be read/written with a REST endpoint by user id, we could save a single JSON string that contains user settings/preferences.

Settings could include:

  • Configure client port/host
  • Terminal font size
  • View in grayscale

Original issue: The "Configure Client" item under the hamburger drop down does not open a dialog unless the current session is authenticated. The menu item should probably be hidden for anonymous users.

zfi avatar Apr 13 '17 06:04 zfi

We could use the same trigger used by the warning/info-text above the load/compile buttons to toggle this item's visibility.

MatzElectronics avatar Apr 21 '17 21:04 MatzElectronics

I'm open to ways other than REST to do this, too.

MatzElectronics avatar Jul 20 '17 18:07 MatzElectronics

Using a REST API is probably the correct way to do this if the configuration settings are going to be mobile. These settings could also be stored in a cookie but that would make the settings specific for the individual browser. I'll ponder this further.

zfi avatar Jul 20 '17 20:07 zfi

This can be addressed once issue #1523 has been completed.

paragitadmin avatar Aug 23 '18 21:08 paragitadmin