Commit graph

6 commits

Author SHA1 Message Date
Pedro Igor
290bee0787
Resolve several usability issues around User Profile (#23537)
Closes #23507, #23584, #23740, #23774

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-06 10:15:39 -03:00
Jon Koops
153d1a9841
Upgrade Prettier to the latest version (#21601) 2023-07-11 14:03:21 +00:00
Jon Koops
c026884734
Use a different API method to move groups (#20820)
Closes #20615

Co-authored-by: daniel-brannon <daniel.brannon@ososlo.com>
2023-06-23 21:42:13 +02:00
danielFesenmeyer
d543ba5b56 Consistent message resolving regarding language fallbacks for all themes
- the prio of messages is now as follows for all themes (RL = realm localization, T = Theme i18n files): RL <variant> > T <variant> > RL <region> > T <region> > RL <language> > T <language> > RL en > T en
- centralize the message resolving logic in helper methods in LocaleUtil and use it for all themes, add unit tests in LocaleUtilTest
- add basic integration tests to check whether realm localization can be used in all supported contexts:
  - Account UI V2: org.keycloak.testsuite.ui.account2.InternationalizationTest
  - Login theme: LoginPageTest
  - Email theme: EmailTest
- deprecate the param useRealmDefaultLocaleFallback=true of endpoint /admin/realms/{realm}/localization/{locale}, because it does not resolve fallbacks as expected and is no longer used in admin-ui v2
- fix locale selection in DefaultLocaleSelectorProvider that a supported region (like "de-CH") will no longer selected instead of a supported language (like "de"), when just the language is requested, add corresponding unit tests
- improvements regarding message resolving in Admin UI V2:
  - add cypress test i18n_test.spec.ts, which checks the fallback implementation
  - log a warning instead of an error, when messages for some languages/namespaces cannot be loaded (the page will probably work with fallbacks in that case)

Closes #15845
2023-05-17 15:00:32 +02:00
Jon Koops
b6c8344fb5
Ensure user details form state remains in sync (#19696) 2023-04-13 15:55:50 +02:00
Jon Koops
ec8e24c550
Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
Renamed from apps/admin-ui/cypress/support/util/AdminClient.ts (Browse further)