Commit Graph

493 Commits

Author SHA1 Message Date
e9e588385b Replace JSON.parse(JSON.stringify()) with lodash-es cloneDeep for deep cloning Vue reactive data (S7784)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 08:34:31 +08:00
75adbd9c6b Use Math.min to simplify ternary clamping expressions (S7766)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 07:37:46 +08:00
81df955845 Reduce cognitive complexity by extracting helper functions (S3776)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 01:03:44 +08:00
804d78837b Flip negated conditions to positive for readability (S7735)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:59:37 +08:00
5a936cad97 Use nullish coalescing operator (S6606) and fix duplicate id (S7930)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:55:19 +08:00
d4429571d5 Revert "Use structuredClone instead of JSON.parse(JSON.stringify()) (S7784)"
This reverts commit 2b0dadedd4.
2026-03-10 00:50:31 +08:00
4e5129ca13 Use Set with .has() instead of Array with .includes() (S7776)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:32:30 +08:00
468fa63201 Remove zero fractions from number literals (S7748)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:31:40 +08:00
1c8ac09184 Compare with undefined directly instead of using typeof (S7741)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:30:58 +08:00
ebd198e28d Use String.replaceAll() instead of String.replace() with /g flag (S7781)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:29:28 +08:00
2b0dadedd4 Use structuredClone instead of JSON.parse(JSON.stringify()) (S7784)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:28:30 +08:00
3768c6e5ec Use Number.parseInt/parseFloat/isNaN/isFinite instead of globals (S7773)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:26:59 +08:00
12068281e9 Remove unused imports and variables (S1128, S1481, S1854)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:18:03 +08:00
6d13bc9eb8 Replace deprecated PrimeVue components with their successors (S1874)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:14:01 +08:00
716edb33b7 Initialize result to null and remove redundant await in MoreModal switchCaseData
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 23:38:13 +08:00
1258829c01 Add null guard for infiniteData.length in MoreModal handleScroll
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 23:37:34 +08:00
a9a4b89111 Lower z-index from 2^31 overflow to reasonable 1100
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 23:23:54 +08:00
2b1d60b3d1 Add null guard before spreading fetchData result in MoreModal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 23:23:25 +08:00
2f0728280c Reset loading and scroll state in fetchData catch blocks to prevent stuck UI
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 23:23:05 +08:00
dd5096b10b Add radix parameter to parseInt calls in DurationInput
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:46:20 +08:00
bbcbdf542a Add try-catch-finally to switchCaseData to prevent loading stuck on error
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:45:30 +08:00
e5b40605ec Add null guards for ref(null) stat data in SidebarStates template and show handler
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:23:09 +08:00
533b78a37f Use col.field instead of array index as v-for key on Column components
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:06:50 +08:00
242c96f978 Add null checks for DOM queries in resizeLeftMask/resizeRightMask
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:06:17 +08:00
68806aa29e Add early return guard for undefined uploadFile before accessing .size
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:05:53 +08:00
d47d03c3be Fix timeLabel regex to match decimal values like "45.5 sec"
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:05:27 +08:00
d0da9e875e Remove orphaned emitter.emit calls with no matching listener
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:54:10 +08:00
f04da6e278 Fix memory leaks from Cytoscape instances not returned/destroyed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:53:25 +08:00
9aa60414e7 Remove unnecessary async from 9 functions that have no await
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:44:37 +08:00
a5e0e59e0b Add division by zero guards in setLoopData and setIssueData
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:43:52 +08:00
ddec851276 Add consistent en-US locale to toLocaleString() calls
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:22:49 +08:00
333685fb99 Initialize maxTotal/minTotal from props via watchers in DurationInput
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:22:02 +08:00
35d5b07b07 Remove unnecessary await on non-Promise values in FunnelFilter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 19:38:58 +08:00
542b941efb Add missing padStart when clamping to min value in DurationInput
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:48:45 +08:00
674afd769c Replace loose equality (==) with strict equality (===) for ID comparisons
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:48:28 +08:00
e5e7b8b7b6 Add division by zero guards in TraceFilter traceList and caseTotalPercent
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:47:47 +08:00
1f603af1a9 Add division by zero guard in SidebarTraces traceList computed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:47:20 +08:00
f69eb6ac15 Remove no-op circular watch on isSubmittedData in ConformanceSidebar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:32:56 +08:00
e6651f27ba Add null guard for valueData in AttributesFilter computed properties
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:12:46 +08:00
86e08b7146 Fix .toFixed() string-to-number comparison by wrapping with Number()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:05:01 +08:00
b6499020c6 Add division by zero guards in traceList computed and conformance rate
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:04:51 +08:00
d3bba9d1a2 Add emitter.off cleanup in onBeforeUnmount for 10 components
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:04:43 +08:00
7e09b21f2e Add fallback for undefined ratio in TraceFilter chart config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:51:45 +08:00
2349554a26 Track and clear setTimeout in ConformanceSidebar watch on unmount
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:51:44 +08:00
957f875377 Destroy Chart.js instance on unmount in TimeframesFilter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:51:43 +08:00
3ad898aaab Add null coalescing for facets and attributes access in MoreModal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:10:17 +08:00
b10fcc057e Add null guard for querySelector and fix days using raw input value
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:10:15 +08:00
4c2a79a514 Add null guards for querySelector results and division by zero in AttributesFilter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:10:11 +08:00
a6d32672bc Add array length guard in TimeframesFilter timeFrameData computed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 16:31:26 +08:00
89dc327044 Add empty data guard in MoreModal columnData computed property
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 16:31:25 +08:00