fix(dashboard): address ELK layout review feedback #233
Reference in New Issue
Block a user
Delete Branch "fix/dashboard-elk-review-feedback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fix three non-blocking issues from PR #232 review.
Why
Code quality — unhandled promise rejection risk, type safety, and project convention compliance.
Changes
elkLabelX: number | nullandelkLabelY: number | nulltoConditionEdgeData(no optional properties per project convention)as ConditionEdgeDatatype assertion (now unnecessary); add.catch()tocomputeLayoutpromiseConditionEdgeDatadirectlyRef
PR #232 review comments
All three review notes from #232 are properly addressed:
.catch()added to thecomputeLayoutpromiseelkLabelX/elkLabelYmoved intoConditionEdgeDatatype — no more inline type assertionas ConditionEdgeDatacast inbuildEdgesince the type now includes those fieldsLGTM ✅