vscode-viva icon indicating copy to clipboard operation
vscode-viva copied to clipboard

🐞 Bug report: Some images are broken in sample gallery detail view

Open Saurabh7019 opened this issue 7 months ago β€’ 1 comments

⭐ Priority

(Low)☹️ Something is a little off

πŸ“ Describe the bug

In the sample gallery detail view, some samples show broken images. Checked a few samples where this issue occurs.

Example: Chatbot Integration for SharePoint Online

Image

looks fine in sample repo:

Image

πŸ‘£ Steps To Reproduce

  • Open SPFx Toolkit extension in VS Code
  • Click on View Samples under the Actions section
  • Search for Chatbot Integration
  • Click on View
  • Scroll down to see the screenshots

πŸ“œ Expected behavior

If the images load correctly in the sample repository README, they should also appear correctly in the sample gallery detail view.

πŸ“· Screenshots

No response

❓SharePoint Framework Toolkit version

4.7.1

❓Node.js version

22.14.0

πŸ€” Additional context

The issue seems to be how relative path is handled while fetching the README file

Image

Saurabh7019 avatar May 05 '25 09:05 Saurabh7019

Thanks for rising this up πŸ‘ lets investigate why does this happen

Adam-it avatar May 05 '25 10:05 Adam-it

Could you assign this issue to me?

DevPio avatar May 22 '25 18:05 DevPio

Could you assign this issue to me?

Of course! It's yours πŸ‘

Saurabh7019 avatar May 22 '25 18:05 Saurabh7019