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

Fix inconsistent label attributes #205

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

carma12
Copy link
Collaborator

@carma12 carma12 commented Dec 5, 2023

The fieldId parameter should match with the name for the fields mentioned in the issue mentioned below.

The buttons available on the 'Settings' page should also have their own independent name. This has been implemented using the following format:

<action>-<fieldName>[-<idx>]
(Being idx >= 0)

E.g.1: add-krb-principal-alias
E.g.2: remove-certificate-mapping-data-1

Fixes: #204

The `fieldId` should match with the
`name` for the fields mentioned in
the issue mentioned below.

Fixes: freeipa#204
Signed-off-by: Carla Martinez <carlmart@redhat.com>
@carma12 carma12 requested a review from miskopo December 5, 2023 13:45
The buttons available in the 'Settings'
page should also have its own independent
`name`. This has been implemented using
the following format:

`<action>-<fieldName>[-<idx>]`
Being `idx` >= 0

E.g.1: `add-krb-principal-alias`
E.g.2: `remove-certificate-mapping-data-1`

Signed-off-by: Carla Martinez <carlmart@redhat.com>
Copy link
Member

@miskopo miskopo left a comment

Choose a reason for hiding this comment

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

I have reviewed the changes against the checklist and also the button naming system, and it looks very good to me. Q-ACK 🦆

@carma12 carma12 merged commit 522c6b6 into freeipa:main Dec 5, 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.

Inconsistent label for attribute and input field name in user settings page
2 participants