* only query realms endpoint once
currently the realm list query is expensive and we only need it once.
* fixed refresh issues
* fixed tests
* fixed imports
* fixed types
* removed strange non code
* reload instead
* added more realm tests
* added recently used realms to the top
fixing: #396
* fixed add realm button
* moved setting recent to setRealm
cleanup to where realm list is updated
* Allow app to run as a WAR on Keycloak server.
* New client creation json that works for both dev and prod
* fixed tests
* Try Mark's trick to get realm_test to run.
* Make tests use keycloakBefore()
* Fix duplicate import
* fix github actions
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* added details for groups
* add includeSubGroups checkbox
* added tests
* fixed reload for group attributes
* fixed spacing on associate roles tab
* fixed group reload after save
* fixed test
* 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
* renamed `useFetch` to `asyncStateFetch`
otherwise React will mistake it for a react hook and will complain.
* added jsdoc
* fixed the user red stories
* renamed
* 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
* 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
* 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
* 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>
* 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>
* moved files into new structure
* translation files / namespace per "page"
fixes: #77
* renamed pages to sections
* moved save, delete and others to common bundle