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

translate voltagelevel with substation creation modification label #699

Conversation

ghazwarhili
Copy link
Contributor

No description provided.

@Mathieu-Deharbe Mathieu-Deharbe self-requested a review February 24, 2025 10:51
@Mathieu-Deharbe
Copy link
Contributor

@ghazwarhili there was a conflict on this PR : it was simple and you were not there so I solved it myself.

Copy link
Contributor

@Mathieu-Deharbe Mathieu-Deharbe left a comment

Choose a reason for hiding this comment

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

Code and Test ok except for older network modification because there is no migration yet. But I can see that it is explained in the ticket. Where do you plan to add it ?

Anyway I think migrating this is not a big deal, is it ?

@@ -27,6 +27,8 @@ interface ModificationValues {
energizedVoltageLevelId: string;
equipmentAttributeName: string;
equipmentAttributeValue: string;
voltageLevelEquipmentId: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

I already said it in the back but I think equipmentId is enough and should be used for the main equipment id.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I prefer to use voltageLevelEquipmentId to be coherent with the new VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION type

@ghazwarhili
Copy link
Contributor Author

confirmed with @etiennehomer : no migration needed.

…tion-voltageLevel-with-substation-creation' into implement-specific-label-translation-voltageLevel-with-substation-creation
Copy link

@ghazwarhili ghazwarhili merged commit 09d30a5 into main Feb 26, 2025
5 checks passed
@ghazwarhili ghazwarhili deleted the implement-specific-label-translation-voltageLevel-with-substation-creation branch February 26, 2025 15:53
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