* Add form for User Profile attribute groups
* Add breadcrumbs to create and edit pages
* Add hints to form fields
* Link directly to details from overview
* Disable name field when editing
* Disable adding annotations when not valid
* add the ablity for dynamic component to become
disabeled when used in a <FormAccess component
* add ability to manually make form readonly
* added readonly + fixed form initialize
fixes: #1898
* Update src/components/form-access/FormAccess.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* updated and fixed user test
* Update cypress/integration/users_test.spec.ts
* fixed the confirm button test id
* fixed tests
* fix
* removed unused refresh
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
* Initial version of the create and edit resouce screen
* refactored and fixed the attributes form
introduced a new component that can be used more easily
* Update src/components/json-file-upload/FileUploadForm.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/components/attribute-form/attribute-convert.ts
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/clients/authorization/ResourceDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/clients/authorization/ResourceDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/clients/authorization/ResourceDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* PR review
* fixed tests
* PR review comments
* resourceId is optional
* Update src/components/attribute-form/attribute-convert.ts
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* wip client roles select field
WIP multivalued roles component
wip client roles select: multivalued rows component
wip client roles select
role multi select is working :)
update client roles select to use multivalued select as per new design
delete comments
remove unused css
update cypress tests
revert to original
remove duplicates
add isCreateable
* PR feedback
* small refactor
* change to use orderBy
* use localeCompare
* fix tests
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
PR feedback from Jon
messages
rename message
rebase
remove duplicate value
fixed multi select bug
conditionConfigs wip
add all config fields, labels, and help text for condition types
wip config POST
config post is working
fix bug in multiline string POST
fix any client empty config
client scopes config wip
fix config settings for client-updater-context
fix client access type config
clean up configuration conditionals
add aria label to resolve critical axe issue
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
address PR feedback from Jon
fix undef error
wip edit condition configs
fix import
wip edit configs
wip edit condition configs
populate all multiline input fields with data from server
update functionality
condition configs done
update route and delete comment
fix client updater context
add tests
add test for editing condition
remove comment
fix test
unskip tests
need optional chain for cypress test
fix breadcrumb
* moved to component folder
* replaced iteration with component
* fixed merge error
* renamed file
* tried to improve the test
* made field label lower case
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
add profiles modal wip
addprofiles wip
profiles wip
help text wip
add help text
remove comments
remove duplicate message
update data test id
PR feedback from Jon 1
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
remove fragment
create policy detail attribute type
PR feedback from Jon 2
support editing profile name and description
add edit functionality and restore tests
Delete EditCondition.ts
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
format
fix path
use route fn
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
PR feedback from Jon
messages
rename message
rebase
remove duplicate value
fixed multi select bug
conditionConfigs wip
add all config fields, labels, and help text for condition types
wip config POST
config post is working
fix bug in multiline string POST
fix any client empty config
client scopes config wip
fix config settings for client-updater-context
fix client access type config
clean up configuration conditionals
add aria label to resolve critical axe issue
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
address PR feedback from Jon
fix undef error
PR feedback from Stan
add util function
* fix import stmt
* revert change to route
* fix profile create values
* fix paths
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
add profiles modal wip
addprofiles wip
profiles wip
help text wip
add help text
remove comments
remove duplicate message
update data test id
PR feedback from Jon 1
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
remove fragment
create policy detail attribute type
* PR feedback from Jon 1
* PR feedback from Jon 2
* add spinner to prevent loader from being called
* remove duplicate identifier
* fix and rename route
* rename route
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
PR feedback from Jon
messages
rename message
rebase
* remove duplicate value
* fixed multi select bug
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
update test file
replace hardcoded URL with path
fix tests
correct tab name
fix duplicates test
add create client policy form; WIP
add client policy tests
tests
createClientPolicyFormTests
lint
tests
remove comments
comment out json test
add empty state test
check reloading json policies
client policy tests are passing
all client policy tests passing locally
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
* rebase
* replace hardcoded URL with path
* fix tests
* editClientPolicy
* edit client policy
* rename test
* feedback from jon
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
* rebase
* update test file
* replace hardcoded URL with path
* fix tests
* correct tab name
* fix duplicates test
* client-add-executors: wip
* client-add-executors: added logic for deleting client from dropdown
* client-add-executors: wip
* client-add-executors: added edit profiles
* client-add-executors: added refesh client profiles
* client-add-executors: added cypress tests
* commented out test failing only in CI
* Update cypress/integration/realm_settings_test.spec.ts
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
* changed to arrow functions
* feedback fixes
* feedback fixes
* uncommented failing test to see if still failing and why
* test possible fix
* test fix
* test fix
* test fix
* client-add-executors: reused normaliseProfile func for delete dialog
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
* fix login tab
update cypress test
cypress test
rebase
test updates
cypress test fix
get correct ids
fix get call
fix tests
try refetching realm
add useEffect to fix server GET call
uncomment test
revert to original useFetch
prettier
create new function
set timeout to 10 ms
set to 100 ms
* add comment to useEffect per Jon feedback
* added user role mapping tab to user details
* fix imports to admin client
* Update src/user/UserRoleMapping.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/user/UserRoleMapping.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* added await
* fixed merge error
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* fix conflict
* pr feedback from jon
* add key provider type to separate component
* remove log stmt
* remove spread syntax
* add default priority to all provider types
* remove sort by priority from providers tab
* add instruction tooltip
* correct list sorting order
* feedback from Jon wip
* more feedback from Jon
* update aria-describedby
* data list header and draggable button spacing
* Update src/realm-settings/RealmSettingsSection.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* add localization dropdown
uncomment isDisabled
clean up names
comment out localization tab again
disable actions menu if form not submitted
uncomment tab
use currentRealm for tableLoader
fix axe issues labeled as serious
PR feedback from Erik
use isSearching instead of keepToolbar
* fix node build
* use object entries
Co-authored-by: Jon Koops <jonkoops@gmail.com>