owncloud / owncloud/ocis

File previews unavailable in embed mode

Open
#10,950 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 2h
Merged PRs (30d)
106

Description

When embed=true or WEB_OPTION_EMBED_ENABLED=true, file previews for types like txt, png, jpeg, etc no longer work. Previewing files is a standard feature on any file browser and this option should not be disabled when in embed mode.

Contributor guide

Open the contributing guide

Research direction

Start by locating the handling of embed=true and WEB_OPTION_EMBED_ENABLED, then trace where previews for txt, png, and jpeg files are gated. Verify that those file types can be previewed when embed mode is enabled, while the existing non-embed behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.