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

feat: add current info #505

Merged
merged 32 commits into from
Apr 6, 2023
Merged

feat: add current info #505

merged 32 commits into from
Apr 6, 2023

Conversation

hquarton
Copy link
Contributor

@hquarton hquarton commented Mar 14, 2023

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature

What is the current behavior? (You can also link to an open issue here)
Only active and reactive power pieces of information can currently be displayed on the graph.

What is the new behavior (if this is a feature change)?
This PR offers the possibility to display the current piece of information.

Signed-off-by: Hervé <herve.quarton@soprasteria.com>
So-Fras added 10 commits March 16, 2023 20:48
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…layed by default)

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@So-Fras So-Fras requested a review from flo-dup March 20, 2023 14:31
@So-Fras So-Fras added the enhancement New feature or request label Mar 20, 2023
So-Fras and others added 6 commits March 22, 2023 17:08
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@So-Fras So-Fras requested a review from flo-dup March 22, 2023 19:22
So-Fras and others added 6 commits March 28, 2023 16:10
Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…abel + update test references

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
single-line-diagram/single-line-diagram-core/pom.xml Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

Just realizing it's a bit strange to display current with an arrow, as it's always positive.

Copy link
Member

@So-Fras So-Fras Apr 4, 2023

Choose a reason for hiding this comment

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

For single-line diagrams, I used the reactive power arrow direction for the current arrow direction. Let me know if it is something I should remove.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd say we'd rather investigate this more before doing so

Copy link
Member

Choose a reason for hiding this comment

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

I will remove it for now!

So-Fras and others added 8 commits April 3, 2023 15:54
fix year and author

Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
…s reactive power

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…wer arrow direction

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@So-Fras So-Fras requested a review from flo-dup April 4, 2023 19:23
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

94.7% 94.7% Coverage
0.0% 0.0% Duplication

@flo-dup flo-dup merged commit 4230b21 into main Apr 6, 2023
@flo-dup flo-dup deleted the add-current-info branch April 6, 2023 07:50
BenoitJeanson pushed a commit that referenced this pull request May 2, 2023
* feature: add current feeder info arrow
* new management of edge info for network area diagram: only one type possible among active power, reactive power and current
* Change dominant baseline for label: mathematical instead of middle
* add unit tests
* update test references

Signed-off-by: Hervé <herve.quarton@soprasteria.com>

Co-authored-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: BenoitJeanson <benoit.jeanson@rte-france.com>
BenoitJeanson pushed a commit that referenced this pull request May 4, 2023
* feature: add current feeder info arrow
* new management of edge info for network area diagram: only one type possible among active power, reactive power and current
* Change dominant baseline for label: mathematical instead of middle
* add unit tests
* update test references

Signed-off-by: Hervé <herve.quarton@soprasteria.com>

Co-authored-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
BenoitJeanson pushed a commit that referenced this pull request May 4, 2023
* feature: add current feeder info arrow
* new management of edge info for network area diagram: only one type possible among active power, reactive power and current
* Change dominant baseline for label: mathematical instead of middle
* add unit tests
* update test references

Signed-off-by: Hervé <herve.quarton@soprasteria.com>

Co-authored-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants