Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: use the viewer to render single file shares #33347

Merged
merged 3 commits into from
Aug 26, 2022

Commits on Aug 25, 2022

  1. feature: first take on using the viewer to render single file shares

    Signed-off-by: Max <max@nextcloud.com>
    max-nextcloud authored and PVince81 committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    99aa938 View commit details
    Browse the repository at this point in the history
  2. fix: only use viewer when mimetype is supported

    Also bring back the text fallback
    
    Signed-off-by: Max <max@nextcloud.com>
    max-nextcloud authored and PVince81 committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    8c94703 View commit details
    Browse the repository at this point in the history
  3. fix: use old singe file share rendering as fallback

    Only render images and videos with the viewer.
    Text has its own way of handling single file shares for now.
    
    In case viewer does not support the file format
    fall back to the old way of handling single file shares.
    
    Signed-off-by: Max <max@nextcloud.com>
    max-nextcloud authored and PVince81 committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    b67aaf7 View commit details
    Browse the repository at this point in the history