You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that the app supports user-uploaded images in the ~/.configs/Recipya/Images/ directory, it would be logical to store placeholder.webp there as well.
Current Behavior
Currently, recipes without an assigned image display a hard-coded placeholder from the binary: http(s)://hostname/static/img/recipes/placeholder.webp.
Proposed Behavior
Check if placeholder.webp exists in the ~/.configs/Recipya/Images/ directory.
If it does not exist: Copy the existing hard-coded image from the binary to this folder as placeholder.webp.
If it exists: Use this image as the placeholder for recipes without an assigned image.
Benefits
Improved Customization: Users can set their own placeholder, making the app feel more personal.
Consistency: The placeholder can match the style of user-uploaded images, enhancing the overall aesthetic.
Additional Considerations
Ensure that the app checks for updates to the placeholder.webp if the user wants to change it.
Implement logging to track when the app copies the default placeholder.webp to the user’s directory.
The text was updated successfully, but these errors were encountered:
Suggested Improvement
Given that the app supports user-uploaded images in the
~/.configs/Recipya/Images/
directory, it would be logical to storeplaceholder.webp
there as well.Current Behavior
Currently, recipes without an assigned image display a hard-coded placeholder from the binary:
http(s)://hostname/static/img/recipes/placeholder.webp
.Proposed Behavior
placeholder.webp
exists in the~/.configs/Recipya/Images/
directory.placeholder.webp
.Benefits
Additional Considerations
placeholder.webp
if the user wants to change it.The text was updated successfully, but these errors were encountered: