Commit graph

21 commits

Author SHA1 Message Date
Erik Jan de Wit
242c1d8445
better form convert (#1640)
* better form convert

* fixed other forms

* changed to use npm package

* better form convert

* merge fix

* fixed mapper test
2021-12-08 16:08:42 +01:00
Jon Koops
61b2689864
Add useToggle hook to manage toggleable state (#1600) 2021-11-30 14:07:44 +01:00
Erik Jan de Wit
f1f0c362b4
Add button on authentication flows (#1119) 2021-09-06 14:43:36 +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
Jon Koops
317acd8239
Prefer optional chaining over validating references (#992) 2021-08-12 13:15:47 +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
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
Jon Koops
64d5a498a6 Update Prettier to latest version and fix formatting 2021-07-05 15:26:07 +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
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +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
5c94dd584b
fixing comment on issue: (#522)
* fixing comment on issue:

https://github.com/keycloak/keycloak-admin-ui/issues/428#issuecomment-818504696

* fixed top margin

* fixed devider length
2021-04-20 15:46:07 -04:00
Erik Jan de Wit
a81164ee2a
fixed issue described by 428 (#441)
fixing: #428
2021-03-17 08:10:30 +01: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
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
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
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
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
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
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