Commit graph

436 commits

Author SHA1 Message Date
Erik Jan de Wit
b01088fb90 fixed spelling 2021-03-08 09:17:35 +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
ff1fbccfdc fixed types 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
e87cfb6a1c format section 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
957e08cf1c added empty state to list 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
3fe5d8383a added save dialog 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
3399b16c7e initial list 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
mfrances
9dce57417c enable save only on dirty 2021-03-04 11:06:22 -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
Erik Jan de Wit
02ec114adf fixed type 2021-03-04 11:51:37 +01: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
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
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
79a97a0755 add min values 2021-03-02 15:50:45 -05:00
mfrances
0ee4f7ea8e cypress tests working 2021-03-02 15:50:45 -05:00
mfrances
84d8df2b05 regex and number fields to provide simple client side validation 2021-03-02 15:50:45 -05:00
mfrances
489ed64049 fix 404 issue on new 2021-03-02 15:50:45 -05:00
mfrances
733d5f4b6f ldap saves 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
jenny-s51
78a2c76c79 hide popover link when help enabled 2021-03-02 11:11:08 -05:00
jenny-s51
74638f9eb3 revert changes to RealmRolesSection 2021-03-02 10:29:04 -05:00
jenny-s51
c5cfd9cd7a cleaning up 2021-03-02 10:28:03 -05:00
jenny-s51
f763fa85fb paginate users table 2021-03-02 10:27:33 -05:00
Erik Jan de Wit
5d5160bddc added space between buttons 2021-03-02 08:39:17 +01:00
Erik Jan de Wit
72907d2583
remain active on child pages of main section (#403)
fixing: #402
2021-03-01 16:12:57 -05:00
jenny-s51
e672ed42ee fix lint 2021-03-01 14:20:45 -05:00
jenny-s51
24d136eeed add links to empty state 2021-03-01 14:20:26 -05:00
jenny-s51
5c78afef50 remove useEffect 2021-03-01 14:09:55 -05:00
jenny-s51
47acb3764f clean css 2021-03-01 12:22:01 -05:00
jenny-s51
65348bd125 add popover 2021-03-01 12:20:58 -05:00
jenny-s51
fdf3e7e78a fix lint 2021-03-01 10:55:54 -05:00
jenny-s51
f1224a5ef0 rebase and use new empty state logic 2021-03-01 10:30:16 -05:00
jenny-s51
993e75b14f refactor tests to use data-testid 2021-03-01 10:27:24 -05:00
jenny-s51
5c317ba477 remove ID col 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
jenny-s51
8ead0d0fff read-only users in role tab 2021-03-01 10:27:24 -05:00
jenny-s51
88711202ef users tab WIP 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
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
a83ae98175
Fix some issues on client detail page (#388)
* adding missing fields

fixes: #377

* fixed redirects from cancel and save button

fixes: #386

* fixed filter
2021-02-23 09:55:24 +01: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
Eugenia
93d5d21894
Realm roles: fix pagination by 10 (#367)
* fix pagination by 10

* fix types

* format

* format

* PR feedback from Erik
2021-02-18 07:38:23 +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
Erik Jan de Wit
3a3bce0955
fixed search text (#366)
fixes: #363
2021-02-17 15:34:35 -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
mfrances17
bc5de3dcb4
Merge pull request #368 from mfrances17/patternfly-4.87.1
Update to latest Patternfly releases
2021-02-17 13:31:57 -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
757288ded9 update test snap 2021-02-16 15:52:45 -05:00
mfrances
2f0b343661 put id higher in props 2021-02-16 15:29:06 -05:00
mfrances
8345f5cb3d fix broken test 2021-02-16 14:47:08 -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
mfrances
1a78540c8f kerberos save logic 2021-02-16 14:47:08 -05:00
mfrances
70f1629be0 small update - id is an issue 2021-02-16 14:47:08 -05:00
mfrances
6c63a8d4dc preliminary work 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
Erik Jan de Wit
6e69bd006d
fixing round errors in paginating (#365)
fixes: #364
2021-02-16 09:39:26 +01:00
mfrances
f3d2d17051 update to PF 4.87.1 2021-02-15 15:07:41 -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
mfrances17
afaa08fbc6
Kerberos and LDAP settings: Change hour and minute format to match old admin console UI (#353)
* change hour minute fmt to match old ui

* rm required max lifespan

* fix day of week default value

* create one shared cache settings component

* fix eslint and tests

* rm obsolete separate cache components

* try fixed snap
2021-02-11 15:51:51 -05:00
Erik Jan de Wit
3430642003
multiple ux issues around realms (#330)
* multiple ux issues around realms

fixes: #324

* changed to same size as scroll spy form width

* fixed test

* fixed realm info link

* fixes console errors

* fixed key

* fixed type

* fixed test introduced cleanup function
2021-02-09 07:32:41 -05:00
Erik Jan de Wit
4edcf233f3
now validates if gui order is a number (#338) 2021-02-09 10:35:38 +01:00
mfrances17
32a3ff150b
Add enable switch and action menu to LDAP settings (#349)
* add messages from sarah

* enable and delete working

* localize strings

* changes from PR

* enable now saves
2021-02-08 15:50:03 -05:00
Erik Jan de Wit
8590b9cafa
toggle help on kebab click (#339)
* toggle help on kebab click

fixes: #305

* changed realm info to server info and fixed mobile layout

* added on off indication

* changed to use single key for enabled and disabled
2021-02-08 15:35:38 -05:00
mfrances17
4137394964
Issue 327: Fix for showing/hiding password text in Bind credentials field (#350)
* show-hide password text

* show pw icon indicator
2021-02-04 16:43:00 -05:00
Eugenia
db71fad81f
Realm Roles: associated roles modal functionality (#351)
* 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

* delete refresh from associatedrolestab

* fix key and localize

* gets rid of console warnings from watch

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

* update snapshot

* fix delete confirm role name

* delete add

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

* make dropdownId optional

* format

* remove log stmt
2021-02-04 15:50:13 -05:00
Erik Jan de Wit
45a6f9923d
sort the role list alfabaticlly (#346) 2021-01-31 13:07:06 -05:00
Erik Jan de Wit
64f622139c
partially fixes 341 (#342)
point 3 and 4 of #341 are fixed and capitalised the product name
2021-01-31 12:58:16 -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
acf77df64c
fixes refresh issue (#343)
* fixes refresh issue
2021-01-29 11:33:18 +01:00
jenny-s51
d9e918a4e0 use watch on initial form field 2021-01-28 14:24:51 -05:00
jenny-s51
c1305e1e16 remove log stmts 2021-01-28 14:24:51 -05:00
jenny-s51
0bdb3b4a31 rebase and fix reload 2021-01-28 14:24:51 -05:00
jenny-s51
a7fd36369e WIP role attributes
fix storybook demos

add attributes tab to realm roles section

use TableComposable

fix formatting

css updates

fix up styling of role attributes table

fix check-types erros

logic from call with Jeff

clean up, format, make eslint proud

delete roledetails

call with Erik

add delete function and css changes

fix storybook demos and format

make key input disabled once new attribute is created

minus icon gray

address PR feedback from Sarah

set add and save buttons to disabled when new input field is  empty

fix save/add

fix onChange formState

rebase with resolved conflicts

fix paths and use error msg from response

WIP readOnly

try setting readonly

add defaultState prop

use keycloak tabs

default values WIP

reload WIP

cleanup function

add shouldUnregister

fix for adding empty line on form load

removed debug

small fix for `isValid`

role attributes tab

format
2021-01-28 14:20:23 -05:00
jenny-s51
c2b94c1ed2 add role attributes, WIP 2021-01-28 14:19:32 -05:00
mfrances17
f406018903
Merge pull request #316 from jenny-s51/associated-roles-modal
realm roles: associated roles modal (roles list)
2021-01-28 13:18:59 -05:00
jenny-s51
85d1d0fc93 PR feedback from Mark 2021-01-28 12:52:49 -05:00
jenny-s51
5ef75a817a format after rebase 2021-01-28 12:52:49 -05:00
Eugenia
5064690ae8 remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-01-28 12:52:49 -05:00
jenny-s51
162146c371 WIP modal 2021-01-28 12:51:47 -05:00
jenny-s51
6c8e580e47 PR feedback from Mark 2021-01-28 12:50:42 -05:00
jenny-s51
1047326eeb fix confirmDialog jest test 2021-01-28 12:50:42 -05:00
jenny-s51
6c9eaf5342 fix cypress test 2021-01-28 12:50:42 -05:00
jenny-s51
c3c9625f6b format after rebase 2021-01-28 12:50:42 -05:00
Eugenia
ec6af8b9ae remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-01-28 12:50:42 -05:00
jenny-s51
578b853fd5 format 2021-01-28 12:50:42 -05:00
jenny-s51
50db2c73d7 WIP modal 2021-01-28 12:50:42 -05:00
mfrances
ca79f3da29 navigate to card view after delete 2021-01-27 17:11:00 -05:00
mfrances
ad7be3a62e enable and delete working 2021-01-27 17:11:00 -05:00
mfrances
35ca42f267 preliminary UI for enable and actions 2021-01-27 17:11:00 -05:00
mfrances
5081a9602d fix tests 2021-01-26 15:54:29 -05:00
Erik Jan de Wit
b9de247569
initial version of authentication section (#309)
* initial version of authentication section

* remove dialog for now should go to detail page

* added link and buildin label to first column

* added key attributes

* removed setTimeout workaround

* only delete when not in use

* Update src/authentication/messages.json

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

* Update src/authentication/messages.json

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

* refresh table on duplicate

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2021-01-26 14:39:01 -05:00
mfrances17
5633101f42
Add Save/Cancel buttons and logic to LDAP settings (#311)
* add save cancel and move all form logic to parent

* rm obsolete convert days function

* save working all fields

* fix save on two fields and rm console msgs

* add basic validation to empty fields

* fix default value issues in cache

* fix two fields default values

* dropdown text and help fixes

* add empty option for edit mode
2021-01-25 20:41:14 -05:00
mfrances17
0dc3f08917
Add Save/Cancel buttons and logic to Kerberos settings (#307)
* initial save cancel logic

* cleanup work after merge

* move form logic up to parent

* save working

* update messages

* no longer need to pass in save from children

* pass form into wizard to fix build errors

* fix lint fmt issue

* add simple field validation and error prevention

* localize validation strings

* fix default value issues

* localize default value
2021-01-22 15:15:32 -05:00
Stan Silvert
f2e26b0049
Cypress tests for masthead. (#304)
* Cypress tests for masthead.

* Update snapshot

* Update Keycloak version.

* Fix download address

* Update start.js

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Follow redirect when downloading keycloak.

* Refactor HeaderPage into Masthead and ModalUtils

* Minor change to kick off build.

* logOutTest no longer needs a param

* goToAcctMgtTest no longer needs a param

* Update tests/cypress/support/pages/admin_console/Masthead.js

Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>

* Update tests/cypress/support/pages/admin_console/Masthead.js

Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>

* Fix userDropdown() method

* Minor refactor

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
2021-01-21 07:09:50 -05:00
Erik Jan de Wit
9ea2470aeb
fixed excedently removed columns (#310) 2021-01-20 07:53:36 +01:00
Eugenia
8f971ffca0
Realm Roles: Implements Reload Function (#308)
* refresh

* add hook

* reload WIP

* pass down defaultValues

* log stmt

* reload working on details form

* call with Erik

* format

* format

* lint

* fix reload after save
2021-01-19 14:30:52 -05:00
Erik Jan de Wit
eff8144a0a
override aria labels invalidly genrated by PF (#295) 2021-01-19 07:21:17 -05:00
mfrances17
ccb731338e
Merge pull request #301 from srambach/user-fed-mappers-text
Add text for user federation user attribute mapper
2021-01-18 10:19:00 -05:00
Erik Jan de Wit
324d9ff061
initial version dashboard section (#283)
* initial version dashboard section

* changed to new design

* changed text to "realm info"
2021-01-14 20:44:16 -05:00
Sarah Rambacher
c1d13650df fixes typos and some grammar 2021-01-14 10:56:03 -05:00
Erik Jan de Wit
9548038631
added links to marvel for work in progress parts (#297) 2021-01-13 15:59:49 -05:00
Sarah Rambacher
c567fdca93 deduplicates some common text strings 2021-01-13 15:48:16 -05:00
Erik Jan de Wit
0d9b4ff054
created bookmarkable tabs component (#296) 2021-01-13 15:47:40 -05:00
Erik Jan de Wit
45cda0a969
initial version realm settings section (#281)
* initial version realm settings section

* simpified save

* fixed reload

* fixed merge error
2021-01-13 14:59:45 -05:00
Sarah Rambacher
f36711fa2f adds user fed mappers text 2021-01-13 14:28:53 -05:00
Erik Jan de Wit
ce0ce6d59e
Sub group navigation in groups section (#274)
* list sub group of a group using the id

* introduced group bread crumb component to render

this builds up the groups as you click to subgroups

* added deeplinking

* fixed route config types

* fixed new realm prefix

* added null checks for if group not found

* changed labes to groups
2021-01-12 09:00:44 -05:00
Erik Jan de Wit
bbfccea940
Evaluate tab clients client-scopes (#263)
* created scope picker

* added user select

* added evaluate function

* added the tabs

* added generated token

* added useFetch

* fixed formating after merge

* fixed the tabs layout

Co-authored-by: srambach

* added space between tabs and content

* added help into text
2021-01-12 08:16:35 -05:00
Erik Jan de Wit
dba53a01b3
update who am i on realm create as we need the accessTypes (#276)
* whoAmI has the realm access information
so when a new realm is created the whoAmI request has to be done again

* fixed "add realm" button

* remove debug

* refactor

* also force token update

* refresh realm list on realm change
2021-01-12 07:39:37 -05:00
Erik Jan de Wit
be2268df2f
only add isDisabled when needed otherwise (#289)
as before it would override an existing isDisabled
2021-01-11 19:43:32 -05:00
mfrances17
853fd2c220
Merge pull request #275 from srambach/user-fed-wizard
User fed wizard
2021-01-11 16:50:39 -05:00
jenny-s51
74a5bfb7cc prettier 2021-01-11 16:28:15 -05:00
jenny-s51
453d37f815 fix formaccess role 2021-01-11 16:27:13 -05:00
jenny-s51
960e43a7d9 rebase and resolve conflicts 2021-01-11 16:22:58 -05:00
jenny-s51
8ef7bd7ddb WIP role attributes
fix storybook demos

add attributes tab to realm roles section

use TableComposable

fix formatting

css updates

fix up styling of role attributes table

fix check-types erros

logic from call with Jeff

clean up, format, make eslint proud

delete roledetails

call with Erik

add delete function and css changes

fix storybook demos and format

make key input disabled once new attribute is created

minus icon gray

address PR feedback from Sarah

set add and save buttons to disabled when new input field is  empty

fix save/add

fix onChange formState

rebase with resolved conflicts

fix formatting

remove !important

Update RealmRolesSection.css

Update src/realm-roles/RoleAttributes.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

address PR feedback from Sarah and Erik

fix paths and use error msg from response

remove log stmt

fix lint

remove minLength
2021-01-11 16:19:22 -05:00
jenny-s51
5d7d2b5636 add role attributes, WIP 2021-01-11 16:15:12 -05:00
Sarah Rambacher
dc08e13833 remove unused helpText 2021-01-11 16:07:42 -05:00
Sarah Rambacher
c3a11434c4 remove modal header on wizard 2021-01-11 16:07:42 -05:00
Sarah Rambacher
ac65df58b8 fix spacing of wizard section header 2021-01-11 16:07:42 -05:00
Sarah Rambacher
7cea09ef8a rebase on user federation wizard screens (storybook) 2021-01-11 16:07:30 -05:00
Sarah Rambacher
006356d9e3 adds wizard buttons 2021-01-11 16:04:56 -05:00
Sarah Rambacher
cc2dd3e512 adds user federation kerberos wizard 2021-01-11 16:04:56 -05:00
Erik Jan de Wit
84ad3853a8
move common cell formatters to util functions (#278)
* move common cell formatters to util functions

* renamed ExternalLink FormattedLink
2021-01-11 14:29:52 -05:00
Erik Jan de Wit
feca61d2b0
renamed useFetch to asyncStateFetch (#277)
* renamed `useFetch` to `asyncStateFetch`

otherwise React will mistake it for a react hook and will complain.

* added jsdoc

* fixed the user red stories

* renamed
2021-01-11 13:56:19 -05:00
Erik Jan de Wit
1763ee1a50
added delete client scope functionality (#272)
* added delete client scope functionality

* use error message from the response
2021-01-07 13:34:59 -05:00
Erik Jan de Wit
e6fa093925
small refactor to set realm from path (#282) 2021-01-07 09:56:14 -05:00
Erik Jan de Wit
db4f7851fb
refresh and message on group delete (#270)
fixing: #129
2021-01-05 14:56:16 -05:00
Erik Jan de Wit
c1282b2973
onEnter should not post the form (#269)
* onEnter should not post the form

fixing: #257

* added focus to input field

* fixed button
2021-01-05 14:53:01 -05:00
Erik Jan de Wit
b14027ccb7
Use realm name in urls (#265)
* remove circular dependency on realm context

* added realm as a param of the url

* updated links to include realm

* null !== undefined

* set realm if realm in url

* fixed breadcrumb type

* fixed tests

* addressed pr review comments
2021-01-05 14:49:33 -05:00