Show error details when selecting wrong image or recovery
When selecting an image or recovery that does not match the device codes, I was bothered by the lack of transparency and specificity in the error message, which just said the files "don't work with the device".
We now show an error message that gives the user a better clue about why we rejected the file they chose. It explicitly shows the discovered and expected device codes.
As a bonus, other errors from the checking code show up, such as this example for an unexpected type of zip file:
For comparison, here is the "both successful" view, which is unchanged.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information