Aditya-138-12 / Aditya-138-12/CSE-Department-Student-Faculty-Visualization-Tool
Support Needed in the Student Upload Button
- Ngôn ngữ chính
- JavaScript
- Star
- 3
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Issue:** Multiple POST Requests Triggered by Single Button
**Description**:
The "Student Upload" button currently allows multiple POST requests to be sent to the server when the button is pressed multiple times quickly. This behavior results in duplicate uploads and inconsistent server state.
**Expected Behavior:**
The "Student Upload" button should accept and process only one POST request at a time, preventing duplicate submissions until the first request is completed.
**Steps to Reproduce:**
Navigate to the page with the "Student Upload" button.
Press the "Upload" button multiple times quickly.
Observe multiple POST requests being sent to the server.
**Proposed Solution:**
Disable the button immediately after the first click.
Re-enable the button only after the server response is received (success or failure).
Alternatively, implement a loading state to indicate ongoing request processing.
**Environment**:
Application Version: [Your version here]
Browser: [Browser details]
Operating System: [OS details]
Additional Context:
This issue leads to redundant server calls, increased server load, and possible data duplication. Fixing this will improve user experience and backend stability.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start at the page containing the Student Upload button and reproduce the issue by pressing Upload multiple times quickly while observing the POST requests. Done means the first click starts one request, further clicks are prevented until the server responds, and the button becomes usable again after success or failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100