Details pages: broken information for non-apps and local packages
This issue is a continuation of #1383 (closed). There's also some potential overlap with #1451 (closed).
If I open up something that isn't a remote app, there are various issues with the metadata displayed. Take the following examples:
This shows screenshots of:
- Local RPM containing a repo
- Local RPM containing a non-app
- A local
.flatpakref
- A local RPM containing an app
Issues:
- 3/4 show the download size as 0. This isn't useful information to display and looks a bit broken.
- 1/4 shows the download size as unknown, which seems like a bug.
- The Flathub repo is identified as being proprietary, which I don't think is true.
- The non-app RPM is also identified as proprietary, which seems off in this particular case. It's not code.
For things that aren't apps, I wonder whether we should not show the context bar and licence tile.