-
Notifications
You must be signed in to change notification settings - Fork 1
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
handle toggle popover when mouseover equipment #100
Conversation
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
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.
Test Ok
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
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.
Test and code Ok
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.
test & code : ok
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
5861215
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
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.
Just two minor comments left!
@@ -120,7 +120,7 @@ export class SingleLineDiagramViewer { | |||
arrowSvg: string; | |||
arrowHoverSvg: string; | |||
svgDraw: Svg | undefined; | |||
handleTogglePopover: HandleTogglePopoverType | null; | |||
handleTogglePopover: OnToggleSLDHoverCallbackType | null; |
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.
you'd better change the variable name also. And acronym should not have full upper case in variable/class names
handleTogglePopover: OnToggleSLDHoverCallbackType | null; | |
onToggleHoverCallback: OnToggleSldHoverCallbackType | null; |
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.
You forgot to change the variable name, I'll take care of it.
src/components/network-area-diagram-viewer/network-area-diagram-viewer.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: maissa SOUISSI <maissa.souissi@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Quality Gate failedFailed conditions |
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
What kind of change does this PR introduce?
handle popover when onhovering equipment
What is the current behavior?
Nothing happen when onhovering equipment from NAD
What is the new behavior (if this is a feature change)?
Show popover when onhovering equipment ( line or twt ) from NAD
Does this PR introduce a breaking change or deprecate an API?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
Other information: