viberadar 0.3.105 → 0.3.106
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 +10 -3
- package/package.json +1 -1
package/dist/ui/dashboard.html
CHANGED
|
@@ -2995,10 +2995,17 @@ function renderObsGlobalDetail(c, filterFeatureKey) {
|
|
|
2995
2995
|
window.__noisyPatterns = topNoisy.map(i => ({ pattern: i.pattern, recommendation: i.recommendation }));
|
|
2996
2996
|
|
|
2997
2997
|
const noisyRows = topNoisy.map((i, idx) => {
|
|
2998
|
-
// Find related modules from catalog that contain this pattern in noisyMessages
|
|
2998
|
+
// Find related modules from catalog that contain this pattern in noisyMessages.
|
|
2999
|
+
// No recommendation filter — a module can have any top-level recommendation but still
|
|
3000
|
+
// contribute noisy messages that match this pattern.
|
|
3001
|
+
// Both i.pattern (noisyMap key, 90-char truncated) and noisyMessages entries (80-char truncated)
|
|
3002
|
+
// come from the same source string, so we match by: exact, or one is prefix of the other.
|
|
2999
3003
|
const relatedModules = catalog.filter(c =>
|
|
3000
|
-
(c.
|
|
3001
|
-
|
|
3004
|
+
(c.noisyMessages || []).some(m => {
|
|
3005
|
+
if (!m) return false;
|
|
3006
|
+
const p = i.pattern;
|
|
3007
|
+
return m === p || m.startsWith(p) || p.startsWith(m);
|
|
3008
|
+
})
|
|
3002
3009
|
);
|
|
3003
3010
|
const moduleCount = relatedModules.length;
|
|
3004
3011
|
|