Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict action spamming #3204

Closed
2 of 3 tasks
aatkin opened this issue Oct 20, 2023 · 0 comments
Closed
2 of 3 tasks

Restrict action spamming #3204

aatkin opened this issue Oct 20, 2023 · 0 comments
Assignees
Labels
Enhancement Technical Debt Improving internal product quality

Comments

@aatkin
Copy link
Collaborator

aatkin commented Oct 20, 2023

Currently users can unrestrictedly click actions, which perform potentially long-running requests. REMS tries to process these requests concurrently, which (at this time) may lead to process hang. Spam-clicking an action is likely a symptom of unresponsive UI.

Add "double-click listener" which prevents action from being re-submitted before request has returned:

  • rems.application/actions-form
  • rems.administration.blacklist (add/remove)

Other implementation concerns:

@aatkin aatkin created this issue from a note in Rems task board (Ideas) Oct 20, 2023
@aatkin aatkin moved this from Ideas to In Progress in Rems task board Oct 20, 2023
@aatkin aatkin self-assigned this Oct 20, 2023
@aatkin aatkin added Enhancement Technical Debt Improving internal product quality labels Oct 20, 2023
@aatkin aatkin moved this from In Progress to Done (newest on top) in Rems task board Oct 31, 2023
@aatkin aatkin closed this as completed Oct 31, 2023
@Macroz Macroz moved this from Done (newest on top) to Accepted in Rems task board Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Technical Debt Improving internal product quality
Projects
Archived in project
Development

No branches or pull requests

1 participant