-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Extend conditional #7851
base: conditional-style-performance
Are you sure you want to change the base?
Extend conditional #7851
Conversation
… for historical conditional telemetry queries to allow for plotting
@@ -243,6 +243,7 @@ export default { | |||
domainObject: { | |||
...this.childObject, | |||
configuration: { | |||
...this.childObject.configuration, |
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.
Fixes a bug with stacked plots
@@ -94,7 +94,7 @@ export function ticks(start, stop, count) { | |||
} | |||
|
|||
export function commonPrefix(a, b) { | |||
const maxLen = Math.min(a.length, b.length); | |||
const maxLen = Math.min(a.length, b?.length); |
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.
Fixes an issue with undefined
telemetry in plots
@@ -110,7 +110,7 @@ export function commonPrefix(a, b) { | |||
} | |||
|
|||
export function commonSuffix(a, b) { | |||
const maxLen = Math.min(a.length, b.length); | |||
const maxLen = Math.min(a.length, b?.length); |
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.
Same as above
const conditionDetails = conditionCollectionMap.get(id); | ||
const { isDefault } = conditionDetails; | ||
const conditionConfiguration = conditionDetails?.configuration; | ||
const { outputTelemetry, outputMetadata, output } = conditionConfiguration; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
const conditionDetails = conditionCollectionMap.get(id); | ||
const { isDefault } = conditionDetails; | ||
const conditionConfiguration = conditionDetails?.configuration; | ||
const { outputTelemetry, outputMetadata, output } = conditionConfiguration; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
const outputTelemetryList = []; | ||
const domainObject = this.conditionSetDomainObject; | ||
outputTelemetryMap.forEach((outputMetadata, timestamp) => { | ||
const { condition, telemetry, value } = outputMetadata; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Just want to say its great to see a PR by @khalidadil again, 🥲 |
Thanks Dave! Still got some bugs to iron out and it needs tests, but it's getting there! |
Closes
Describe your changes:
All Submissions:
Author Checklist
type:
label? Note: this is not necessarily the same as the original issue.Reviewer Checklist