jmix-projects / jmix-old

DEPRECATED. Use https://github.com/jmix-framework/jmix
16 stars 3 forks source link

[Helium] Synchronize user settings with browser cookies #584

Closed glebfox closed 3 years ago

glebfox commented 4 years ago

Port: https://github.com/cuba-platform/helium-theme/issues/19

For QA:

Preconditions:

  1. Add <item screen="themeSettingsScreen" caption="Theme Settings"/> to the menu.xml
  2. Create two users

Example case:

  1. Log in as the first user
  2. Open the Theme Settings screen
  3. Change some theme settings, e.g. select the dark color preset
  4. Click Apply
  5. Log out
  6. Log in as the second user

AR: Theme settings are reset to the default values because the second user has no specific theme settings.

  1. Login back as the first user

AR: Theme settings are set to the values you selected in step 3

Note: Login screen has theme settings of the last logged in user.