when a platform slog is not present in `PLATFORMS_VERSIONS`, which is
the common case overall, the component was trying to fetch an
`undefined.ico` image.
Instead of that, we should check if the platform slug is present in
`PLATFORMS_VERSIONS` and if not, fallback to the platform slug itself.
According to Ruffle documentation [1], the `preferredRenderer` option is
only needed if a renderer needs to be enforced. When not provided:
> By default, Ruffle chooses the most featureful backend supported by the
> user's system, falling back to more basic backends if necessary.
This commit removes the `preferredRenderer` option from the Ruffle
configuration in the frontend, so that the default behavior is used.
It also removes the noisy `logLevel` option, which was set to `debug`.
Fixes rendering issue for `Boxhead: The Rooms`, reported in #1216.
[1] https://github.com/ruffle-rs/ruffle/wiki/Using-Ruffle
If a game is manually unmatched, we update its `name` field to
`file_name` (which includes both tags and extension). After that, if we
go to the Rom list, and click on "Manual match" for that rom, the search
field is populated with that Rom name, which commonly won't retrieve any
results from the metadata providers.
This change makes the "Manual match" search term to use the filename
without tags or extension, when the Rom is currently not matched. It
also triggers the search automatically when a search term was set.
Potential fix for #1167.
* Initialize `removeCover` as `false` on each dialog render, so previous
overrides don't affect the initial state.
* Make both file upload and cover online search update `removeCover` to
false.
* Fix collection update to send `remove_cover` to the API.
Potential fix for #1169.