File previews not working in Explore section
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 534
- PR merge metrics
- No merged PRs in 30d
Description
## Steps to reproduce
1. Launch ipfs-desktop
2. Open "Explore" section
3. Go to "XKCD" sample
4. Open one of the entries, e.g. `10 - Pi Equals`
5. Open the image entry, e.g. `10 - Pi Equals.png`
## Actual outcome
Preview is not available. User has to view the image via IPFS gateway link provided by the app (e.g. http://127.0.0.1:8080/ipfs/QmbvrHYWXAU1BuxMPNRtfeF4DS2oPmo5hat7ocqAkNPr74).
Screenshot:

## Expected outcome
Image preview is displayed in the app.
Mockup:

## Additional information
- ipfs-desktop version: v0.10.2
- tested on MacOS and Windows
- AFAICT, ipfs-webui does provide file preview functionality, see https://github.com/ipfs-shipyard/ipfs-webui/blob/1eef40c9f8bf5c135f21fd80ae739405ff6da8e9/src/files/file-preview/FilePreview.js
- Based on the discussion in https://github.com/ipfs-shipyard/ipfs-desktop/issues/785, it seems like file previews are supposed to work in ipfs-desktop. Maybe they are not implemented in Explore UI yet?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.