nextcloud / nextcloud/richdocuments

Inform user that file insertion failed

Open
#4,566 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
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.
I heared many complaints from users who didn't manage to insert Image from the NC storage that "nothing happens".
It is a problem with using nginx proxy in front of NC what causes request to assests failed. In that case unfortunately there is no visible feedback for user what happened. After investigation it is FilePicker error. Best would be to check request status.

https://github.com/nextcloud/richdocuments/blob/b1f979e3ea9e910f12f84c872f6890467be505e9/src/view/FilesAppIntegration.js#L164

Describe the solution you'd like
It would be good to provide message dialog with error visible for user when file insertion failed.

Additional context
Related to: https://github.com/nextcloud/richdocuments/issues/4565

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

Start in src/view/FilesAppIntegration.js around line 164 and inspect how FilePicker insertion failures are handled. Reproduce a failed image insertion through the nginx proxy, then add visible error feedback and verify that successful insertions remain unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.