Skip to content

Conversation

@edewit
Copy link
Contributor

@edewit edewit commented Jun 23, 2023

At the moment this only addresses the admin UI, but planned is to refactor this into a common components that work as well for the account ui

fixes: #20837

@edewit edewit requested a review from a team as a code owner June 23, 2023 18:28
@ghost ghost added the team/ui label Jun 23, 2023
@cypress
Copy link

cypress bot commented Jun 23, 2023

1 flaky tests on run #8132 ↗︎

0 527 48 0 Flakiness 1

Details:

Merge 58b2d41 into 92c64e7...
Project: Keycloak Admin UI Commit: ed4f8bb884 ℹ️
Status: Passed Duration: 16:09 💡
Started: Jul 18, 2023 10:06 AM Ended: Jul 18, 2023 10:23 AM
Flakiness  cypress/e2e/authentication_test.spec.ts • 1 flaky test • chrome

View Output Video

Test Artifacts
Authentication test > should add a condition Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

jonkoops
jonkoops previously approved these changes Jul 4, 2023
@edewit edewit force-pushed the userprofile-components branch from 9472ccb to 88ed041 Compare July 13, 2023 09:04
jonkoops
jonkoops previously approved these changes Jul 13, 2023
@edewit edewit enabled auto-merge (squash) July 13, 2023 12:42
jonkoops
jonkoops previously approved these changes Jul 14, 2023
Object.entries(annotations || {}).map(([key, value]) => ({
key,
value,
value: value as Record<string, unknown>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Looking at the type, it is the same as the one it is being cast to. So I think we can omit this cast.

Suggested change
value: value as Record<string, unknown>,
value,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the build failed when it was omitted

Copy link
Contributor

Choose a reason for hiding this comment

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

Ahhh, I see. I didn't re-build the admin client, so I never got the new type.

@edewit edewit merged commit 0481ea6 into keycloak:main Jul 18, 2023
jonkoops pushed a commit to jonkoops/keycloak that referenced this pull request Aug 23, 2023
* render components based on the annotations

* merge fix
jonkoops added a commit that referenced this pull request Aug 23, 2023
This was referenced Sep 4, 2023
@stianst stianst mentioned this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Declarative User Profile] Attributes tab doesn't dipslay attributes, values get lost and multi values get stored as single ones

2 participants