Better handling of previews that are out of sync with the file
Open
Nobody has claimed this yet.
feature: previews and thumbnails
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
- Upload an office file
- Request a preview
- Disable previews for office files:
occ config:app:set richdocuments preview_generation --type boolean --lazy --value false - Modify the file
If the preview is served, it is out of date.
Best would be to disable serving previews for providers that are disabled, or to have a way to cleanup previews for those providers.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the sequence using the richdocuments preview_generation setting and the occ configuration command. Trace how a preview is requested and served after the provider is disabled and the file is modified. Done means disabled providers no longer serve stale previews, or their existing previews can be cleaned up, with coverage for the reported sequence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100