spotlight icon indicating copy to clipboard operation
spotlight copied to clipboard

Not able to view assets in Electron

Open Shubhdeep12 opened this issue 2 years ago • 1 comments

Environment

What version are you running? Etc.

Steps to Reproduce

  1. Try previewing the span with span.op as resource.img in the spanDetails page both in the browser and in the Electron app

Expected Result

Ideally, the assets should be visible in the Electron app also

Actual Result

Browser image

.

Local App image

Reason - description of these spans with preview is treated as src for img tag and this description usually contains the path not the exact URL of assets(images). In the browser, it works because local assets need a browser base path but the electron app is opened on port 5317 locally, causing the error.

Solution brainstorm - there is a request with URL value in transaction data, which I think we can use.

Shubhdeep12 avatar Dec 20 '23 17:12 Shubhdeep12

Same issue if we open spotlight in new tab using sidecar URL - http://localhost:8969/

Shubhdeep12 avatar Dec 21 '23 05:12 Shubhdeep12