viberadar 0.3.203 → 0.3.205
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/scanner/index.d.ts.map +1 -1
- package/dist/scanner/index.js +12 -3
- package/dist/scanner/index.js.map +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +120 -1
- package/dist/server/index.js.map +1 -1
- package/dist/ui/dashboard.html +14 -12
- package/package.json +1 -1
package/dist/ui/dashboard.html
CHANGED
|
@@ -4865,18 +4865,20 @@ function renderObsGlobalDetail(c, filterFeatureKey) {
|
|
|
4865
4865
|
const _featureHeader = filterFeatureKey ? (() => {
|
|
4866
4866
|
const isUnmapped = filterFeatureKey === '__unmapped__';
|
|
4867
4867
|
const bf = !isUnmapped && o.byFeature ? o.byFeature.find(f => f.key === filterFeatureKey) : null;
|
|
4868
|
-
const label = isUnmapped ? 'Unmapped' : (bf ? bf.label : filterFeatureKey);
|
|
4869
|
-
const color = isUnmapped ? '#e3b341' : (bf ? bf.color : '#484f58');
|
|
4870
|
-
const score = bf ? bf.score : null;
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
<
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4868
|
+
const label = isUnmapped ? 'Unmapped' : (bf ? bf.label : filterFeatureKey);
|
|
4869
|
+
const color = isUnmapped ? '#e3b341' : (bf ? bf.color : '#484f58');
|
|
4870
|
+
const score = bf ? bf.score : null;
|
|
4871
|
+
const featurePromptBtn = `<button class="obs-copy-btn" title="Скопировать единый prompt по наблюдаемости фичи" onclick="event.stopPropagation();obsCopyPrompt('obs-feature-review',{featureKey:'${escapeHtml(filterFeatureKey)}'})">📋 Prompt по фиче</button>`;
|
|
4872
|
+
return `<div class="feature-detail-header">
|
|
4873
|
+
<button class="back-btn" onclick="setFeatureDrill(null)">← Все фичи</button>
|
|
4874
|
+
<span class="feature-detail-name">
|
|
4875
|
+
<span class="feature-dot" style="background:${color}"></span>
|
|
4876
|
+
${escapeHtml(label)}
|
|
4877
|
+
</span>
|
|
4878
|
+
${score != null ? `<span style="font-size:20px;font-weight:700;color:${covColor(score)}">${score}%</span>` : ''}
|
|
4879
|
+
${featurePromptBtn}
|
|
4880
|
+
</div>`;
|
|
4881
|
+
})() : '';
|
|
4880
4882
|
|
|
4881
4883
|
c.innerHTML = `
|
|
4882
4884
|
${_featureHeader}
|