Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Active users][Settings][Account settings] Add functionality for Selectors #138

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

carma12
Copy link
Collaborator

@carma12 carma12 commented Aug 23, 2023

The Select[1] components has been adapted to take data from the metadata. This has been applied for the fields 'Radius proxy configuration' and 'External IdP configuration'.

[1]- http://v4-archive.patternfly.org/v4/components/select

@carma12 carma12 added the WIP Work in Progress (do not merge) label Aug 23, 2023
@carma12
Copy link
Collaborator Author

carma12 commented Aug 23, 2023

This PR depends on this one to be merged: #136

@carma12 carma12 removed the WIP Work in Progress (do not merge) label Aug 25, 2023
Copy link
Member

@pvoborni pvoborni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, added comments from reading the code (didn't try it yet). Most of them is about simplification - to have less code to maintain.

src/components/UsersSections/UsersAccountSettings.tsx Outdated Show resolved Hide resolved
src/hooks/useUserSettingsData.tsx Outdated Show resolved Hide resolved
src/hooks/useUserSettingsData.tsx Outdated Show resolved Hide resolved
src/hooks/useUserSettingsData.tsx Outdated Show resolved Hide resolved
src/hooks/useUserSettingsData.tsx Outdated Show resolved Hide resolved
src/services/rpc.ts Show resolved Hide resolved
src/components/Form/IpaSelect.tsx Outdated Show resolved Hide resolved
src/components/Form/IpaSelect.tsx Outdated Show resolved Hide resolved
src/components/Form/IpaSelect.tsx Outdated Show resolved Hide resolved
src/utils/ipaObjectUtils.ts Outdated Show resolved Hide resolved
@pvoborni pvoborni self-assigned this Aug 25, 2023
@carma12
Copy link
Collaborator Author

carma12 commented Aug 28, 2023

I have updated the code with the suggested changes. Some comments were provided as well.

@carma12
Copy link
Collaborator Author

carma12 commented Aug 29, 2023

Updated the code again with the last corrections.

Copy link
Member

@pvoborni pvoborni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added next round of review.

src/components/Form/IpaSelect.tsx Outdated Show resolved Hide resolved
src/components/Form/IpaSelect.tsx Outdated Show resolved Hide resolved
src/components/Form/IpaSelect.tsx Outdated Show resolved Hide resolved
src/components/Form/IpaSelect.tsx Outdated Show resolved Hide resolved
src/utils/ipaObjectUtils.ts Outdated Show resolved Hide resolved
src/utils/utils.tsx Outdated Show resolved Hide resolved
@carma12
Copy link
Collaborator Author

carma12 commented Aug 30, 2023

Updated the code with the last corrections.

The Select[1] components need to be adapted to
take data from the metadata. This will be
applied for the fields 'Radius proxy configuration'
and 'External IdP configuration'.

[1]- http://v4-archive.patternfly.org/v4/components/select
Signed-off-by: Carla Martinez <[email protected]>
Copy link
Member

@pvoborni pvoborni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carma12 carma12 merged commit d40b2ce into freeipa:main Aug 31, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants