Commit graph

82 commits

Author SHA1 Message Date
Jon Koops
a6fd2cabfa
Use new JSX transformation for React (#3033) 2022-08-03 14:12:07 +02:00
Jon Koops
cc7ec1cf7f
Add 'Session' tabs to user and client details (#2655) 2022-05-18 11:16:20 +02:00
Erik Jan de Wit
49086653e1
Changed the way the table is updated (#2505) 2022-04-27 10:48:32 +02:00
Erik Jan de Wit
f04788028b
Fixed the filter dropdown (#2315) 2022-03-28 22:57:32 +02:00
Erik Jan de Wit
b2d507a390
Added empty state to add scope dialog (#2291) 2022-03-22 12:58:49 +01:00
Erik Jan de Wit
e641af0b16
changed to use the SearchInput (#2314)
fixes: #1348
2022-03-22 12:16:24 +01:00
Erik Jan de Wit
efb3a36d32
Fixed getting text from JSX element (#2193) 2022-03-08 17:21:38 +01:00
Erik Jan de Wit
663e96d000
Added a way to clear filters for non custom search (#2194) 2022-03-07 15:25:59 +01:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication (#2146) 2022-02-28 16:22:00 +01:00
Jon Koops
b9224862de
Replace Lodash with it's ESM variant (#1990) 2022-02-02 11:33:57 +01:00
Erik Jan de Wit
ede8db53a0
Added default role tab to realm settings (#1497)
* added user registration tab to realm settings

* added keycloak spinner

* fixed routing from all role tabs

* Update src/realm-settings/RealmSettingsTabs.tsx

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* changed tab name to "associated-roles"

* removed useless key attribute

* removed unnessary variable

* fixed pagination

* rebased

* fixed default role type

* fixed create realm role

* fixed helpItem forID

* fixed test

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-11-16 12:10:10 +01:00
Erik Jan de Wit
145cf56a2b
fixes some issue on the events tab (#1150) 2021-09-27 10:52:02 +02:00
Erik Jan de Wit
cb94c537db
don't show toolbar when not searching (#1152)
* don't show toolbar when not searching

* fixed the tests

* made switch logic more readable

* fixed test
2021-09-15 11:45:56 +02:00
Erik Jan de Wit
b8990cbf63
Make filtering of client scopes same for clients and client scope section (#1064)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-14 17:48:48 +02:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00
Erik Jan de Wit
4d789f84e3
fixed logic when to show empty search result (#1053)
fixes: #1040
2021-08-24 12:38:29 +02:00
Jenny
f93d478f44
Realm settings(localization): add locale dropdown to table (#936)
* add localization dropdown

uncomment isDisabled

clean up names

comment out localization tab again

disable actions menu if form not submitted

uncomment tab

use currentRealm for tableLoader

fix axe issues labeled as serious

PR feedback from Erik

use isSearching instead of keepToolbar

* fix node build

* use object entries

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-17 08:50:31 -04:00
Jon Koops
317acd8239
Prefer optional chaining over validating references (#992) 2021-08-12 13:15:47 +02:00
Jon Koops
45bd2fd385
Use FunctionComponent type for components needing 'children' prop (#977) 2021-08-10 13:18:48 +02:00
Erik Jan de Wit
707d11fe93
Changed the group picker to reflect the updated design (#743) 2021-07-06 11:31:14 +02:00
Erik Jan de Wit
1613331bba
Fixed these 2 issues: (#741)
* fix order of alerts where the newest is on the top

* removed double loading indicator

* fixes showing old alerts again
2021-07-01 08:48:03 +02:00
Erik Jan de Wit
f94873f99a fixed types 2021-06-29 08:40:41 +02:00
Erik Jan de Wit
32492152aa fixed issue
fixing: #706
2021-06-23 13:16:10 +02:00
mfrances17
d90b1842ce
Merge pull request #708 from edewit/service-roles
fixing issue
2021-06-22 09:17:11 -04:00
Erik Jan de Wit
2c9b77c425
Fixing UXD review for user (#648)
* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests
2021-06-16 07:35:03 -04:00
Erik Jan de Wit
2765af69c5 more style fixes 2021-06-15 13:12:32 +02:00
mfrances
b9c38e811e fix lint issues 2021-06-10 10:03:46 -04:00
mfrances
63a365ad93 use radios for role selection user fed mappers only 2021-06-10 10:03:46 -04:00
Erik Jan de Wit
544dcd31db
Introduces new Realm Events tab (#618)
* initial version events tab

* added save

* fix for admin events

* added clear and reset

* add type add dialog

* add remove and add actions

* fix ids

* add cofirm disable button

* added key

* added tests

* fixed messages

* add disabled on save on not dirty

* fixed review comment

* fixed test

* merged tests
2021-06-08 07:29:56 +02:00
Erik Jan de Wit
0f6ce35687
Fixing UXD design review (#560)
* Fixing UXD design review

* Removed divider
* Adding type field
* Hide "Consent screen text" field when display consent screen is off
* Fixed cancel button

* fixed type save

* type fix
2021-05-21 12:34:05 -04:00
jenny-s51
345c924e0f add providers and search functionality 2021-05-18 14:03:20 -04:00
jenny-s51
59f7812a24 wip key providers 2021-05-18 14:03:20 -04:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
Erik Jan de Wit
7f21d03bc2 changed asyncStateFetch to be it's own hook
it now cancels pending requests making sure we
don't leak memory + it makes for an nicer looking API
2021-05-18 14:35:09 +02:00
Erik Jan de Wit
a9a34102bc
using smarter wait to fix group tests (#604)
* using smarter wait

instead of static waiting wait for the memeber query to finish

* revert

* query less by creating navigation on click

* only search in the displayed table

* fixed test
2021-05-18 08:25:46 -04:00
Jenny
8e1a1c57bd
Realm settings(keys): Adds keys list to Realm settings keys tab (#555)
* wip keys

* keys

* keys

* adds keys table to realm settings

* rebase and fix conflicts

* rebase and fix conflicts

* remove unused declarations

* fix lint

* fix groups test locally

* address PR feedback from Stan
2021-05-14 14:58:08 -04:00
Erik Jan de Wit
78f843cdcc
Fixes with realm list (#576)
* only query realms endpoint once

currently the realm list query is expensive and we only need it once.

* fixed refresh issues

* fixed tests

* fixed imports

* fixed types

* removed strange non code

* reload instead

* added more realm tests
2021-05-03 12:44:47 -04:00
Erik Jan de Wit
9e5104b668
fixing UXD review issue (#529)
* fixing UXD review issue

fixing: #509

* added detail expandable sections
2021-04-20 08:28:21 -04:00
Erik Jan de Wit
b86db32ba8
Add scope tab to client scope detail page (#514)
* initial version of the scope tab

* fixed assign

* moved form logic added test

* added unassign

* fixed merge error

* fixed labels
2021-04-20 08:10:00 -04:00
Eugenia
2bcdf51075
Users(Consents): add empty state and list consents (#516)
* user consents

* remove form prop

* address PR feedback from Stan and list consents in data table

* update test

* revert css updates
2021-04-14 14:39:21 -04:00
Eugenia
dd1e1f511e
Realm roles(associated roles): fix search filtering bug (#497)
* realm roles UX review progress wip

* filter realm roles on Enter key press, add filter functionality

* clean up

* filterChips logic now in table toolbar

* fix lint and format

* save with erik

* remove filter chips functionality

* fix check-types

* fix realm roles cypress test

* format

* wip pagination

* rebase

* fix roles pagination

* format

* add back save

* remove duplicates in associated roles table, can now paginate modal

* remove logs

* rebase and fix pagination/search

* remove slice

* pagination in modal and associated roles tab

* show client roles

* lint and format

* fix ts error in AliasRenderer

* fix lint

* add filterType

* wip search in component

* fix associated roles tab pagination

* revert KDT changes

* fix text

* add promise resolve type

* format

* remove comment

* add alphabetize function

* fix search

* remove log stmt

* clean up

* address PR feedback from Erik and render clientId badge in associated roles

* remove comment

* fix type

* format

* make checkboxes selectable

* address PR feedbak from Erik

* changes from rebase
2021-04-09 17:08:40 +02:00
Erik Jan de Wit
2417c285e3
fixing uxd issues (#477)
* fixing uxd issues

* add select all checkbox

* added intermidate "style" to select all checkbox
2021-04-07 07:42:30 +02:00
Erik Jan de Wit
8cd88b9a1d
rename clientID to clientId (#504) 2021-04-06 13:39:27 -04:00
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -04:00
mfrances17
4a2fd791e2
Merge pull request #486 from edewit/issue-462
added `isRowDisabled` function to disble rows
2021-04-01 10:41:47 -04:00
Erik Jan de Wit
84bf7925a6
Created add service account roles assign screen (#465)
* service account dialog

* create test

* fixed types

* fixed realm roles selection

* disable when no rows are selected

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-04-01 10:14:19 -04:00
Eugenia
a0faba0f97
Fix roles pagination+filter out duplicates from associated roles list (#460)
* realm roles UX review progress wip

* filter realm roles on Enter key press, add filter functionality

* clean up

* filterChips logic now in table toolbar

* fix lint and format

* save with erik

* remove filter chips functionality

* fix check-types

* fix realm roles cypress test

* format

* wip pagination

* rebase

* fix roles pagination

* format

* add back save

* remove duplicates in associated roles table, can now paginate modal

* remove logs

* PR feedback from Erik

* rebase and fix pagination/search

* remove slice

* pagination in modal and associated roles tab

* show client roles

* lint and format

* remove unused variable

* address tbody console warning, clean up log stmts

* clean up log stmts

* fix ts error in AliasRenderer

* fix lint

* lint

* PR feedback from Erik

* resolve conflicts and format

* comment
2021-04-01 15:41:21 +02:00
Erik Jan de Wit
116800b1ee also disable action when row is disabled 2021-04-01 08:35:38 +02:00
Erik Jan de Wit
c45de338c0 added isRowDisabled function to disble rows
fixing: #462
2021-03-31 10:48:14 +02:00
Erik Jan de Wit
3e02fd1aa6
adds fake pagination to datatable (#472)
even when the backend doesn't support pagination we still show paginated results
2021-03-30 08:25:45 -04:00