Commit graph

36 commits

Author SHA1 Message Date
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
Erik Jan de Wit
50920b3df2
Added rename group and adding members to a group (#448)
* users can now rename groups

* add members to a group

* added cypress test

* remove rename and delete when no group is selected

* added test

* keep selected rows form other pages

* fixed empty first page and cancel button
2021-03-24 10:07:49 -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
Stan Silvert
398ca19ec1
Allow New Admin Console to run as a WAR on Keycloak server. (#439)
* Allow app to run as a WAR on Keycloak server.

* New client creation json that works for both dev and prod

* fixed tests

* Try Mark's trick to get realm_test to run.

* Make tests use keycloakBefore()

* Fix duplicate import

* fix github actions

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-03-18 08:48:14 -04:00
Erik Jan de Wit
e4d83d0fe3
Group details (#425)
* added details for groups

* add includeSubGroups checkbox

* added tests

* fixed reload for group attributes

* fixed spacing on associate roles tab

* fixed group reload after save

* fixed test
2021-03-16 08:37:57 -04:00
mfrances
b717954709 change reload txt to revert 2021-03-12 11:30:14 -05: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
mfrances17
ad1fa1340f
Merge pull request #412 from edewit/initial-access-token
Initial access token list and create
2021-03-08 09:05:06 -05:00
mfrances
50570e9f20 fixes issue 376 2021-03-05 17:04:41 -05:00
mfrances
337efd1b3b rm obsolete vars 2021-03-05 16:01:38 -05:00
mfrances
df0133896e big refactor of cypress tests and consolidate into one page object 2021-03-05 15:55:01 -05:00
mfrances
40eb3ede0d refactor cypress tests 2021-03-05 11:36:49 -05:00
Erik Jan de Wit
949a0e198b added delete and cypress test 2021-03-05 14:47:59 +01:00
mfrances17
7c816736d2
Merge pull request #410 from jenny-s51/createUser
Users: Adds create user page to users section
2021-03-04 15:09:53 -05: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
39cd530696 add cypress test to create user 2021-03-04 09:26:21 -05:00
mfrances17
4ee7bc9033
Prevent multiple saves when creating new provider (#411)
* go to user fed view after create

* fix for misc 401 exceptions
2021-03-04 07:34:02 +01:00
mfrances17
9c1efdcc3b
Merge pull request #401 from jenny-s51/usersInRole
Realm roles: add "users in role" tab
2021-03-03 16:24:53 -05:00
jenny-s51
1a4c635946 clean up and add cypress test 2021-03-03 14:12:16 -05:00
jenny-s51
259579be8c cypress tests passing, standardize to match 2021-03-03 09:55:19 -05:00
mfrances
de5765ae6f abstracted and simplified tests 2021-03-02 15:50:45 -05:00
mfrances
bfef63081b add missing type for test method 2021-03-02 15:50:45 -05:00
mfrances
123ee25626 refactor tests first pass 2021-03-02 15:50:45 -05:00
mfrances
0ee4f7ea8e cypress tests working 2021-03-02 15:50:45 -05:00
mfrances
b5f7405fce change existing ids to data-testid 2021-03-02 15:50:45 -05:00
Erik Jan de Wit
fbc81395d1 added wait for backend request 2021-03-02 10:33:19 +01:00
jenny-s51
993e75b14f refactor tests to use data-testid 2021-03-01 10:27:24 -05:00
jenny-s51
eca3bb8e71 address PR feedback from Erik, remove user ID per Haley feedback 2021-03-01 10:27:24 -05:00
jenny-s51
7657c4df73 cypress test 2021-03-01 10:27:24 -05:00
Erik Jan de Wit
a48088765a
Search and create sub groups (#387)
* fixed group section

* simplified create group dialog

* create subgroup

* initial search groups

* added initial search

* add empty state and links to details

* Added cypress tests

* fixed types

* changed to the more clear getId

* changed to use testid

* fixed merge error

* fixed test

* changed text for empty sub groups

* fix merge error

* fix test
2021-03-01 10:06:04 -05:00
Erik Jan de Wit
bfa0c6e1ea
Advanced tab (#373)
* initial version of the advanced tab

* added registered nodes

* added fine grain open id connect configuration

* added open id connect compatibility section

* added advanced section

* added backend

* fixed type

* renamed 'advanced' to advancedtab

to prevent strange add of '/index.js' by snowpack

* fixed storybook stories

* change '_' to '-' because '_' is also used

* fix spacing buttons

* stop passing the form

* cypress test for advanced tab

* more tests

* saml section

* changed to use NumberInput

* added authetnication flow override

* fixed merge error

* updated text and added link to settings tab

* fixed test

* added filter on flows and better reset

* added now mandetory error handler

* added sorting

* Revert "changed to use NumberInput"

This reverts commit 7829f2656ae8fc8ed4a4a6b1c4b1961241a09d8e.

* allow users to put empty string as value

* already on detail page after save

* fixed merge error
2021-02-28 15:02:31 -05:00
Eugenia
da2fa32a69
Realm roles: adds "Inherited From" column to Associated Roles tab (#391)
* WIP  modal

* modal WIP

add modal

place modal in separate file

format

wip implementation

getCompositeRoles with Jeff

add associated roles tab WIP

addComposites function WIP

fix post call

additional roles fetch

big rebase

WIP refresh

resolve conflicts with Erik latest -> fixes role creation

cypress tests, bump react-hook-form to remove console warnings

delete add

refresh with Jeff, update cypress tests, select additional roles tab on add

make dropdownId optional

format

add additionalRolesModal to associated roles tab

add toolbar items

add toolbaritems to associated role tab, matches mock

rebase

add descriptions to alert

add badge

fix badge logic

fix URL when associate roles are deleted, format

update cypress test

format

add associated roles refresh, PR feedback from Erik

add associated roles refresh, PR feedback from Erik

lint

* add inherited roles with Jeff

* hide inherited roles

* clean up

* rebase

* clean up modal file

* remove filter dropdown

* remove log stmts

* fix types error with Erik

* format after rebase

* fix lint

* fix cypress test

* PR feedback from Erik

* PR feedback from Erik

* remove comment

* remove client hook

* remove unused declaration
2021-02-25 10:10:28 +01:00
Erik Jan de Wit
7924080847
added missing confirm dialog (#395) 2021-02-24 08:59:12 +01:00
Eugenia
e370859690
Modal with clients (#380)
* WIP  modal

* modal WIP

add modal

place modal in separate file

format

wip implementation

getCompositeRoles with Jeff

add associated roles tab WIP

addComposites function WIP

fix post call

additional roles fetch

big rebase

WIP refresh

resolve conflicts with Erik latest -> fixes role creation

cypress tests, bump react-hook-form to remove console warnings

delete add

refresh with Jeff, update cypress tests, select additional roles tab on add

make dropdownId optional

format

add additionalRolesModal to associated roles tab

add toolbar items

add toolbaritems to associated role tab, matches mock

rebase

add descriptions to alert

add badge

fix badge logic

fix URL when associate roles are deleted, format

update cypress test

format

add associated roles refresh, PR feedback from Erik

add associated roles refresh, PR feedback from Erik

lint

WIP modal with client roles

add clients to modal

WIP label

labels WIP

promises wip

wip

add clients to modal with labels

modal with Clients

format

* rebase

* fix check types

* PR feedback from Erik
2021-02-23 08:36:37 -05:00
Erik Jan de Wit
39ef50bb1b remove seperate test project, intgrate cypress 2021-02-19 09:07:40 +01:00