Commit graph

74 commits

Author SHA1 Message Date
Sarah Rambacher
7592621d77
223-fix-user-fed-card-wrapping (#226) 2020-11-18 16:06:56 +01: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
mfrances17
bd2c8d8f86
Fix disabled label for user fed card view (#218)
* fixes three issues

* lint issues
2020-11-16 14:09:39 -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
mfrances17
42bb5cfe3f
User Federation card view implementation (#208)
* initial html css changes

* additional look and feel

* merge empty state changes

* fix dup key

* pull in real data

* real data and empty

* fix bad paren

* add delete functionality

* rm debug msg

* fix rediculous prettier trailing commas

* changes from PR

* css changes from PR

* use good userfed info link

* use consistent state names

* fix msg merge issue

* update and use ViewHeader

* fix broken tests

* add and use generic card component

* additional empty state behavior

* delete confirm modal
2020-11-10 15:26:20 -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
2393b40c9b
Added the credentials tab (#196)
* initial version credentials tab

* added signed jwt

* submit token endpoint  signing alg

* added x509

* show tab when public client

* fixed test default confimnation dailog size is small

* pr review comments
2020-11-02 15:15:09 -05:00
Stan Silvert
78529f979f
Cleanup create realm. (#199) 2020-10-29 14:56:52 -04:00
Erik Jan de Wit
52afed2b64
only update snippet when component is mounted (#191)
* only update snippet when component is mounted

fixing: #190

* removed debug console.log
2020-10-29 13:02:06 -04:00
Erik Jan de Wit
2543893373
Change the input fields based on access rights (#184)
* poc of possible way to change form dynamically

* fixed detail routs

* Update src/components/form-access/FormAccess.tsx

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

* Update src/components/form-access/FormAccess.tsx

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

* Update src/components/form-access/FormAccess.tsx

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

* added more form access and logic for Controller

* render switches for boolean types

* better render of `<Controller` wrapped components

* added isDisabled property

* added test

* small refactor

* fixed types

* TextArea doesn't support isDisabled

* when field is disabled, disable button as well

* added jsdoc

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-10-28 14:17:15 -04:00
Stan Silvert
45b878e2e6
Allow login to different realms using query param (#188) 2020-10-26 09:00:05 +01: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
Sarah Rambacher
b5aa560dcc
Change list view header action menu from select to dropdown (#179)
* change select to dropdown in viewheader

* make the action happen

* remove comment
2020-10-19 09:44:22 -04:00
Christie Molloy
35584207c8
Add empty state (#147)
* add empty states

* add two empty states

* updates to empty state

* update PR

* fix merge conflict

* fix formatting and add prettier

* updated test

* review comments

* update snapshot
2020-10-14 15:48:36 -04:00
Erik Jan de Wit
85b8f17f35
changed default type to secondary (#174) 2020-10-14 16:29:06 +02:00
Erik Jan de Wit
cb3eca46ec
added download dialog to client actions (#164)
* added download dialog to client actions

* fixed format
2020-10-13 13:57:35 -04:00
Sarah Rambacher
3882d3ec43
adds optional link to the subkey of a view header (#166)
* adds optional link to the subkey of a view header

* changes props to button props
2020-10-13 09:15:16 -04:00
Donald Labaj
651205af29 Fixed build by making secondaryActions optional 2020-10-12 16:34:20 -04:00
Erik Jan de Wit
09f09893a2
added ability to add mulitple actions (#163)
* added ability to add mulitple actions

* fixed format

* changed to use secondaryActions
2020-10-12 14:02:17 -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
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
Donald Labaj
57fdb46b1f
Added coding standards to the project. (#139)
Added coding standards and also updated the package json so that the scripts have consistent naming conventions. Fixed incorrect import for context as well.
2020-10-06 17:42:32 -04:00
Erik Jan de Wit
908842542c
partial mocked download dialog (#140)
* partial mocked download dialog

* messages

* added toggle

* removed commened import
2020-10-06 15:51:21 -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
932906a103
added client list search (#133)
* added client list search

* changed to only search onClick
2020-10-05 14:13:23 -04: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
Stan Silvert
f800e000be
Create whoami context (#136)
* Fix conflicts

* Fix formatting

* Get tests to pass

* Fix conflict again
2020-10-02 08:47:32 +02:00
Erik Jan de Wit
2fa8855bf4
initial version of the breadcrumb component (#119)
* initial version of the breadcrumb component

* moved breadcrumbs to Page component
2020-10-01 10:25:29 -04:00
Christie Molloy
32f5aa0e6f
First page within Group section (#108)
* add code to group section

* updates to group section

* more updates to groupsection

* add Eriks changes

* groups broken

* more group work

* lots of updates

* fix bugs

* working on typescript and clearing out dead code

* fix TS errors and PR feedback

* more TS fixes

* fixed the TS errors

* run prettier

* fix errors from yarn checktypes command

* fix prettier

* fix lint and checktypes

* remove isInline

* revert prettier

* revert prettier commits

* update i18

* fix prettier

* feedback

* fix error
2020-09-28 11:58:03 -04:00
Erik Jan de Wit
94b26936d3
fetch and save client (#116)
* fetch and save client

* added multi line for redirect uris

* format

* review
2020-09-25 13:42:32 -04:00
Erik Jan de Wit
19b458577b
Generic view header (#115)
* implements static template for table view header

* initial table view header layout

* renamed

* added actions

* format

* review

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-25 13:29:03 -04: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
Erik Jan de Wit
8210ba5ba0
initial version of confirm dialog (#117)
* initial version of confirm dialog

* introduced helper funciton to toggle dialog

* review
2020-09-25 09:17:55 -04:00
Erik Jan de Wit
7161af82b8
initial version of the multi line input (#107)
* initial version of the multi select input

* changed direction and fixed tab index
2020-09-24 09:27:23 +02:00
jenny-s51
aebcea2ac1 CI :) 2020-09-23 15:49:05 -04:00
jenny-s51
65a6e1ca24 update HelpItem snapshot 2020-09-23 15:42:02 -04:00
Sarah Rambacher
0a6281e209 fix button props on external link
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-23 15:39:52 -04:00
Sarah Rambacher
6189795aaf make prettier happy 2020-09-23 15:39:52 -04:00
Sarah Rambacher
985375ef02 remove the disabled link test 2020-09-23 15:39:52 -04:00
Sarah Rambacher
9f47fb5fca change external link to pf component 2020-09-23 15:39:52 -04:00
Erik Jan de Wit
bb3598930f
always show realm add button and filter on keystroke (#105)
* always show realm add button and
filter on keystroke

* fixed formatting

* fixes within the realm selector dropdown

* format

* fixed test

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-23 10:19:46 +02:00
Erik Jan de Wit
dfe3f31eb4
update dependencies (#110) 2020-09-23 10:05:15 +02:00
Erik Jan de Wit
0f1d93d672
initial version of the client settings page (#89)
* initial version of the client settings page

* fix test

* fixed spelling

* merge errors

* fix merge error

* renamed Step1 and Step2
2020-09-22 08:43:51 -04:00
Sarah Rambacher
48e13b7204
Empty state for a list (#95)
* add an empty state for a list

* rename component and add click handler

* add metadata to list empty state story

* add tests to list empty state
2020-09-19 14:05:14 -04:00
Erik Jan de Wit
b87bd2ca76
updated the realm selector (#90)
* updated the realm selector with:

1. realm context that works on other requests
2. added search bar when realm list > 5 realms

* fixed merge
2020-09-17 07:37:30 -04:00
Erik Jan de Wit
79c8942eeb
changed messages to keys (#88) 2020-09-16 10:56:23 -04:00