Skip to content

Localization tabs - #25532

Merged
edewit merged 4 commits into
keycloak:mainfrom
agagancarczyk:issue-23507-localization
Jan 8, 2024
Merged

edewit merged 4 commits into
keycloak:mainfrom
agagancarczyk:issue-23507-localization

Conversation

@agagancarczyk

@agagancarczyk agagancarczyk commented Dec 13, 2023 •

Copy link
Copy Markdown
Contributor

Closes #23057

Locales and Realm overrides tabs are as per designs.

The effective message bundles tab is as per discussions we had and slightly differs from the original designs. The table no longer includes 'Language' and 'Theme' columns, as they are unnecessary – the user sees their chosen options, and currently, we support only one selected language and one selected theme at a time. In the search form, the user can select only one theme, one theme type, and one language, but multiple 'hasWords' options are available. The default language is set to English.

@agagancarczyk
agagancarczyk requested review from a team as code owners December 13, 2023 11:08
@ghost ghost added team/ui labels Dec 13, 2023
@agagancarczyk agagancarczyk added this to the 24.0.0 milestone Dec 13, 2023
@cypress

cypress Bot commented Dec 13, 2023 •

Copy link
Copy Markdown

Passing run #10432 ↗︎

0 558 54 0 Flakiness 0

Details:

Merge b052530 into 96d1e43...
Project: Keycloak Admin UI Commit: b922052991 ℹ️
Status: Passed Duration: 07:15 💡
Started: Jan 8, 2024 12:55 PM Ended: Jan 8, 2024 1:02 PM

Review all test suite changes for PR #25532 ↗︎

@hmlnarik hmlnarik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes in Java code look good, thanks for fixing the NPE

edewit
edewit previously approved these changes Dec 19, 2023

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need all this css

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Erik on this one, is there a way we can eliminate most, if not all of this CSS? The advantage of using PatternFly is that we can avoid custom styling in most places, and instead rely on theirs.

If we customize the styles to this extend it will make it very fragile if we need to do major version updates of PatternFly that introduce breaking changes. For example, most of the variable names used here have completely different names in PatternFly 5.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @edewit and @jonkoops I will review the css and try to reduce it as much as possible.

@agagancarczyk agagancarczyk Jan 4, 2024 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonkoops I was able to use Patternfly styles and remove the localization stylesheet altogether. Could you please give it a final check? Thanks!

@jonkoops

jonkoops commented Jan 3, 2024 •

Copy link
Copy Markdown
Contributor

@agagancarczyk looks like there are some conflicts with the main branch, could you rebase your work and fix the conflicts?

@agagancarczyk

Copy link
Copy Markdown
Contributor Author

@agagancarczyk looks like there are some conflicts with the main branch, could you rebase your work and fix the conflicts?

@jonkoops I've just rebased.

jonkoops and others added 3 commits January 5, 2024 11:34
Closes keycloak#23057

Signed-off-by: Agnieszka <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
@agagancarczyk
agagancarczyk force-pushed the issue-23507-localization branch from 563f399 to 8620ffc Compare January 5, 2024 11:35
@agagancarczyk
agagancarczyk requested a review from edewit January 8, 2024 09:46

@jonkoops jonkoops left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edewit
edewit enabled auto-merge (squash) January 8, 2024 12:45

@hmlnarik hmlnarik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reapproving the java changes

@edewit
edewit merged commit 768231d into keycloak:main Jan 8, 2024
wistefan pushed a commit to wistefan/keycloak that referenced this pull request Jan 17, 2024
* Add new localization tabs to Administration Console

Closes keycloak#23057

Signed-off-by: Agnieszka <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>

* css cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* css cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Signed-off-by: Stefan Wiedemann <wistefan@googlemail.com>
ShefeeqPM pushed a commit to ShefeeqPM/keycloak that referenced this pull request Jan 27, 2024
* Add new localization tabs to Administration Console

Closes keycloak#23057

Signed-off-by: Agnieszka <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>

* css cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* css cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Signed-off-by: ShefeeqPM <86718986+ShefeeqPM@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Localization tabs

4 participants