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

Add image db field #49

Merged
merged 2 commits into from
Sep 3, 2023

Conversation

gbdlin
Copy link
Contributor

@gbdlin gbdlin commented Sep 2, 2023

This is a part of the effort to bring support for other image formats than png and allow for changing the image with new plugin version.

  • Added DB field for storing plugin thumbnail path on CDN.
  • Adjusted image upload to append file hash to the filename.
  • Started using plugin thumbnail from DB field when it's set.
  • Change migration names to include date and time when they were made. This orders them chronologically.

Fixes #17.

There is a 2nd part needed for this effort, that will fill up empty spots in DB as well as clean up handling of legacy image paths, but this should be enough to bring it to life.

@gbdlin gbdlin self-assigned this Sep 2, 2023
@gbdlin gbdlin added the enhancement New feature or request label Sep 2, 2023
- Change migration names to include date and time when they were made.
  This orders them chronologically.
- Added DB field for storing plugin thumbnail path on CDN.
- Adjusted image upload to append file hash to the filename.
- Started using plugin thumbnail from DB field when it's set.
@gbdlin gbdlin merged commit 650f21e into SteamDeckHomebrew:main Sep 3, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow updating images for the store
1 participant