-
Notifications
You must be signed in to change notification settings - Fork 1
Add new contingency list by filter #711
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
Conversation
Signed-off-by: basseche <[email protected]>
Signed-off-by: basseche <[email protected]>
Signed-off-by: basseche <[email protected]>
src/components/dialogs/contingency-list/creation/contingency-list-creation-form.tsx
Show resolved
Hide resolved
src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-dialog.tsx
Outdated
Show resolved
Hide resolved
src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-form.tsx
Show resolved
Hide resolved
|
||
const equipmentTypes: string[] = useMemo(() => { | ||
return [ | ||
EquipmentType.TWO_WINDINGS_TRANSFORMER, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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
src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-from.tsx
Outdated
Show resolved
Hide resolved
src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-from.tsx
Outdated
Show resolved
Hide resolved
src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-from.tsx
Outdated
Show resolved
Hide resolved
src/components/dialogs/contingency-list/filter-based/separator-cell-renderer.tsx
Outdated
Show resolved
Hide resolved
src/components/dialogs/contingency-list/filter-based/separator-cell-renderer.tsx
Outdated
Show resolved
Hide resolved
|
||
const equipmentTypes: string[] = useMemo(() => { | ||
return [ | ||
EquipmentType.TWO_WINDINGS_TRANSFORMER, |
There was a problem hiding this comment.
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
src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-form.tsx
Outdated
Show resolved
Hide resolved
src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-dialog.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Thang PHAM <[email protected]>
Co-authored-by: Thang PHAM <[email protected]>
Signed-off-by: Thang PHAM <[email protected]>
|
needs changes from commons-ui to compile :
gridsuite/commons-ui#839