Skip to content

OC.Previews utility in JS side telling what preview mimetypes are available #17543

Description

@PVince81

@rullzer @oparoz as discussed, a utility class on the JS side that stores a list of mimetypes for which previews are supported.

This makes it possible to get rid of "isPreviewAvailable" so the server doesn't have to compute and return this for every file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions