agagancarczyk
a6904be9ff
Realm-settings -> User Profile -> Attributes ( #2107 )
...
* attributes tab - wip
* attributes tab - wip
* attributes tab - wip
* attributes tab - wip
* added dropdown for each attribute row
* added kebab logic
* added delete dialog - wip
* added delete dialog - wip
* added delete dialog - wip
* draggable rows - wip
* draggable rows - wip
* draggable rows - wip
* refactored draggable rows
* refactored draggable rows
* added tests
* added tests
* refactor
* refactor
* refactor
* renamed css file to realm-settings-section.css
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-02-16 11:39:08 +00:00
Jon Koops
b9224862de
Replace Lodash with it's ESM variant ( #1990 )
2022-02-02 11:33:57 +01:00
Jenny
3f7a912c2a
Realm settings: Return user to Policies subtab ( #1823 )
...
* add function to go to policies subtab
* use routable tabs
* use new defaultLocation prop
* rebase, lint, and tests
* unskip
* fix cancel test
2022-01-20 10:34:58 -05:00
Erik Jan de Wit
ede8db53a0
Added default role tab to realm settings ( #1497 )
...
* added user registration tab to realm settings
* added keycloak spinner
* fixed routing from all role tabs
* Update src/realm-settings/RealmSettingsTabs.tsx
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
* changed tab name to "associated-roles"
* removed useless key attribute
* removed unnessary variable
* fixed pagination
* rebased
* fixed default role type
* fixed create realm role
* fixed helpItem forID
* fixed test
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-11-16 12:10:10 +01:00
Erik Jan de Wit
c96450ef61
make all routes lazy ( #1445 )
2021-10-29 18:11:06 +02:00
Jenny
9e5f711bea
Client policies(policies): Create, add, delete and list client profiles in existing policy ( #1393 )
...
* 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
2021-10-29 16:19:57 +02:00
agagancarczyk
56eb774dd3
Profile view update ( #1357 )
...
* added routing for viewing client profile
* added add executors form template
* added add executors form template
* add executor: wip
* add executor: wip
* add executor: wip
* add executor: wip
* add executor: wip
* add executor: wip
* add executor: wip
* add executor: wip
* add executor: wip
* added adding excutors to profiles
* added displaying executors - wip
* added displaying executors - wip
* added navigation to client profile edit on executor creation
* replaced table with list for listing executors added
* added support for editing client profile
* added logic making executors with config links only
* added read only values for edit/view client temporarily
* added helpText for added executors listed in executors list
* added helpText for added executors listed in executors list
* added deleting executor from client profile
* fixed deleting client profile and fixed messages for delete modals
* fixed message for delete clinet profile modal
* combined delete dialogs for client profile and executor
* displaying global executors for global profiles, hiding add executor button
* fixed eslint issue
* fixed executors list
* added back button to global profile view/edit view
* fixed test
* added global batche and hid actions dropdown for global profiles
* fixed switch on/off labels
* fixed hide/display items for global and non-global profiles
* added isDirty
* feedback fixes
* feedback fixes
* feedback fixes
* feedback fixes
* feedback fixes
* feedback fix
* small refactor
* added name and removed unused state
* fixed executor creation
* fixed executor creation
* added saving edited client profile
* added saving edited client profile
* improved trash icon styles
* test fix
* Some code suggestions
* Some more code suggestions
* feedback fixes
* feedback fixes
* use find instead of filter
* feedback fixes
* added defaultValues for executors
* removed defaultValues for executors
* final feedback fixes
* minor fixes
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-26 16:16:19 -04:00
Jon Koops
bd7ca9a7fa
Add utility function to pretty print JSON ( #1310 )
2021-10-08 20:21:09 +02:00
agagancarczyk
9af18e11e2
Client add executors ( #1284 )
...
* 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>
2021-10-04 14:39:54 +01:00
Jon Koops
eb40cabf03
Use type-safe alternative for links ( #1280 )
2021-10-01 12:52:45 +02:00
Erik Jan de Wit
cb86e5be3f
Small fix on policies tab ( #1246 )
2021-09-29 10:51:47 +02:00
agagancarczyk
bd423c4bbe
Create profile ( #1218 )
...
* create-client-profile: creating client profile wip
* create-profile: added deleting profile
* create-profile: add executors - wip
* create-profile: add executors - wip
* create-profile: add executors - wip
* create-profile: add executors - wip
* create-profile: added testId for tests
* create-profile: added cypress tests for client profiles
* Update cypress/support/pages/admin_console/manage/realm_settings/RealmSettingsPage.ts
marking fields as private
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/realm-settings/NewClientProfileForm.tsx
removing async (not needed)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* feedback fixes
* Update src/realm-settings/NewClientProfileForm.tsx
new router link implementation
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* simplify ClientProfile type
* align form type with model
* do not delete
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-24 11:46:01 +01:00
agagancarczyk
2237ee4d65
Realm setting profiles ( #1149 )
...
* admin-events-list: added PF code editor
* realm-settings: added template for client policies tab
* realm-settings: fixed space between text and q icon
* admin-events-list: hardcoded representation dialog
* realm-settings: css improvement
* realm-settings: feedback applied
* realm-settings: feedback applied
* admin-events-list: fixed representation dialog
* admin-events-list: fixed representation dialog
* Update src/events/AdminEvents.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* admin-events-list: fixed representation dialog
* real-settings-profile: added subtabs
* realm-settings-list: added table displaying client profiles and delete dialog
* realm-settings-list: updated column name
* realm-settings-list: implemented radio button format change
* realm-settings-list: added buttons for JSON editor
* realm-settings-list: added isPaginated to profiles table
* realm-settings-list: impoved css for json editor
* realm-settings-list: fix for loader
* realm-settings-list: feedback fixes
* realm-settings-list: feedback fixes
* realm-settings-list: feedback fixes
* realm-settings-list: feedback fixes
* realm-settings-list: feedback fixes
* realm-settings-list: feedback fixes
* realm-settings-list: disbaled row when profile is global
* realm-settings-new-profile: added template for new profile - wip
* realm-settings-list: feedback fixes
* Add some @ts-ignore comments for the links
* Split routes into multiple files
* realm-settings: temporarily hardcoded path for cancelling new profile btn, bumped admin-client dep
* realm-settings: reverted back to Link
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-20 13:42:07 +01:00
agagancarczyk
b9208cb9c7
Admin events rep dialog ( #1137 )
...
* admin-events-list: added PF code editor
* realm-settings: added template for client policies tab
* realm-settings: fixed space between text and q icon
* admin-events-list: hardcoded representation dialog
* realm-settings: css improvement
* realm-settings: feedback applied
* realm-settings: feedback applied
* admin-events-list: fixed representation dialog
* admin-events-list: fixed representation dialog
* Update src/events/AdminEvents.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* admin-events-list: fixed representation dialog
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-09 11:45:19 +01:00