nextcloud / nextcloud/approval

The reaction time of the Approve button is too long or you have to click 2 to 3 times

Open
#33 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority low
Dominant language
JavaScript
Stars
39
Forks
10
Avg merge
20m
Merged PRs (30d)
4

Description

We have a really annoying problem with the response time of the Approve button for quite some time.

The response time is very long. We have to press the button several times until we get the message that the file has been submitted for approval. This can take several seconds and causes irritation for some users. Either they press the button only once and the process is not started properly or the button is clicked at least twice and the process is started after a few seconds. For this reason, incorrect operation of the workflows occurs from time to time.

These are chained workflows. After the process has been started once, they generally work correctly.

We have this behaviour reviewed in the latest versions of Firefox and Chrome.
It is probably a bug that has existed for several Approval versions.

Can anyone else confirm this?

Current setting of our NC instance

Nextcloud: 22.2.6
PhP-Version, 7.3.16
mysql-Version: 10.4.12

Approval-App-Version: 1.0.10

image

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

No source file or test is named. First reproduce the Approve-button behavior in Firefox or Chrome using the reported Nextcloud and Approval versions, then trace the button's workflow entry point and chained-workflow response; done means one click reliably submits the file and shows the confirmation without an unnecessary delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.