From 6b47bdfc5c60a319f0e9cdc09ac633db442405f6 Mon Sep 17 00:00:00 2001 From: julia-weppler-1 <156942916+julia-weppler-1@users.noreply.github.com> Date: Mon, 17 Aug 2026 13:57:23 -0400 Subject: [PATCH] Add comment regarding button behavior during requests Add comment about disabling buttons during requests. --- frontend/src/pages/ChallengesPage.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/pages/ChallengesPage.jsx b/frontend/src/pages/ChallengesPage.jsx index 5403d3b..dde0742 100644 --- a/frontend/src/pages/ChallengesPage.jsx +++ b/frontend/src/pages/ChallengesPage.jsx @@ -171,6 +171,9 @@ function ChallengesPage({ currentUser }) { )} {creating && ( + // it looks like all of your submit buttons stay enabled as a request is being handled. This could lead to unexpected behavior if a user gets + // frustrated and spams a submit or delete button before each request processes. Disabling the button until the request completes could be + // beneficial.

Post a challenge