ipfs / ipfs/ipfs-webui

File previews not working in Explore section

Open
#1,368 1 comment 1 reaction 0 assignees View on GitHub
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:

![ipfs-desktop-screenshot](https://user-images.githubusercontent.com/1140553/70980474-ad7b5f80-20b3-11ea-9a2a-ede6801ecafb.png)

## Expected outcome

Image preview is displayed in the app.

Mockup:

![ipfs-desktop-mockup](https://user-images.githubusercontent.com/1140553/70980920-7194ca00-20b4-11ea-9d94-d52954e96ffb.png)

## 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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.