-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configurable ui-language-switcher-dialog.component.ts
#2550
configurable ui-language-switcher-dialog.component.ts
#2550
Conversation
✅ Deploy Preview for effervescent-donut-4977b2 canceled.
|
Also worth noting that during development session of this PR I figured out in some cases (at least during development) that if users didn't set I don't know if this is right to set configs inside |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good - I have a few points of feedback to address. Also, please make this PR against the minor
branch as it is adding new functionality.
packages/admin-ui/src/lib/core/src/components/app-shell/app-shell.component.ts
Outdated
Show resolved
Hide resolved
...lib/core/src/components/ui-language-switcher-dialog/ui-language-switcher-dialog.component.ts
Outdated
Show resolved
Hide resolved
…pOrDefault`'s check
…d for `availableLocales`
Thank you for your excellent work on this! |
Anytime 🙏 I'm glad it was helpful ! |
Description
Addressing the requirements described here #2413
Breaking changes
⭕There might be a chance that
getAppConfig().availableLocales
don't filled with default value calleddefaultAvailableLocales
when user didn't set any specificavailableLocales
on theirAdminUiConfig
.⭕Actually currently I couldn't verify 100% that this is going to break current users admin-ui as they probably have not set any
availableLocales
but this might be the only breaking change.Screenshots
currently nothing applicable as a screenshot