* add save cancel and move all form logic to parent
* rm obsolete convert days function
* save working all fields
* fix save on two fields and rm console msgs
* add basic validation to empty fields
* fix default value issues in cache
* fix two fields default values
* dropdown text and help fixes
* add empty option for edit mode
* initial save cancel logic
* cleanup work after merge
* move form logic up to parent
* save working
* update messages
* no longer need to pass in save from children
* pass form into wizard to fix build errors
* fix lint fmt issue
* add simple field validation and error prevention
* localize validation strings
* fix default value issues
* localize default value
* Cypress tests for masthead.
* Update snapshot
* Update Keycloak version.
* Fix download address
* Update start.js
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* Follow redirect when downloading keycloak.
* Refactor HeaderPage into Masthead and ModalUtils
* Minor change to kick off build.
* logOutTest no longer needs a param
* goToAcctMgtTest no longer needs a param
* Update tests/cypress/support/pages/admin_console/Masthead.js
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
* Update tests/cypress/support/pages/admin_console/Masthead.js
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
* Fix userDropdown() method
* Minor refactor
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
* 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
* 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
* created scope picker
* added user select
* added evaluate function
* added the tabs
* added generated token
* added useFetch
* fixed formating after merge
* fixed the tabs layout
Co-authored-by: srambach
* added space between tabs and content
* added help into text
* whoAmI has the realm access information
so when a new realm is created the whoAmI request has to be done again
* fixed "add realm" button
* remove debug
* refactor
* also force token update
* refresh realm list on realm change
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
* separate card paths
* organize settings file structure
* most ldap fields working
* allow same path to multiple components
* fix several fields
* all values fetched correctly
* changes from PR
* removed unused models
* added selectable to `DataList`
* changed groups to use new `DataList`
* fixed filter for JSX.Elements columns
* better refresh
* 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
* pull in kerberos data
* fix build fails and cleanup msgs
* fix 2x build errs
* fix broken test
* fix route, bcrumb, and card click
* lint fixes
* final changes from PR review
* add old breadcrumb functionality back
* fix breadcrumb test
* lint fix
* 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
* initial version of client scope tab for clients
* initial version evaluate tab
* changed to use new adminCliend
and merged default and optional
* added add dialog
* removed "always" and "required" scopes
* better seach types dropdown layout
* added switch implementation
* add form controllers to user fed kerberos settings
* comments out test buttons
* add optional settings with todos
* correct the kerberos help text
* updates cache policy dropdowns
* use ComponentRepresentation
* use FormAccess component
* fix required settings and i18n
* remove unused form
* remove unused file
Co-authored-by: jenny-s51 <jshandel12@gmail.com>
* 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
* initial html css changes
* additional look and feel
* merge empty state changes
* fix dup key
* pull in real data
* real data and empty
* fix bad paren
* add delete functionality
* rm debug msg
* fix rediculous prettier trailing commas
* changes from PR
* css changes from PR
* use good userfed info link
* use consistent state names
* fix msg merge issue
* update and use ViewHeader
* fix broken tests
* add and use generic card component
* additional empty state behavior
* delete confirm modal
* 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
* all fields roughed in working on tab
* reduce to just the settings without page
* remove unused imports
* fix some comments
* correct some typos and capitalization
* remove ldap translation
* 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>
* initial version of the role mapping create form
[marvel](https://marvelapp.com/prototype/f0e8fih/screen/72042619)
* fixed format
* changed to typeahead
* format
* group by
* review fixes
* added group and divider
* change name to realm name
* added optional dialog variant
* added predefined scope dialog
* added mapper dialog for predefined and custom
* format
* changed to use dataList instead of table
* fixed test
* initial user federation landing page
* builds user federation screen with more info link
* change providers to h2
* remove unused imports and translate text
* updates user fed landing page for new mockup
* 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>
* refactors form field help
* format and test
* add interpolation of help text
* implement HelpItem and move help text
* update DownloadDialog with new HelpItem
* remove commented out code
Added coding standards and also updated the package json so that the scripts have consistent naming conventions. Fixed incorrect import for context as well.
* added client settings header
* added confirmation dailog
* format
* pr review
* use placeholder text instead of property
* change title to use clientId instead
* added state for dynamic name
* 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
* always show realm add button and
filter on keystroke
* fixed formatting
* fixes within the realm selector dropdown
* format
* fixed test
Co-authored-by: Sarah Rambacher <srambach@redhat.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
* Adjusts toolbar help menu items
* remove workaround css for dropdown description text
* fixes formatting
* capitalize menu item
* revert change in variable name
* initial version of the create client role page
* added types and sort function
* updated types
* added steps
* added save function
* fix error message