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

Add multi-substation layout feature #105

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tadam50
Copy link
Contributor

@tadam50 tadam50 commented Mar 14, 2024

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)

Does this PR already have an issue describing the problem?
'Fixes #94'

@tadam50 tadam50 self-assigned this Mar 14, 2024
@tadam50 tadam50 linked an issue Mar 14, 2024 that may be closed by this pull request
@tadam50 tadam50 requested a review from So-Fras March 14, 2024 09:35
@tadam50 tadam50 force-pushed the 94-add-multi-substation-layout-feature branch from f02c13c to ff2c88d Compare April 5, 2024 13:52
@So-Fras So-Fras force-pushed the 94-add-multi-substation-layout-feature branch from ff2c88d to b77ac28 Compare April 24, 2024 12:50
Comment on lines 117 to 120
SingleLineDiagram.drawMultiSubstations(network, ((Network) container).getSubstationStream().map(Identifiable::getId).toList(),
svgWriter,
metadataWriter,
sldParameters);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we shouldn't do that. Every time a network is loaded then clicking on the full network will launch this heavy process which cannot be interrupted, together with the same kind of heavy process on network area diagram. You're probably forced to kill the whole viewer each time you click on this with a big network.

Plus I noticed that when the viewer isn't used for a long time, the tree view forgets the selection for some reason and then the full network is selected by default. It's already taking off my laptop without this, so I can't imagine what would occur with this extra computation 🚀

tadam50 added 2 commits May 30, 2024 15:14
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
@So-Fras So-Fras force-pushed the 94-add-multi-substation-layout-feature branch from b77ac28 to d69b126 Compare May 30, 2024 13:14
Copy link
Contributor

@flo-dup flo-dup left a comment

Choose a reason for hiding this comment

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

@YohannBachelierNH you committed with the wrong email: ybachelier@silicom.fr is not the email associated with your github profile. This leads to an unverified commit. Could you fix the commit by fixing your git config and then amending the commit with the correct email?

git config user.email "emaill@mail.example"

@YohannBachelierNH YohannBachelierNH force-pushed the 94-add-multi-substation-layout-feature branch from 322a5c0 to bfdf390 Compare June 3, 2024 08:43
Signed-off-by: Yohann Bachelier <ybachelier@neverhack.com>
@YohannBachelierNH YohannBachelierNH force-pushed the 94-add-multi-substation-layout-feature branch from bfdf390 to 275ccd9 Compare June 3, 2024 09:07
Copy link

sonarcloud bot commented Jun 3, 2024

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.

Add multi-substation layout feature
3 participants