Skip to content

Fix images in the manual are not loading#601

Merged
kraemr merged 2 commits intomasterfrom
598-Images-in-the-manual-are-not-loading
Aug 19, 2025
Merged

Fix images in the manual are not loading#601
kraemr merged 2 commits intomasterfrom
598-Images-in-the-manual-are-not-loading

Conversation

@TheBest6337
Copy link
Copy Markdown
Member

Fixes that the images are not loading in the manual on the HMI-Panel

Closes #598

Copilot AI review requested due to automatic review settings August 18, 2025 14:45
@TheBest6337 TheBest6337 linked an issue Aug 18, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes image loading issues in manual documentation displayed on the HMI-Panel by updating Vite configuration and standardizing image paths throughout markdown files.

  • Adds publicDir configuration to Vite renderer setup to properly serve static assets
  • Updates all image references from relative src/assets/ paths to standardized images/manuals/ paths
  • Ensures consistent image path structure across winder and mock machine documentation

Reviewed Changes

Copilot reviewed 3 out of 51 changed files in this pull request and generated 1 comment.

File Description
electron/vite.renderer.config.ts Configures Vite to serve public directory for static assets
electron/src/assets/markdown/winder/manual.md Updates all image paths from src/assets/ to images/manuals/winder/
electron/src/assets/markdown/mock/manual.md Updates single image path from src/assets/ to images/manuals/mock/

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Comment thread electron/vite.renderer.config.ts
Copy link
Copy Markdown
Collaborator

@kraemr kraemr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kraemr kraemr merged commit 474d64c into master Aug 19, 2025
4 checks passed
@kraemr kraemr deleted the 598-Images-in-the-manual-are-not-loading branch August 19, 2025 11:53
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.

Images in the manual are not loading

3 participants