fix storybook demos
add attributes tab to realm roles section
use TableComposable
fix formatting
css updates
fix up styling of role attributes table
fix check-types erros
logic from call with Jeff
clean up, format, make eslint proud
delete roledetails
call with Erik
add delete function and css changes
fix storybook demos and format
make key input disabled once new attribute is created
minus icon gray
address PR feedback from Sarah
set add and save buttons to disabled when new input field is empty
fix save/add
fix onChange formState
rebase with resolved conflicts
fix paths and use error msg from response
WIP readOnly
try setting readonly
add defaultState prop
use keycloak tabs
default values WIP
reload WIP
cleanup function
add shouldUnregister
fix for adding empty line on form load
removed debug
small fix for `isValid`
role attributes tab
format
* refresh
* add hook
* reload WIP
* pass down defaultValues
* log stmt
* reload working on details form
* call with Erik
* format
* format
* lint
* fix reload after save
fix storybook demos
add attributes tab to realm roles section
use TableComposable
fix formatting
css updates
fix up styling of role attributes table
fix check-types erros
logic from call with Jeff
clean up, format, make eslint proud
delete roledetails
call with Erik
add delete function and css changes
fix storybook demos and format
make key input disabled once new attribute is created
minus icon gray
address PR feedback from Sarah
set add and save buttons to disabled when new input field is empty
fix save/add
fix onChange formState
rebase with resolved conflicts
fix formatting
remove !important
Update RealmRolesSection.css
Update src/realm-roles/RoleAttributes.tsx
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
address PR feedback from Sarah and Erik
fix paths and use error msg from response
remove log stmt
fix lint
remove minLength
* 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
* initial version of a data list
* introduced paginate property
* added search key
* added types and actions
* added renderer to customize rendering of one cell
* changed `ClientList` to new `DataList`
* replaced client scope list with `DataList`
* added empty state
* Replaced RoleList with `DataList`
* switched to lodash cloneDeep
* fix merge error
* service account tab initial version
* added hide inherited function
* move empty formatter to util
* added the 'assign role' button
* only show service account tab when client is saved
* changed to toobar items to align checkbox
* added missing assignRole and renamed tab
* add file for realm role details
* add details and attributes tabs
* clean up a bit
* get name working
* add reload
* fix route config
* fix prettier
* call with Don
* header and description working
* update route-config.ts
* wrap in FormAccess component
* name input gets value from call
* try to get save working
* feedback from Erik
* more feedback from Erik
* fix formatting
* format
* address PR feedback from Erik
* delete comment
* set name field to read-only
* delete defaultValue prop
* parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500
add file for realm role details
add details and attributes tabs
clean up a bit
get name working
add reload
fix route config
fix prettier
add storybook demo for realm details
add details and attributes tabs
* parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297630 -0500
parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297556 -0500
parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297545 -0500
parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500
add file for realm role details
add details and attributes tabs
clean up a bit
get name working
add reload
fix route config
fix prettier
add storybook demo for realm details
add details and attributes tabs
clean up a bit
clean up a bit
add reload
fix route config
add storybook demo for realm details
Delete messages.json
cleaning up, wip
fix CI
clean up more
* add back role messages
* fix format
* revert role list to master
* remove reload
* fix spacing and add FormAccess component
* fix route
* fix formatting
* 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
* added function to refresh the dataloader data
* 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
rename fields
cleaning up
address PR feedback from Stan
add logic to delete realm role
format
rebase with erik branch
resolves merge conflicts
fix check types error
fix invalid state
fix check-types
fix ts error
* fix format
* remove log stmt
* address PR feedback from Erik and Sarah
* remove utility class
* address Erik comment
* fix formatting
* fix bug and address PR feedback
* move msg
* fix lint
* fix format
* delete details file (on another branch)
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
* 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 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
* 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