tbrittain / SmbExplorerCompanion

Baseball-Reference style desktop application for Super Mega Baseball 4 franchise playthroughs
MIT License
2 stars 0 forks source link

Ability to upload team logo image for use app-wide #6

Open tbrittain opened 1 year ago

tbrittain commented 1 year ago
tbrittain commented 1 year ago

Nonessential, but it would offer a more customized UX

tbrittain commented 7 months ago

As part of this, deprecate the TeamLogoHistory tables. Instead, add a column to the TeamSeasonHistory table with a pointer to a file on disk. For the user image upload, process the image if desired, then copy it over to the app data dir and set up a directory structure that is something like /base app directory/files/logos/franchise ID/team ID/. Then store all the logos associated with that team in there, and add a pointer to the generated file name in the table column.

Then when we want to associate multiple team seasons with the same logo, just allow adding the same pointer to the single file for each season