Skip to content

[WIP] Fix sample image loading issue#1420

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-sample-image-loading
Closed

[WIP] Fix sample image loading issue#1420
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-sample-image-loading

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 23, 2025

  • Identify the issue: Assets struct only embeds from assets directory with icons/**/*.svg pattern
  • Update assets.rs to include src/fixtures directory in the embedded resources
  • Test the fix by building and running the story application
  • Verify the images load correctly
Original prompt

This section details on the original issue you should resolve

<issue_title>The sample image cannot be loaded</issue_title>
<issue_description>2025-10-23T08:19:17.654004Z ERROR gpui::asset_cache: Failed to load asset: asset error: Embedded resource not found: src/fixtures/color-wheel.svg</issue_description>

<agent_instructions>To fix this issue</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Fixes #1418


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@huacnlee
Copy link
Copy Markdown
Member

@copilot continue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The sample image cannot be loaded

2 participants