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 carma12 force-pushed the account-settings-selectors branch from 1c6b8fb to 20316ae Compare August 23, 2023 12:54
@carma12
Copy link
Collaborator Author

carma12 commented Aug 23, 2023

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

@carma12 carma12 force-pushed the account-settings-selectors branch from 20316ae to 16af12e Compare August 25, 2023 07:30
@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 carma12 force-pushed the account-settings-selectors branch from 16af12e to 85b594d Compare August 28, 2023 11:22
@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 carma12 force-pushed the account-settings-selectors branch from 85b594d to c4a806b Compare August 29, 2023 07:35
@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 carma12 force-pushed the account-settings-selectors branch from c4a806b to 973705b Compare August 30, 2023 08:53
@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 <carlmart@redhat.com>
@carma12 carma12 force-pushed the account-settings-selectors branch from 973705b to eb502b7 Compare August 30, 2023 09:00
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

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