Commit graph

375 commits

Author SHA1 Message Date
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
a74921b914
fix select paging issue (#1237)
fixes: #1213
2021-09-27 10:38:07 +02:00
Jenny
83d5624bf4
Identity Providers(Mappers): Edit mappers (#1140)
* rebase

dont fetch rolesbyID if mapperId

save attributes

fix cypress test

cypress test updates

fix cancel route

route fix with Erik

Apply suggestions from Jon's code review

Co-authored-by: Jon Koops <jonkoops@gmail.com>

pr feedback from jon

remove unused import

* usefindbytestid

* PR feedback from Jon

* fix tests

* fix save bug and feedback from Jon

* remove unnecessary type

* fix cypress test
2021-09-22 16:27:30 -04:00
Erik Jan de Wit
809247a686
changed to use code editor (#1161)
* changed to use code editor

* Update src/components/json-file-upload/JsonFileUpload.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fixed tests

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-22 10:54:53 +02:00
Jon Koops
62ea6c5dca
Check types using ts-jest and upgrade Jest (#1178) 2021-09-17 09:33:15 +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
Jenny
a617c4ab12
Identity Providers(Mappers): Implement "Add Mapper" Screen/Functionality for OIDC and SAML IdPs (#1118) 2021-09-13 11:17:00 +02:00
Jon Koops
b5e5677cb5
Keep realm value from RealmContext in sync with the URL (#1130) 2021-09-07 13:19:50 +02:00
Erik Jan de Wit
f87463d036
add action menu to current user (#1094)
* add action menu to delete current user

* added impersonate user to action manu

* fixed spelling
2021-09-03 09:54:23 -04:00
Stan Silvert
d35582521d
Time selector was generating duplicate id's (#1117) 2021-09-03 08:55:51 +02:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00
Jon Koops
9850505001
Use pre-release version of Admin Client (#1063) 2021-08-26 10:39:35 +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
Jon Koops
18e0a930be
Prefer Array#includes() over Array#indexOf() (#1013) 2021-08-18 11:29:42 +02:00
Erik Jan de Wit
2581da0765
change to TextInput when editing (#991)
* change to TextInput when editing
as keycloak doesn't store the password as clear text

fixes: #971

* now part of the password field
2021-08-17 08:58:07 -04: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
Jenny
412e4c1f6b
Sessions(actions dropdown): Adds actions dropdown - "revocation" and "log out all sessions" (#896)
* rebase and resolve conflicts/comments

* remove badgeid
2021-08-16 15:25:36 -04:00
Erik Jan de Wit
b5e2fb802c
fixed breadcrumb for search and seach box distance (#998)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-16 14:35:39 +02:00
Erik Jan de Wit
321b259a4b
fixed focus and min value (#999)
fixes: #405
2021-08-16 11:40:14 +02: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
9aa1cd0286
disable save when there are no changes (#975)
fixes: #679
2021-08-10 12:15:23 +02:00
Erik Jan de Wit
cc31f0853c
Initial version of the authentication section (#887)
* initial version of create authentication screen

* initial version of authentication details

* added flow details labels to view header

* not in use fix

* create execution tree

* fixed collapsable row layout

* fix drag and drop expand

* fix merge error

* move to modal

* diff and post drag and drop changes

* fixed locating the parent row

* move "live text" for d&d to common messages

* firefox fix

* initial version of the diagram

* use dagre to layout automatically

* moved to sperate file

* conditional node

* now renders subflows sequential

* changed to render sequential or parallel flows

* fixed render of sub flows

* added button edge, drawer and selectable nodes

* add requirement dropdown

* also do move so we can merge

* also do move so we can merge

* fixed merge

* added refresh

* change requirement

* fixed merge error

* now uses the new routes

* Split out routes into multiple files

* Update src/authentication/AuthenticationSection.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fixed labels

* merge fix

* make execution of these parrallel

* added some tests

* Update src/authentication/components/FlowRequirementDropdown.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* more review changes

* fixed merge error

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-09 10:47:34 +02:00
Jon Koops
cc664ce577
Place dropdown over DownloadDialog (#943) 2021-08-05 15:01:48 +02:00
Jon Koops
25376c75fd
Process UX feedback for DownloadDialog (#942) 2021-08-05 12:42:29 +02:00
Jon Koops
be0506653d
Hide details when adaptor config is download-only (#938) 2021-08-04 14:24:55 +02:00
Erik Jan de Wit
bc1e83e63a
Introduce a standard way to create handle errors (#918) 2021-07-28 14:01:42 +02:00
Jon Koops
12d2471c3b
Enable 'no-empty-function' ESlint rule (#917) 2021-07-27 22:56:16 +02:00
Jon Koops
95289ac3e5
Disable automatically generated breadcrumbs (#894) 2021-07-22 16:48:00 +02:00
Jon Koops
5286eb6d5a
Use new routing conventions for realm routes (#890) 2021-07-22 09:13:35 +02:00
Jon Koops
41a0923bad
Introduce 'useRequiredContext' utility function (#882) 2021-07-21 11:30:18 +02:00
Jon Koops
d8d230557e
Defer breadcrumbs translations on route definitions (#883) 2021-07-21 11:20:32 +02:00
Jon Koops
1d79a5d9a8
Drop Storybook from the project (#881) 2021-07-20 16:40:45 +02:00
Jenny
6d8db5d533
Realm settings: Sessions tab (#807) 2021-07-15 16:25:22 +02:00
Stan Silvert
d606dc6bee
Run as theme (#840)
* Build for Keycloak theme

* Update based on lastest index.html changes.

* Fix realm dropdown when home realm is not master.

* Fix readme.

* Fix linting errors.

* Try to fix tests.

* Address Jon's comments.
2021-07-14 11:35:49 -04:00
Jon Koops
fc85d1a005 Integrate Prettier into ESLint and fix linting issues
Other changes:
- Ensure that .tsx files are included in the linting process
2021-07-13 15:20:36 +02:00
Agnieszka Gancarczyk
74deaad0b9 added acessibility fixes 2021-07-12 15:09:14 +01:00
Agnieszka Gancarczyk
032fa57383 added accessibility fixes 2021-07-09 17:15:21 +01:00
agagancarczyk
3c16cbe5e6
Merge pull request #815 from keycloak/revert-813-ay11
Revert "Ay11"
2021-07-09 16:11:50 +01:00
Erik Jan de Wit
dfda67146c
Added Security Defenses tab in the realm settings (#738)
* initial version of the Security defenses tab

* disable when not dirty

* added test

* removed unsessary fetches

* fixed format

* fixed tests

* fixed title

* Update src/realm-settings/security-defences/BruteForceDetection.tsx

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

* Update src/realm-settings/messages.json

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

* fixed test

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-07-09 10:23:49 -04:00
agagancarczyk
4133a432de
Revert "Ay11" 2021-07-09 14:42:45 +01:00
Agnieszka Gancarczyk
812d626541 Added accessability fixes 2021-07-08 18:14:04 +01:00
Jon Koops
ad7b77503a Convert ConfirmDialog test to use React Testing Library 2021-07-07 14:49:49 +02:00
Jon Koops
ffe9f74294 Convert FormAccess test to use React Testing Library 2021-07-07 14:49:39 +02:00
Jon Koops
dd15b13a4c Convert DataLoader test to use React Testing Library 2021-07-07 14:48:58 +02:00
Jon Koops
18e96fda16 Drop snapshot tests in Jest 2021-07-07 10:57:35 +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
Jon Koops
64d5a498a6 Update Prettier to latest version and fix formatting 2021-07-05 15:26:07 +02:00
mfrances17
5c3c1bbb46
Update to Patternfly 4.115.2 (latest release) (#737)
* update to latest PF

* fix tests
2021-07-02 07:45:08 -04: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
125fd1fe3d
Merge pull request #696 from jenny-s51/testEmailConnection
Test email connection
2021-06-22 16:17:31 -04: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
fb8419f3e1 added help item on enable switch 2021-06-22 10:32:04 +02:00
Erik Jan de Wit
4e45bc2a35 add unassign kebab on row 2021-06-22 07:52:13 +02:00
jenny-s51
fd1466c0d6 test email working, modal wip
email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait
2021-06-21 14:47:34 -04:00
Erik Jan de Wit
a964abed8d
fixing issue (#709)
* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation
2021-06-21 13:55:51 -04:00
Jenny
5e6c6b0775
Default roles: UI Changes from KEYCLOAK-14846 (#693)
* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs
2021-06-18 16:04:20 -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
3b231a2a91 fixed size 2021-06-15 14:39:03 +02:00
Erik Jan de Wit
2765af69c5 more style fixes 2021-06-15 13:12:32 +02:00
Erik Jan de Wit
e68d4ff5c8 inherited roles disabled instead of non selectable 2021-06-15 08:14:38 +02:00
mfrances
7edc76a079 role mapping working 2021-06-10 10:03:46 -04: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
mfrances
da45bf0e09 hardcoded version working 2021-06-10 10:03:46 -04:00
Erik Jan de Wit
be94f1f9f0
fixing issue 629 (#655)
* address some of the issues in 629

* made breadcrumb/page title same as other sections

* fixed tests
2021-06-10 09:25:02 -04:00
Erik Jan de Wit
f322edec10
fixing issue comment: (#656)
https://github.com/keycloak/keycloak-admin-ui/issues/396#issuecomment-846901717
2021-06-08 09:13:04 -04:00
Erik Jan de Wit
707380c228
fixes issue around importing files (#643)
* fixes issue around importing files

fixes: #628

* fixed tests

* fixed moving cursor to end of text area

did have to remove the dirty check because of this
2021-06-08 13:49:59 +02: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
29323cb12c
fixing the remainder of issue 428 (#621)
* fixing the remainder of issue 428

fixing: #428

* fix undefined

* add leave dialog
2021-05-24 06:21:49 +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
mfrances17
394c5fd81b
Merge pull request #617 from mfrances17/patternfly-4.103.6
Update to Patternfly 4.103.6 (latest release)
2021-05-21 08:40:27 -04:00
mfrances17
0c6e1620fd
Merge pull request #585 from jenny-s51/rsKeyProviders
Realm settings(keys): add providers sub-tab
2021-05-20 11:44:48 -04:00
mfrances
50b15c83a9 update lock file and tests after rebase 2021-05-20 11:31:54 -04:00
Erik Jan de Wit
561605cc63
filter recent used realms as well as others (#580)
* filter recent used realms as well as others

fixing: #577

* use memo instead of direved state
2021-05-19 14:35:11 +02: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
f064218251 fixed test 2021-05-18 14:35:11 +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
c5ff588791
add OIDC provider to the idp section (#553)
* initial version of oidc

* fixed fetch and added missing fields

* fixed file upload

* added scopse

* added details

* added disable action and save

* updated to use new design based on discovery response

* new design

* set default value

* added tests

* fixed tests

* fixed labels

* changed direction to up
2021-05-06 14:59:00 -04:00
Erik Jan de Wit
c2b78c471b
added keys tab to client details (#557) 2021-05-04 10:11:58 +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
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
9e4d1d34ee
add option to add borders on scroll panel (#551) 2021-04-28 07:50:17 +02: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
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
Erik Jan de Wit
3332bd1a01
added unwrap so that HelpItem can be on a button (#540)
fixing: #539
2021-04-20 10:06:20 +02:00
Eugenia
ba4e576a2d
Realm settings(login): adds login tab and tests (#531)
* realm settings tabs wip

* realm settings wip

* switches

* updates to login tab watch

* remove controller and call save in onChange

* add cypress tests

* remove log stmt

* fix lint

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

* Update src/realm-settings/LoginTab.tsx

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

* Remove form

* format

* lint

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-04-19 13:41:07 +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
Stan Silvert
3deea60a87
Begin implementation of Partial Import modal. (#515)
* Begin implementation of Partial Import modal.

* Fix linting errors

* Remove console.log
2021-04-14 10:17:41 -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
eb9092116d
added recently used realms to the top (#502)
* added recently used realms to the top

fixing: #396

* fixed add realm button

* moved setting recent to setRealm
cleanup to where realm list is updated
2021-04-08 15:20:35 -04:00
Erik Jan de Wit
408caf6d0f
fixed uxd review issues (#478)
fixing: #464
2021-04-07 13:55:50 -04: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
Erik Jan de Wit
4d52871fc2
fixed issues described in #468 (#479)
* fixed issues described in #468

fixing: #468

* fixed type

* fixed column size and order
2021-04-06 09:29:11 +02: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
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
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
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