Commit graph

46 commits

Author SHA1 Message Date
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
mfrances
5081a9602d fix tests 2021-01-26 15:54:29 -05:00
Erik Jan de Wit
9ea2470aeb
fixed excedently removed columns (#310) 2021-01-20 07:53:36 +01: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
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
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
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
Erik Jan de Wit
27d9dadee7
only update state when component is mounted (#266)
* only update state when component is mounted

* removed unused import

* `useFetch` function to update state when mounted
2021-01-05 08:39:27 -05:00
Erik Jan de Wit
6ae437c86a
Updated DataTable to be capable of select (#251)
* removed unused models

* added selectable to `DataList`

* changed groups to use new `DataList`

* fixed filter for JSX.Elements columns

* better refresh
2020-12-14 09:57:05 +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
mfrances17
ff43970e9a
User Federation: populate Kerberos required and cache settings data (#243)
* pull in kerberos data

* fix build fails and cleanup msgs

* fix 2x build errs

* fix broken test

* fix route, bcrumb, and card click

* lint fixes

* final changes from PR review

* add old breadcrumb functionality back

* fix breadcrumb test

* lint fix
2020-12-08 07:30:53 +01:00
Erik Jan de Wit
41062f88f4
Introduced generic DataList component that can handle all Lists. (#241)
* initial version of a data list

* introduced paginate property

* added search key

* added types and actions

* added renderer to customize rendering of one cell

* changed `ClientList` to new `DataList`

* replaced client scope list with `DataList`

* added empty state

* Replaced RoleList with `DataList`

* switched to lodash cloneDeep

* fix merge error
2020-12-07 14:23:18 -05:00
Stan Silvert
2be549a60e
Use new patternfly jumplinks. (#246)
* Use new patternfly jumplinks.

* Update snapshots
2020-12-07 07:51:38 -05:00
Erik Jan de Wit
49ef2bd665
Add role mapping into the flow and filter the clients that don't have roles (#222)
* addd role mapping into the flow

* added filter for clients that don't have roles

* fixed types
2020-11-17 16:39:28 -05:00
Erik Jan de Wit
ba761c0526
added by configuration dialog into the flow (#221)
* updated the detail screen to support new mapping

* fix merge error

* added by configuration dialog
2020-11-17 16:28:34 -05:00
Erik Jan de Wit
8e33519df1
fixed x and empty select on dialog (#220)
* fixed x and empty select on dialog

fixes: #210

* make button disabled when nothing is selected
2020-11-17 15:56:23 -05:00
Erik Jan de Wit
dcb18c5488
Use keycloak-admin with axios instead of fetch wrapper (#212)
* changed to use the admin client

* added helper to always set realm

* fixed merge

* no need to polyfill anymore

* updated to use keycloak-admin-client

* updated to release version

* fixed types

* added user federation

* update test

* lint
2020-11-12 07:55:52 -05:00
Erik Jan de Wit
c781d86026
added validated property to fields instead of only on FormGroup (#205)
* added validated to fields to make them nicer

* removed console log
2020-11-09 14:49:32 -05:00
Erik Jan de Wit
54550fa2f5
fixed issue with Checkbox and small refactor (#204) 2020-11-09 14:23:58 -05:00
Erik Jan de Wit
d6e1161c83
hooked up the build in mapper dialog (#197)
* hooked up the build in mapper dialog

* spelling

* useEffect for setTimout

* fix state

* fix bug with alerts clearing checked items

* fixed tests

* Update src/client-scopes/messages.json

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

* simplified dialog usage

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-11-05 16:26:43 -05:00
Erik Jan de Wit
7ebe695921
removed "Home" from navigation (#209)
* only show breadcrumb when there are 2 levels
* renamed the list clients and client scopes
2020-11-05 15:40:00 +01:00
Erik Jan de Wit
fb21266695
add small top margin on the form (#202) 2020-11-02 15:31:00 -05:00
Erik Jan de Wit
2766f8b14b
removed placeholder value (#201)
fixing: #200
2020-10-30 14:44:48 -04:00
Erik Jan de Wit
aea12169f4
initial version of the role mapping create form (#177)
* initial version of the role mapping create form

[marvel](https://marvelapp.com/prototype/f0e8fih/screen/72042619)

* fixed format

* changed to typeahead

* format

* group by

* review fixes

* added group and divider

* change name to realm name
2020-10-27 07:25:54 -04:00
Erik Jan de Wit
4195e0fbf3
Adding Mapping list and detail screen (#180)
* added client scope details screen

* initial version of the mapping list

* added tabs

* changed route create

* merge

* added detail mapper page

* fixed merge errors

* fix merge error

* dynamic title

* added access types to routs
2020-10-21 13:38:11 -04:00
Erik Jan de Wit
a9dc031fff
Introduced a predefined mapper dialog (#169)
* added optional dialog variant

* added predefined scope dialog

* added mapper dialog for predefined and custom

* format

* changed to use dataList instead of table

* fixed test
2020-10-21 08:18:41 -04:00
Erik Jan de Wit
34723a0ebf
moved workaround for dots in form names to util (#182) 2020-10-20 16:47:23 -04:00
Erik Jan de Wit
6514c5e410
changed path (#181)
fixes: #178
2020-10-20 16:45:40 -04:00
Erik Jan de Wit
be2d5d1249
added client scope details screen (#159)
* added client scope details screen

* fixed:
* added includeInTokenScope field
* removed not editable type field

* changed to display order
2020-10-15 13:09:32 -04:00
Erik Jan de Wit
4fa325f45c
initial version of the mapping list (#162)
* initial version of the mapping list

* added story to show mapper list

* fixed format

* changed to use intermediate type
2020-10-12 13:59:15 -04:00
Erik Jan de Wit
b49d07e18c
fixed create client scope header (#155) 2020-10-09 14:19:14 -04:00
Sarah Rambacher
0aa63ddfbb
Field level help (#152)
* refactors form field help

* format and test

* add interpolation of help text

* implement HelpItem and move help text

* update DownloadDialog with new HelpItem

* remove commented out code
2020-10-09 08:48:50 +02:00
Erik Jan de Wit
f44dad9e25
introduced server info context (#138)
* introduced server info context

* move to context folder

* moved model to context
2020-10-08 07:38:25 -04:00
Erik Jan de Wit
8e2000283c
Some pages don't support pagination (#134)
* introduced non paginating toolbar

* use patternfly util class instead of inline css
2020-10-07 11:47:03 -04:00
Erik Jan de Wit
587ae5ce81
changed alerts to have a provider (#137)
fixes: #132
2020-10-06 15:25:05 -04:00
Erik Jan de Wit
410c553ac0
added function to refresh the dataloader data (#143) 2020-10-06 07:56:06 -04:00
Stan Silvert
bfe6e2c236
Move contexts under a single directory. (#145) 2020-10-06 10:25:38 +02:00
Erik Jan de Wit
ed25dbc5a0
Added client setttings header with actions (#125)
* added client settings header

* added confirmation dailog

* format

* pr review

* use placeholder text instead of property

* change title to use clientId instead

* added state for dynamic name
2020-10-02 15:56:46 +02:00
Sarah Rambacher
457729ba75
fixes vertical alignment of forms with switches (#122) 2020-09-29 08:34:27 +02:00
Erik Jan de Wit
e7b108a623
Initial version client scopes (#111)
* initial version client scopes

* remove use of newer replaceAll

* review
2020-09-25 13:11:25 -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