Commit graph

19 commits

Author SHA1 Message Date
Jon Koops
960da1b849
Replace text areas with KeycloakTextArea (#2617) 2022-05-11 11:46:14 +02:00
Jon Koops
d5f6aca82e
Replace text inputs with KeycloakTextInput (#2413) 2022-04-21 17:03:26 +02:00
Jon Koops
4a7c0436cc
Move React Hook Form errors to formState (#2412) 2022-04-08 14:37:31 +02:00
Erik Jan de Wit
37d1087e7e
Use string[] directly removed need for converstion (#2175) 2022-03-09 17:42:23 +01:00
Jenny
741bc0d195
Add "always display" switch (#2165)
* add always display switch

* add optional param to fillClientData

* add frontchannelLogout to SAML settings

* fix test
2022-03-02 11:08:01 -05:00
Erik Jan de Wit
e8f335f199
changed all the help items (#1683) 2021-12-14 15:56:36 +01:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
Erik Jan de Wit
8cd88b9a1d
rename clientID to clientId (#504) 2021-04-06 13:39:27 -04:00
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -04: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
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
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
Sarah Rambacher
c567fdca93 deduplicates some common text strings 2021-01-13 15:48:16 -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
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
Erik Jan de Wit
3479adb356
Small client form fixes (#104)
* made clientId required

* changed space between the 2 columns of check boxes

* merge fix
2020-09-23 15:19:02 -04:00
Erik Jan de Wit
338e177c51
added react hook form to do forms (#99)
* added react hook form to do forms

* removed unnessary property
2020-09-17 09:51:40 -04:00
Erik Jan de Wit
79c8942eeb
changed messages to keys (#88) 2020-09-16 10:56:23 -04: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
Renamed from src/forms/client/ClientDescription.tsx (Browse further)