nextcloud / nextcloud/viewer

Fasten viewer opening by showing a lower quality picture when available

Open
#1,318 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement javascript performances
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

Is your feature request related to a problem? Please describe.

The Viewer can take a bit of time to open, as it loads the files before showing anything.

Describe the solution you'd like

  • We could show the UI before having the file loaded (darken the view faster) as the loader icon is not really visible.
  • We could also use a smaller version of the file if it is available. Maybe by passing an element or a size to use.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name specific files or tests. Start by tracing the Viewer opening and file-loading entry points, then determine how the UI can appear sooner and whether a smaller available file can be selected. Done means the viewer opens with earlier visible feedback and uses a lower-quality file when available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.