Skip to content

Conversation

@revolunet
Copy link
Collaborator

and some fixes

Copy link
Collaborator

@EmileRolley EmileRolley left a comment

Choose a reason for hiding this comment

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

Merci pour les modifs, j'ai laissé quelques commentaires (pas vraiment bloquants).

(Je n'ai pas pris le temps de tester en local).

size="small"
priority="secondary"
>
Supprimer
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: est-ce que l'on a envie de laisser la possibilité de customiser le label des buttons avec un ui:removeLabel ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oui!

)

const tabContent =
(items.length && (
Copy link
Collaborator

Choose a reason for hiding this comment

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

nitpick: j'avoue que je suis plutôt pour utiliser systématiquement l'opérateur ternaire pour éviter des petits bugs d'affichages non désirés (items.length ? (...) : null).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok!

parseInt(selectedTabId.replace(/^tab(\d+)$/, '$1')),
)

const tabContent =
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
const tabContent =
const removeTabContent =

uiSchema !== undefined ? uiSchema['ui:help'] : undefined
}
>
{option.label + (required ? '*' : '')}
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: est-ce que la gestion des champs requis ne devrait pas être directement gérée au dans le composant <LabelWithHelp> (ou un autre composant <Label>) ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

will look

revolunet and others added 3 commits September 20, 2024 11:21
Co-authored-by: Emile Rolley ⏚ <[email protected]>
Signed-off-by: Julien Bouquillon <[email protected]>
Co-authored-by: Emile Rolley ⏚ <[email protected]>
Signed-off-by: Julien Bouquillon <[email protected]>
Co-authored-by: Emile Rolley ⏚ <[email protected]>
Signed-off-by: Julien Bouquillon <[email protected]>
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