Enhance AI Insight with new state management and PDF export functionality. Added selectedArea state to App for better context in reports. Introduced new markdown files for documentation on AI Insight improvements and setup instructions. Updated package dependencies and fixed TypeScript errors for improved stability.
CI / lint-and-test (push) Canceled after 0s

This commit is contained in:
Alberto-Audrix committed 2026-08-11 09:19:06 +07:00
1 parent a8b49374f1
commit 2a627a2c3f
84 files changed
+8415 -2692

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ class PerformanceService {
new PerformanceObserver((entryList) => {
const entries = entryList.getEntries();
if (entries.length > 0) {
this.metrics.lcp = entries[entries.length - 1].startTime;
this.metrics.lcp = entries[entries.length - 1]?.startTime ?? null;
}
}).observe({ type: 'largest-contentful-paint', buffered: true });
}
@@ -76,7 +76,7 @@ class PerformanceService {
new PerformanceObserver((entryList) => {
for (const entry of entryList.getEntries()) {
if (!(entry as LayoutShift).hadRecentInput) {
this.metrics.cls += (entry as LayoutShift).value;
this.metrics.cls = (this.metrics.cls ?? 0) + (entry as LayoutShift).value;
}
}
}).observe({ type: 'layout-shift', buffered: true });