Skip to content

[FEATURE REQUEST] Thumbnail improvements in grid view #4145

@jesmrec

Description

@jesmrec

Current behaviour / Context:

When browsing through folder structure, a request per item is sent:

/remote.php/dav/files/<username>/<filename>?x=336&y=336&c=&preview=1

response returns the thumbnail preview if exists, otherwise returns 404

Usually, servers return thumbnails for images (not every format) and txt files, but it could change.

Problem:

In grid view, images use to show the thumbnail, but the name. But, not every image format is handled by the server. So, we have some items without thumbnail nor name, weird for the user:

Screenshot 2023-08-30 at 18 20 37

Solution (please, suggest other if this one is not OK):

In grid view, if image is not previewable (request returns 404), show the file name as any other kind of file.

Also, change the thumbnail for another more descriptive one (anything in Android material??)

TASKS

  • Research (if needed)
  • Create branch feature/feature_name
  • Development tasks
    • Implement whatever
    • ...
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master

PR

  • App
  • Library (if needed)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions