## 1.123.0

This commit is contained in:
Mike Phares 2025-04-24 18:55:12 -07:00
parent 47d3a22371
commit 5ad1f744d2
4 changed files with 9 additions and 3 deletions

View File

@ -246,3 +246,8 @@ None
- Extension to javascript communication - Extension to javascript communication
- cod-1-122-0.js - cod-1-122-0.js
## 1.123.0 1745545527205 = 638811423272050000 = 2025-1.Spring = Thu Apr 24 2025 18:45:26 GMT-0700 (Mountain Standard Time)
-----------------------------------------------------------------------------------------------------------
- Enable find within Cost of Delay (CoD)

View File

@ -354,5 +354,5 @@
"watch": "concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"", "watch": "concurrently \"rollup -c -w\" \"webpack --watch --config ./build/node-extension.webpack.config.js\"",
"webpack": "webpack --config ./build/node-extension.webpack.config.js" "webpack": "webpack --config ./build/node-extension.webpack.config.js"
}, },
"version": "1.122.0" "version": "1.123.0"
} }

View File

@ -46,6 +46,7 @@ export class WebviewPanelCostOfDelay {
{ {
// Enable javascript in the webview // Enable javascript in the webview
enableScripts: true, enableScripts: true,
enableFindWidget: true,
// And restrict the webview to only loading content from our extension's `media` directory. // And restrict the webview to only loading content from our extension's `media` directory.
localResourceRoots: [ localResourceRoots: [
@ -117,7 +118,7 @@ export class WebviewPanelCostOfDelay {
private _getHtmlForWebview(site: string, title: string, view: string, webview: vscode.Webview) { private _getHtmlForWebview(site: string, title: string, view: string, webview: vscode.Webview) {
const baseUri = 'https://eaf-dev.mes.infineon.com'; const baseUri = 'https://eaf-dev.mes.infineon.com';
const scriptUri = 'cod-1-122-0.js?v=2025-04-14-08-10'; const scriptUri = 'cod-1-123-0.js?v=2025-04-14-08-10';
// Use a nonce to only allow a specific script to be run. // Use a nonce to only allow a specific script to be run.
const nonce = getNonce(); const nonce = getNonce();
@ -164,7 +165,6 @@ export class WebviewPanelCostOfDelay {
<link href="${styleCostOfDelayUri}" rel="stylesheet" /> <link href="${styleCostOfDelayUri}" rel="stylesheet" />
<script nonce="${nonce}" src="${scriptJQueryUri}"></script> <script nonce="${nonce}" src="${scriptJQueryUri}"></script>
<script nonce="${nonce}" src="${scriptSignalRUri}"></script> <script nonce="${nonce}" src="${scriptSignalRUri}"></script>
<script nonce="${nonce}" src="${baseUri}/signalr/hubs"></script>
<script nonce="${nonce}" src="${baseUri}/js/${scriptUri}" type="text/javascript"></script> <script nonce="${nonce}" src="${baseUri}/js/${scriptUri}" type="text/javascript"></script>
<script nonce="${nonce}"> <script nonce="${nonce}">
const _webviewSite = '${site}'; const _webviewSite = '${site}';

View File

@ -38,6 +38,7 @@ export class WebviewPanelExample {
{ {
// Enable javascript in the webview // Enable javascript in the webview
enableScripts: true, enableScripts: true,
enableFindWidget: true,
// And restrict the webview to only loading content from our extension's `media` directory. // And restrict the webview to only loading content from our extension's `media` directory.
localResourceRoots: [ localResourceRoots: [