Commit graph

165 commits

Author SHA1 Message Date
Erik Jan de Wit
6102770fbf
can not set state in render (#483) 2021-03-31 15:07:04 -04: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
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
Eugenia
6ea4f88b5b
roles(associated roles+attributes): address UX feedback (#451)
* alphabetize and sort roles

* change delete to remove

* make col widths stationary

* remove duplicate identifier

* fix lint

* update attributes to match new design

* (-) button working

* remove log

* format

* add attribute wip

* fix attributes revert

* enable add button

* disable attributes button when last field empty

* add init field on role creation

* remove log stmts
2021-03-29 07:35:13 -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
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
6c399c1484
fixed group navigation (#452) 2021-03-19 14:37:21 -04: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
Erik Jan de Wit
21c0cfcdad
changed time select order + added success message (#447)
* changed time select order + added success message

fixes: #445

* show time instead of the nice from now

* made "Remaining count" wrappable
2021-03-18 09:07:26 +01:00
Erik Jan de Wit
3b1d89fedb
partially solves issue #422 (#442)
* partially solves issue #422

* fixed section

* added not before now set / clear alerts
2021-03-17 14:40:19 +01:00
Erik Jan de Wit
7d4adc683f
added search empty state (#435) 2021-03-16 13:42:05 +01: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
Erik Jan de Wit
ab857938cd
use === instead of == and unused imports (#431) 2021-03-12 07:42:54 +01:00
Erik Jan de Wit
7bf85196e3
Fixed issue using import (#393)
* add icons change description to use TextArea

* add missing saml config

* switch based on protocol

* add capabilty config to import

* fixed key element warning

* fixed merge error

* don't clear on file drag event

* don't allow editing of json

* prettier

* fix tests

* missing timeout
2021-03-09 08:59:41 -05:00
Erik Jan de Wit
4ba5fcc723
put loading spinner inside table as proposed by PF (#418) 2021-03-09 07:34:39 +01:00
Erik Jan de Wit
949a0e198b added delete and cypress test 2021-03-05 14:47:59 +01:00
Erik Jan de Wit
5a8762b3fa fixed merge error 2021-03-05 11:51:20 +01:00
Erik Jan de Wit
3f4e32dc5a fixed routing 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
b4a73f86c1 added initial access token tab 2021-03-05 11:34:22 +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
cc2a3d2ee5 update snapshot 2021-03-04 13:55:36 -05:00
jenny-s51
a534cfc351 update cypress test to work on empty state and search page 2021-03-04 13:49:05 -05:00
Erik Jan de Wit
02ec114adf fixed type 2021-03-04 11:51:37 +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
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
b7d96fb3da fixed tests 2021-03-03 09:10:30 +01:00
Erik Jan de Wit
9907cef5d2 removed bookmarable sub tab
Made tab name mandetory
2021-03-03 08:34:16 +01:00
mfrances
b5f7405fce change existing ids to data-testid 2021-03-02 15:50:45 -05:00
jenny-s51
78a2c76c79 hide popover link when help enabled 2021-03-02 11:11:08 -05:00
jenny-s51
24d136eeed add links to empty state 2021-03-01 14:20:26 -05: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
1f379e70eb format 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
ca92447444
removed need of refresher (#394) 2021-02-24 08:58:50 +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
d25ba0af2b
now it can't be called without an error handler (#389) 2021-02-23 09:52:40 +01:00
Erik Jan de Wit
e4c2259563
updated to match ui design (#369)
* updated to match ui design

fixes: #323

* fixed test

* Update src/components/help-enabler/HelpHeader.tsx

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

* Update src/components/help-enabler/help-header.css

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

* fixed merge error

* changed to use "t" function

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-02-18 08:06:51 +01:00
Erik Jan de Wit
689e01b461
created better error handling (#362)
by using this react-error-boundary package this works also in hooks
2021-02-17 16:12:25 -05:00
mfrances17
473d7840c6
Merge pull request #371 from mfrances17/add-kerberos
User fed: Add Kerberos provider and tests
2021-02-17 14:22:37 -05:00
Eugenia
a5f08a9202
Realm roles: associated roles tab (#358)
* 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
2021-02-17 08:17:04 +01:00
mfrances
2f0b343661 put id higher in props 2021-02-16 15:29:06 -05:00
mfrances
8c4d6d4eb4 complete suite of kerberos cypress tests 2021-02-16 14:47:08 -05:00
mfrances
cf8451fe9d adding preliminary cypress tests 2021-02-16 14:47:08 -05:00
Erik Jan de Wit
86cf4f8501
ux review fixes (#356)
* ux review fixes

fixes: #352

* added max length to description field

* fixed types

* fixed test
2021-02-16 14:18:09 -05:00
Erik Jan de Wit
688c4a0071
use patternfly timout instead of own impl (#361) 2021-02-16 09:39:46 +01:00