You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove policy simulation from upstream resolution preview (#36)
* fix: remove policy simulation from upstream resolution preview
- Strip policy fetch path from previewResolution(), now only loads local package state and upstream configs
- Delete dead simulatePolicies() helper from upstreamChecker.js
- Add WebView rendering tests for upstream content and error states without policy data
* chore: add changelog entry for v2.1.1
? `<div class="resolution-yes">This package can likely resolve through ${result.upstreams.data.active} active upstream${result.upstreams.data.active===1 ? "" : "s"}. `+
84
-
"If Block Until Scan is enabled, the package stays blocked until policy evaluation completes.</div>"
63
+
? `<div class="resolution-yes">This package can likely resolve through ${result.upstreams.data.active} active upstream${result.upstreams.data.active===1 ? "" : "s"}.</div>`
85
64
: '<div class="resolution-no">No active upstreams for this format. Upload the package directly.</div>';
86
65
87
66
return`<!DOCTYPE html>
@@ -124,9 +103,6 @@ class UpstreamPreviewProvider {
124
103
125
104
<h3>Upstreams (${result.upstreams.data.active} active of ${result.upstreams.data.total})</h3>
0 commit comments