viberadar 0.3.86 → 0.3.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/dashboard.html +6 -1
- package/package.json +1 -1
package/dist/ui/dashboard.html
CHANGED
|
@@ -2488,12 +2488,17 @@ function obsMissingRunSelected(groupId) {
|
|
|
2488
2488
|
const container = document.getElementById('obs-detail-' + groupId);
|
|
2489
2489
|
if (!container) return;
|
|
2490
2490
|
const indices = [];
|
|
2491
|
+
const checkedLabels = [];
|
|
2491
2492
|
container.querySelectorAll('input[type="checkbox"]:checked').forEach(cb => {
|
|
2492
2493
|
const idx = parseInt(cb.dataset.missingIdx, 10);
|
|
2493
2494
|
if (!isNaN(idx)) indices.push(idx);
|
|
2495
|
+
const label = cb.closest('label');
|
|
2496
|
+
if (label) checkedLabels.push(label);
|
|
2494
2497
|
});
|
|
2495
2498
|
if (indices.length === 0) return;
|
|
2496
2499
|
runAgentTask('obs-fix-selected', null, null, null, { missingLogIndices: indices, recommendationType: 'add event' });
|
|
2500
|
+
checkedLabels.forEach(el => el.remove());
|
|
2501
|
+
obsUpdateSelectedCount(groupId);
|
|
2497
2502
|
}
|
|
2498
2503
|
|
|
2499
2504
|
async function runTests(featureKey, testType) {
|
|
@@ -2950,7 +2955,7 @@ function renderObsGlobalDetail(c, filterFeatureKey) {
|
|
|
2950
2955
|
}).join('') || '<div class="obs-sub">Шумных паттернов не обнаружено</div>';
|
|
2951
2956
|
|
|
2952
2957
|
// ── Missing critical logs (V2: grouped by risk tier with failure points) ──
|
|
2953
|
-
const v2Data = missingV2;
|
|
2958
|
+
const v2Data = missingV2.filter(m => m.failurePoints.length > 0);
|
|
2954
2959
|
window.__obsMissingV2 = v2Data;
|
|
2955
2960
|
const fpTypeLabels = {
|
|
2956
2961
|
'empty-catch':'пустой catch','catch-no-log':'catch без лога','promise-catch-no-log':'.catch без лога',
|