Commit graph

45 commits

Author SHA1 Message Date
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
Erik Jan de Wit
359ece98f9 PR review 2023-07-06 11:14:39 -03:00
Erik Jan de Wit
95d5fae3b3 Update js/apps/account-ui/src/api/methods.ts
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-07-06 11:14:39 -03:00
Erik Jan de Wit
c0c1de19de Update js/apps/account-ui/src/personal-info/LocaleSelector.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-07-06 11:14:39 -03:00
Erik Jan de Wit
2f5040f565 added locale selector for account console
fixes: #20941
2023-07-06 11:14:39 -03:00
Dmitry Mazurov
af73a4f8da
Remove typo from deleteSession() (#21466) 2023-07-06 09:54:29 +00:00
Jon Koops
0e441b9fb8
Properly handle execeptions thrown by Promises in the usePromise() hook (#21408) 2023-07-03 15:43:08 +02:00
agagancarczyk
0fc4d6120b
Fixed minor accessibility violations for Users (#21353)
* fixed a11y violations for Users

* fixed a11y violation on User Consents tab

* fixed a11y violation on User Consents tab

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-30 18:24:35 +01:00
Erik Jan de Wit
2beedcc4c7
Add first Playwright test for the Account Console (#20809) 2023-06-20 12:49:48 +00:00
Jon Koops
dca71d84c3
Update i18next and react-18next to the latest version (#21070) 2023-06-19 14:59:21 +00:00
Erik Jan de Wit
4d84725d28
added isLinkedAccountEnabled (#21030)
fixes: #20942
2023-06-19 08:36:15 +02:00
Erik Jan de Wit
73daf8b540
added missing delete account feature (#21006)
fixes: #20901
2023-06-19 08:35:29 +02:00
Jon Koops
c998193797
Pass client id for Account and Admin consoles through environment (#20961) 2023-06-13 16:29:37 +00:00
Stan Silvert
e4cc7825f3
Restore feature flags and hidden menu items. (#20912)
Fixes #19683
2023-06-13 10:16:41 -04:00
Jon Koops
79ff5ded63
Make "Personal Info" the default index route (#20887) 2023-06-12 14:10:26 +02:00
Stan Silvert
d89679e62d
theme.properties customizations for account v3 (#20450)
* theme.properties customizations for account v3
Fixes #20200

* theme.properties customizations for account v3
Fixes #20200

* Get rid of conditional hook

* Fix linting.

* Update js/apps/account-ui/src/root/Root.tsx

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

* Update js/apps/account-ui/src/environment.ts

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

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-06-05 07:50:15 -04:00
Jon Koops
a58a9a89d6
Add href to brand of Masthead (#20597) 2023-05-26 10:57:25 +00:00
Erik Jan de Wit
5c8c46c7a9
add disabled and required to User Profile fields (#19976) 2023-05-15 17:28:18 +02:00
Erik Jan de Wit
eab11255ba
Add referrer link (#19799)
Closes #19682
2023-05-02 11:58:56 +02:00
Jon Koops
48354a1bb8
Use correct environment variables in Account Console v3 (#19934) 2023-04-25 11:11:20 +00:00
Jon Koops
a2eb619e0e
Include Account Console version 3 as a theme (#19641) 2023-04-13 09:41:40 -04:00
Erik Jan de Wit
31d588ea9d
Added label for "Has access to" (#19061) 2023-03-21 11:06:24 +00:00
Jon Koops
ec8e24c550
Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00