nextcloud / nextcloud/richdocuments
Give reason for failure to load instead of "please try again later"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Is your feature request related to a problem? Please describe.
Several bug reports such as this one #2778 are related to a failure to load Nextcloud office/collabora. The user is advised to "try again later", which makes little sense if there is a configuration error that won't go away by trying again later. In the case of #2278, Collabora refuses the connection because it does not know the WOPI host. In such a case , there should be a meaningful error message appearing in the browser, instead of the Microsoftish "try again later. This would, I think, prevent the users from just fumbling around in the dark.
Describe the solution you'd like
If the Collabora host refuses the connection, this should be said in the error message on screen.
Describe alternatives you've considered
Yes, sure, if you examine the nextcloud.log, you find a hint there, but the nextcloud log is rather overwhelming, you easily miss the forest for the trees. Therefore I'd prefer the simple and concise message I have suggested.
Additional context
Would also reduce the load on the bug tracking system, I guess.
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 tracing the Collabora connection failure from the browser message and compare it with the related nextcloud.log entry. The work is done when a refused Collabora connection produces a concise, meaningful on-screen error instead of “try again later.”
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100