Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomly deletting images from my blog #1394

Open
BlazWebDevelopment opened this issue Jan 31, 2025 · 0 comments
Open

Randomly deletting images from my blog #1394

BlazWebDevelopment opened this issue Jan 31, 2025 · 0 comments

Comments

@BlazWebDevelopment
Copy link

Images Randomly Deleted on Commit in Keystatic

Description
We have set up Keystatic on our website and structured our content folders as shown in the image below:

📂 Folder Structure
Image

However, when making simple text edits via ourpage.com/keystatic and committing the changes, Keystatic randomly deletes images from our repository—specifically the hero-image and various images within the blog folder.

In the commit history, we can see that these images are being removed, even though we never modified or interacted with them:

📉 Commit Showing Deleted Images
Image

Steps to Reproduce
Open ourpage.com/keystatic
Edit any text content and commit the changes
Check the commit history – images are deleted unexpectedly
Expected Behavior
Keystatic should only commit the text changes made in the editor, without deleting any unrelated images.

Actual Behavior
The commit removes images from the blog folder and the hero-image, even though they were not edited.

Environment
Keystatic Version: [ "@keystatic/astro": "^5.0.3", "@keystatic/core": "^0.5.39" ]
Hosting: [ Netlify ]
Repository: [GitHub]
Browser: [Chrome, Brave]

Has anyone else encountered this issue? Could this be a bug in how Keystatic handles file tracking? Any insights or solutions would be greatly appreciated.

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

No branches or pull requests

1 participant