Commit graph

34 commits

Author SHA1 Message Date
Erik Jan de Wit
ce0ce6d59e
Sub group navigation in groups section (#274)
* list sub group of a group using the id

* introduced group bread crumb component to render

this builds up the groups as you click to subgroups

* added deeplinking

* fixed route config types

* fixed new realm prefix

* added null checks for if group not found

* changed labes to groups
2021-01-12 09:00:44 -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
e6fa093925
small refactor to set realm from path (#282) 2021-01-07 09:56:14 -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
Sarah Rambacher
691708e5f2
Makes jumplinks work (#254)
* jumplinks on main content scroll but buggy

* update PF and move anchor to heading

* add fix for double highlight of jumplink

* mysterious change to unrelated test

* add yarn.lock
2020-12-11 18:34:18 +01:00
Erik Jan de Wit
9eabcdbee4
changed how whoAmI uses the admin client (#216)
this avoids a circle dependency on realm
2020-11-12 14:16:41 -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
Stan Silvert
9fb081e3bf
Fix exact routes (#187) 2020-10-23 07:52:51 +02:00
Stan Silvert
49284a0f11
Implement basic access control. (#183)
* Implement basic access control.

* Fix formatting
2020-10-21 07:31:41 -04: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
587ae5ce81
changed alerts to have a provider (#137)
fixes: #132
2020-10-06 15:25:05 -04:00
Stan Silvert
bfe6e2c236
Move contexts under a single directory. (#145) 2020-10-06 10:25:38 +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
Eugenia
ba6d4877ab
Create realm role page (#114)
* 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

* update snapshot after rebase

* PR feedback from Stan

* add back pf addons

* localize NoRealmRoles component

* changes to PR suggested by Sarah

* adds new role form

* fix path

* rename fields

* HTTP post is working

* move create msg

* cleaning up

* address PR feedback from Stan

* added validation and changed to text area

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-29 13:54:42 -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
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
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
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
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
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
Stan Silvert
8fbcf7582a
Flesh out left navigation (#76)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-09 11:07:17 +02:00
Erik Jan de Wit
f1c9d2e49e
Import client json file (#55)
* import form

* added confirmation dialog

* introduced page component for clients
2020-09-03 15:25:05 -04:00
Erik Jan de Wit
bc041cd44e
added initial version of the "help system" (#26)
* added initial version of the "help system"

fixes: #25

* fix merge error

* fix format
2020-09-02 09:51:42 +02:00
Erik Jan de Wit
513aa2ba91
initial version of the create client create page (#47)
* initial version of the create client role page

* added types and sort function

* updated types

* added steps

* added save function

* fix error message
2020-08-31 14:26:25 -04:00
Eugenia
c480f9cd9d
Add routing (#42)
* WIP routing

* remove webpack plugin

* add routing

* fixes to router

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-08-27 14:09:36 +02:00
Erik Jan de Wit
f11f2bffdf
make pagination work on the client list (#39)
* fix: make pagination work

* fix formatting

* Xmove toolbar to seperate component
2020-08-24 14:11:17 -04:00
Erik Jan de Wit
64f96c7d1b
enhanced rendering of client list (#27) 2020-08-21 21:40:21 +02:00
Stan Silvert
18689c6194
Implement masthead (#30) 2020-08-20 20:09:05 -04:00
Sarah Rambacher
fa4fec34e4
[WIP] APPDUX-407 Lays out components for new realm form (#18) 2020-08-18 15:10:31 +02:00
Erik Jan de Wit
60075db602 refactor alerts 2020-08-08 15:52:23 +02:00
Erik Jan de Wit
0b460662c2 initial version of the alert system 2020-08-07 15:44:34 +02:00
Erik Jan de Wit
192d891e4f added missing section 2020-08-06 11:43:33 +02:00
Erik Jan de Wit
14860ae628 initial version
change favicon based on env props
2020-08-05 17:00:38 +02:00