Commit graph

72 commits

Author SHA1 Message Date
Jon Koops
7afd75ba08
Use browser router for Account Console (#22192)
Closes #27442

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-04 12:38:28 +00:00
Erik Jan de Wit
82b697400f
Port resource edit from Account Console to new form controls (#27417)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-01 13:35:12 +01:00
Hynek Mlnařík
004805e21d
Add tests for linked accounts (#27299)
Fixes: #21248

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-27 07:15:23 +01:00
Hynek Mlnarik
7b384280b6 Tests for applications page
Fixes: #21249

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-26 13:24:06 +01:00
Erik Jan de Wit
d03890263e
use the right context (#27237)
fixes: #27234

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-23 07:24:57 +00:00
Pedro Igor
604274fb76 Allow setting an attribute as multivalued
Closes #23539

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>

Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-22 12:56:44 +01:00
Erik Jan de Wit
df281df669
added some build options to account-ui (#27033)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-20 15:46:21 +01:00
Erik Jan de Wit
f117210585
permissions can be empty (#27024)
fixes: #27005

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-19 13:45:28 +01:00
Hynek Mlnarik
568b6e0ad7 Add device activity tests
Fixes: #21247
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-19 11:14:00 +01:00
Hynek Mlnarik
2914c5821d Add signing-in tests
Fixes: #21245
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-14 14:28:13 +01:00
Hynek Mlnarik
18ad2c8b30 Add account console group test
Fixes: #21250

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-13 11:39:57 +01:00
Erik Jan de Wit
8d3d94f904
debeerify in account as user profile can have dots (#26680)
fixes: #26635

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-12 19:32:53 +01:00
Erik Jan de Wit
5d39625d82
account library (#26373)
* initial version

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* better init

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added more components

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* moved to public

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* use environment var to enter library mode

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added export field

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-01 16:46:11 +01:00
Erik Jan de Wit
3b3eef2560
Added data-testid to expandable nav (#26445)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-24 11:54:17 +01:00
Jon Koops
5bf2d4b6ec
Enable PKCE by default for Keycloak JS (#26412)
Closes #26411

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-23 14:04:13 +01:00
Jon Koops
4c5bf596aa
Ensure key prop of credentials list is unique (#26410)
Closes #26409

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-23 11:08:20 +00:00
Jon Koops
03b03f3ccd
Add missing translations for WebAuthN in Account Console (#26384)
Closes #26383

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-22 16:04:22 +00:00
Erik Jan de Wit
84b2c5eb61
move suspense around lazy component (#26333)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-19 12:00:56 +00:00
Erik Jan de Wit
f20de396aa
better path resolve (#26239)
for https://github.com/keycloak/keycloak-quickstarts/pull/523

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-19 10:46:08 +01:00
Erik Jan de Wit
118965ca7e
refactored authentication to use the ui-shared (#25730)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-12 10:52:50 +01:00
Jon Koops
5eb7363ddd
Promote Account Console v3 to default and deprecate v2 (#25852)
Closes #19663

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2024-01-11 19:42:10 +01:00
ReneZeidler
841e1e3d99
Remove unnecessary tooltip on device activity page (#26078)
Closes #26032

Signed-off-by: René Zeidler <rene.zeidler@gmx.de>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-01-11 12:49:07 +01:00
Erik Jan de Wit
2163fae7ae
use content json also for own menu (#25744)
* use content json also for own menu

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* change isHidden with isVisible

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-10 09:38:02 +01:00
Erik Jan de Wit
e6095f901a
Switch locale (#24736)
* Switch locale

fixes: #24082
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* PR comments

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-12-12 10:59:59 +00:00
Jon Koops
dc0455b73c
Unify utils for interpolated labels under ui-shared (#25203)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-12-01 14:41:15 +01:00
Stan Silvert
8a9b83d016
If application has no URL, render text only (#25138)
Fixes #25124

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
2023-11-30 14:05:06 -05:00
Erik Jan de Wit
2e4cd78f61
extend the account-ui with a content.json (#24885)
* extend the account-ui with a content.json

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* use click nav

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* bit more performant

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-30 16:20:49 +01:00
Erik Jan de Wit
0e0fee40c4
convert the account ui to properties (#24788)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-16 10:25:14 +01:00
Erik Jan de Wit
89abc094d1
userprofile shared (#23600)
* move account ui user profile to shared

* use ui-shared on admin same error handling

also introduce optional renderer for added component

* move scroll form to ui-shared

* merged with main

* fix lock file

* fixed merge error

* fixed merge errors

* fixed tests

* moved user profile types to admin client

* fixed more types

* pr comments

* fixed some types
2023-11-14 08:04:55 -03:00
dependabot[bot]
848e9fe004
Bump react-router-dom from 6.15.0 to 6.18.0 in /js (#24448)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.15.0 to 6.18.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.18.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-11-03 13:03:05 +00:00
Jon Koops
357f3b2978
Use default namespace for i18next (#24322) 2023-10-27 16:25:59 +00:00
agagancarczyk
8cd40bd911
Account user roles tests (#23663)
* added check for deleting account

* added test for checking if linked accounts exist

* clean up

* fix

* improving test

* improving test

* improved selector

* trying to improve test

* improving test

* trying to improve test

* trying to improve test

* refactoring test

* refactoring test

* refactoring test

* improving test

* added mocked identityProvider

* changed to use `user-profile

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-10-26 13:16:09 +02:00
Erik Jan de Wit
7f9ea3afbb
added test for resources (#23706)
* added test for resources

fixes: #21251

* pr comments

* Rename `data-testId` to `data-testid`

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-17 07:42:38 +02:00
Jon Koops
fa1747cb27
Apply type migration for i18next on Account Console (#23472) 2023-09-22 15:57:19 +02:00
Erik Jan de Wit
d796721e00
moved keycloak to context so it can be updated (#22488)
* moved keycloak to context so it can be updated

fixes: #11931

* PR comments
2023-09-19 08:01:35 -04:00
Erik Jan de Wit
b7d91eeaf5
added more profile tests (#23005)
* added more profile tests

* create user per test to reset values

* skipping locale select tests
2023-09-12 07:54:38 -04:00
agagancarczyk
49959348ad
A11y fixes for Account UI (#22665)
* fixed empty <th> violation

* fixed empty <th> violation

* fixed empty <th> violation

* fixed unique attribute id violation in groups

* fixed a11y violation for account security

* fixed isShared in <th> element

* fixed aria-labelledby

* changed aria-labelledby to aria-label

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-08-28 16:10:15 +01:00
agagancarczyk
bf0d16c4ff
Fixed remaining a11y violations for account console (#22673)
* fixed critical a11y violation on Application page

* fixed moderate  a11y violation on Application page

* fixed serious a11y violation on Signin page

* fixed aria-label

* updated label

* Add Dutch translation

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-08-28 16:06:26 +01:00
Erik Jan de Wit
1049ad8edf
added test for the groups tab of the account-ui (#22371)
* added test for the groups tab of the account-ui

* simplified groups realm setup

* fixed url

* changed login to add realm

* set account ui v3 as theme
2023-08-18 14:18:28 +02:00
Erik Jan de Wit
6d85ceef25
added better rendering to account (#22297)
* added better rendering to account

fixes: #21699

* merged in changes

* re-added test
2023-08-15 15:22:13 +02:00
Jon Koops
d6eb642a65
Add Account Console E2E tests (Playwright) to CI (#21496) 2023-08-14 16:41:58 +02:00
Erik Jan de Wit
cd24896de1
added update email button (#22361)
fixes: #20902
2023-08-11 08:00:39 +02:00
Erik Jan de Wit
07129329c3
added shared resources to account ui (#21339)
* added shared resources to account ui

* Update js/apps/account-ui/src/resources/PermissionRequest.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update js/apps/account-ui/src/resources/PermissionRequest.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update js/apps/account-ui/src/resources/ResourcesTab.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-07-31 11:54:16 +02:00
Jon Koops
1d24a8b316
Add missing labels for Account Console (v3) (#21807) 2023-07-19 11:19:16 +00:00
Jon Koops
4885d349dc
Simplify date formatting for the Account Console (v3) (#21703) 2023-07-19 11:51:39 +02:00
Jon Koops
8045570401
Various fixes for localization of the Account Console (#21676) 2023-07-13 18:23:44 +02:00
Jon Koops
153d1a9841
Upgrade Prettier to the latest version (#21601) 2023-07-11 14:03:21 +00:00
Erik Jan de Wit
f06d7f8eb6
Add initial test for the resources tab (#21334) 2023-07-07 14:34:54 +00:00
Erik Jan de Wit
a230a4588a renamed to SelectControlOption 2023-07-06 11:14:39 -03:00
Erik Jan de Wit
ac135dbfdc renamed to SelectOption 2023-07-06 11:14:39 -03:00