Commit graph

151 commits

Author SHA1 Message Date
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
jenny-s51
07c55b4693 fix format 2021-05-18 10:47:21 -04:00
jenny-s51
4fcc9654dc rowsandchecks 2021-05-18 10:39:17 -04:00
jenny-s51
981a532a35 remove comment 2021-05-18 10:33:37 -04:00
jenny-s51
d5d6f1b30a update checkbox styles and add disabled functionality to user grops modal 2021-05-18 10:33:37 -04: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
Jenny
15677b6bfb
Realm settings(Email): Adds email tab to realm settings section (#549)
* email tab wip

* save username and pw info on auth toggle

* add email tab

* remove comments

* remove log stmt

* add help text

* adjust styles

* format

* fix conflicts and address PR feedback

* add back ref on reply to display name

* rebase and fix conflicts

* prevent save without sender email

* add className prop to formpanel
2021-05-03 16:00:12 -04:00
jenny-s51
5bcfa03747 add help text for direct membership 2021-04-22 16:37:10 -04:00
mfrances17
4182f2bd58
Merge pull request #542 from jenny-s51/updateUserForm
Users(Create user form): Update create user form with new design
2021-04-21 10:17:48 -04:00
jenny-s51
68066d093e address PR feedback from Mark 2021-04-21 09:53:21 -04:00
Erik Jan de Wit
6dd314c768
Initial version of the identity providers section (#537)
* initial version identity providers section

* added order change dialog

* added tests

* added missing brand icons

* removed need for providerCount

* fixed refresh

* back to list after create

* format merge

* fixed merge error
2021-04-21 15:18:45 +02:00
jenny-s51
cbce18f5f7 navigate to subgroups in modal 2021-04-20 11:08:33 -04:00
jenny-s51
033388bb67 update user form with new design 2021-04-20 10:12:29 -04:00
jenny-s51
10b3619ae9 wip add groups to user form 2021-04-20 10:12:29 -04:00
jenny-s51
62b21dbfe1 add functionality to select and add multiple groups 2021-04-20 10:12:29 -04:00
jenny-s51
559bf1ccee cfixcheckbox select bug 2021-04-20 10:12:09 -04:00
jenny-s51
0b106cb559 add logic for selecting multiple groups, API does not support this yet 2021-04-20 10:10:35 -04:00
jenny-s51
d8c491123a add user to groups modal wip 2021-04-20 10:10:35 -04:00
Eugenia
820af6abca
Users(groups): functionality for adding multiple users to groups (#534)
* add user to groups modal wip

* add logic for selecting multiple groups, API does not support this yet

* cfixcheckbox select bug

* add functionality to select and add multiple groups

* function name

* update cypress test
2021-04-19 15:53:28 -04:00
Erik Jan de Wit
42da9bf637 fixing issues defined in 510
fixing: #510
2021-04-15 12:23:36 +02: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
6f4ea86ecb
Users(groups): Add modal for joining user groups (#513)
* add cypress test to add groups to user

* add test to leave group

* format

* update snapshots

* add user to groups modal wip

* wip join group functionality

* add modal to add user groups

* add refresh

* remove comment

* lint and format

* fix empty state

* add cypress test to add groups to user

* format

* revert snap

* remove existing joined groups from modal
2021-04-14 14:19:39 -04:00
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -04:00
Eugenia
a4242dd370
set leave buttons only on dgroups with direct membership (#499) 2021-04-05 13:55:17 -04:00
Eugenia
5dbb6726ed
Users(groups): list top level groups, implement direct membership check (#467)
* usergroups call wip

user groups

add user groups tab and list group data

clean up log stmts

add cypress test

clean up userGroups

remove comment

fix types

cypress test

fix lint and cypress test

lint

address PR feedback from Mark

clean up

remove component from viewheader

rebase and format

remove duplicate identifier

wrap groups in section

fix ts errors

add search functionality

remove comment

list groups initially

remove log stmt

wip parent groups listing

list parent groups

format

direct membership check

* format

* lint

* wip get intermediate groups

* wip get leafs

* wip list all groups

* wip list all paths

* listing for all groups completed

* remove comment

* wip filter out unjoinedf groups

* list all subgroups done

* format

* remove log stmts
2021-04-01 14:47:05 -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
74aee6090d
genericly we want all sections to look like this (#473)
* genericly we want all sections to look like this

* remove the divider when there are tabs on the page
* fix insert on keycloakTab component

* lint
2021-03-31 15:16:58 +02:00
Erik Jan de Wit
f10661444d
initial move group dialog (#455)
* initial move group dialog

* added test

* fixed search and added breadcrumb

* filter current group

* added empty state

* add cancel button to modal

* fixed merge error
2021-03-29 07:37:47 -04:00
Eugenia
236e89dc63
Users: Add groups tab and list groups (#450)
* usergroups call wip

* user groups

* add user groups tab and list group data

* clean up log stmts

* add cypress test

* clean up userGroups

* remove comment

* fix types

* cypress test

* fix lint and cypress test

* lint

* address PR feedback from Mark

* clean up

* remove component from viewheader

* rebase and format

* remove duplicate identifier

* wrap groups in section

* fix ts errors

* add search functionality

* remove comment

* list groups initially

* remove log stmt
2021-03-23 15:02:27 -04:00
Eugenia
bf4cae6735
Changes from Realm Roles UX Review [List] (#433)
* realm roles UX review progress wip

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

* remove chip group filters

* clean up

* format

* 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

* revert changes to group attributes

* cypress test

* use filter

* remove log

* remove unused prop
2021-03-22 09:14:24 +01:00
Erik Jan de Wit
b56788d942
fixed visual and logical errors described in #423 (#429)
* fixed visual and logical errors described in #423

fixing: #423

* changed reload to reset

* format
2021-03-19 08:49:33 +01:00
Eugenia
28f1fdfda4
Users: Adds user details tab and save/update functionality (#426)
* userDetails tab done, save function wip

* userDetails update working

* add cypress test

* fix default value

* PR feedback from Erik
2021-03-11 21:23:08 +01:00
jenny-s51
a534cfc351 update cypress test to work on empty state and search page 2021-03-04 13:49:05 -05:00
jenny-s51
aa1448ca56 address PR feedback from Mark 2021-03-04 10:13:36 -05:00
jenny-s51
39cd530696 add cypress test to create user 2021-03-04 09:26:21 -05:00
jenny-s51
117ccf05b0 add API call, disable create button if username field empty 2021-03-03 16:17:01 -05:00
jenny-s51
3b9edc483a resolve issues in axe report 2021-03-03 14:36:21 -05:00
jenny-s51
1a4c635946 clean up and add cypress test 2021-03-03 14:12:16 -05:00
jenny-s51
669c8d7377 add create user page 2021-03-03 13:56:03 -05:00
jenny-s51
d45bb1d5ad user details WIP 2021-03-03 08:53:42 -05:00
Erik Jan de Wit
d25ba0af2b
now it can't be called without an error handler (#389) 2021-02-23 09:52:40 +01:00
Erik Jan de Wit
3a3bce0955
fixed search text (#366)
fixes: #363
2021-02-17 15:34:35 -05:00
Erik Jan de Wit
80cca9eca4
Limit search users when users federated or large size (#345)
* when external users then users need to search

* added email not verified icon + delete confirm

* handle search errors

* removed text

* fixed label counter
2021-02-14 13:29:43 -05:00
Erik Jan de Wit
678ec591d6
added roles tab to clients (#312)
* added roles tab to clients

* removed duplicate id parameter

* use client roles instead of realm role for clients

* fixed formatting

* fixed create for client role

* fixed replaceAll
2021-01-29 08:59:03 -05:00
Erik Jan de Wit
0a5efbb781
added brute login user temporary lock indication (#259)
* added brute login user temporary lock indication

* spelling
2020-12-16 07:58:00 +01:00
Erik Jan de Wit
9903b5c081 renamed files 2020-12-11 11:28:38 +01:00
Erik Jan de Wit
f8d8d08147 renamed data list and documented 2020-12-11 11:18:29 +01:00
Erik Jan de Wit
78ccef0d67
initial version of the user list (#252)
* initial version of the user list

* added disabled
2020-12-09 16:55:17 -05:00
Erik Jan de Wit
2fa8855bf4
initial version of the breadcrumb component (#119)
* initial version of the breadcrumb component

* moved breadcrumbs to Page component
2020-10-01 10:25:29 -04:00
Eugenia
9fd54eb964
Adds realm roles section to app and storybook (#79)
* add Realm Roles page

* add section for no realm roles

* update role-model, fixed UI to match designs

* fix paths

* add storybook demo and role actions kebab

* fix build and clean up

* fix formatting

* fix lint

* fix test and update snapshot

* fix storybook demo

* update snapshot after rebase

* PR feedback from Stan

* add back pf addons

* Update src/realm-roles/RealmRolesSection.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* fix format

* localize NoRealmRoles component

* fix formatting

* changes to PR suggested by Sarah

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-09-18 10:04:55 +02:00
Erik Jan de Wit
1297c9f391
Restructure (#78)
* moved files into new structure

* translation files / namespace per "page"

fixes: #77

* renamed pages to sections

* moved save, delete and others to common bundle
2020-09-10 14:04:03 -04:00