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

Refactor/2318/prepare migration of metric data services #2514

Merged

Conversation

shaman-apprentice
Copy link
Contributor

@shaman-apprentice shaman-apprentice commented Nov 18, 2021

This PR moves the calculation of metric data into selectors, so that we can easily access them from Angular components to come during migration.

The only "real" change, is that on onAttributeTypesChanged nodeMetricData and edgeMetricData aren't recalculated anymore, as they are independent of attributeType.

Copy link
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

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

Great work!

Just left two minor comments.

shaman-apprentice and others added 3 commits November 18, 2021 15:51
…ice.spec.ts

Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
- which keeps previous behaviour
- is more performant

refs: #2318
@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2021

[CodeCharta Analysis] 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

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2021

[CodeCharta Visualization] 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 5 Code Smells

95.8% 95.8% Coverage
0.0% 0.0% Duplication

@shaman-apprentice shaman-apprentice merged commit d0b8567 into main Nov 18, 2021
@shaman-apprentice shaman-apprentice deleted the refactor/2318/prepare-migration-of-metric-data-services branch November 18, 2021 16:34
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.

None yet

2 participants