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

[WIP] Allow the use of units on single-line diagram feeder info #533

Closed
wants to merge 1 commit into from

Conversation

So-Fras
Copy link
Member

@So-Fras So-Fras commented Jul 13, 2023

Please check if the PR fulfills these requirements

  • 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?
Feature/Bug
While there were existing functions in the ValueFormatter to take into account units for feeder info, it was not possible to customize the diagram: no units were displayed. The aim is to allow users to choose a unit for feeder info. The setters for single-line diagram feeder info units would be in the future SvgParameters class (available after the #522 merge).
The default value for each unit would be an empty String so as not to change the current behaviour.

Does this PR introduce a breaking change or deprecate an API?
No

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@sonarqubecloud
Copy link

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 4 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@So-Fras So-Fras closed this Sep 28, 2023
@So-Fras So-Fras deleted the unit_feeder_info branch September 28, 2023 20:38
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.

1 participant