User Settings Context
We are now storing a number of user preferences in localStorage
(e.g. table configuration with column order, width, etc.)
In this ticket we implement a React Context
that loads user preferences from the server (instead of localStorage
) and downloads those preferences on demand. When a preference is updated, it is sent to the API in the background.
When the user switches between browser tabs or windows, the settings applied in the original tab are automatically in effect in this tab.
We will be using AppUserGuiSetting
s with appName
of GGCE-UI
and resourceKey
with the value of the setting. Additionally formName
may be used to specify the area/form/etc. of the setting, but we may not need to use that.