Skip to content

Conversation

basseche
Copy link
Contributor

@basseche basseche commented Aug 22, 2025

needs changes from commons-ui to compile :
gridsuite/commons-ui#839

@basseche basseche self-assigned this Aug 22, 2025
@basseche basseche closed this Sep 2, 2025
@basseche basseche reopened this Sep 2, 2025
@basseche basseche changed the title add new contingency list by filter WIP : add new contingency list by filter Sep 2, 2025
@basseche basseche changed the title WIP : add new contingency list by filter Add new contingency list by filter Sep 11, 2025

const equipmentTypes: string[] = useMemo(() => {
return [
EquipmentType.TWO_WINDINGS_TRANSFORMER,
Copy link
Contributor

Choose a reason for hiding this comment

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

À propos de EquipmentType

Deprecated:
move to a specialized subtype as this one is used everywhere and cause problems

Copy link
Contributor Author

@basseche basseche Sep 22, 2025

Choose a reason for hiding this comment

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

Oui je sais. Mais ça n'a pas de sens de mettre deprecated alors qu'il n'y a pas d’alternative. Du coup, il a été décidé, après un daily, d'enlever ce deprecated.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah ok je savais pas, il faudrait peut etre l'enlever du coup...

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a literal object => extract to outside of component but in the same file

@basseche basseche removed the request for review from Mathieu-Deharbe September 22, 2025 08:05
@basseche basseche requested a review from flomillot September 22, 2025 13:57
@flomillot
Copy link
Contributor

flomillot commented Sep 23, 2025

Text not centered in the Chips

image


const equipmentTypes: string[] = useMemo(() => {
return [
EquipmentType.TWO_WINDINGS_TRANSFORMER,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a literal object => extract to outside of component but in the same file

@basseche basseche requested a review from flomillot September 24, 2025 11:37
Signed-off-by: Thang PHAM <[email protected]>
@thangqp thangqp self-requested a review September 24, 2025 12:58
Copy link

@basseche basseche merged commit e429129 into main Sep 24, 2025
5 checks passed
@basseche basseche deleted the contingencyListByFilter branch September 24, 2025 13:30
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.

3 participants