openedx / platform-roadmap

Tracking the maintenance, enhancement, and advancement of the Open edX project.
11 stars 1 forks source link

File Upload Button Behavior Improvement in edx-ora2 #387

Open viadanna opened 1 month ago

viadanna commented 1 month ago

Abstract

This proposal introduces an enhancement to the edx-ora2 file upload experience by disabling the "Upload Files" button and displaying a spinner while uploads are in progress. The current system allows users to click the button multiple times, causing redundant requests and unnecessary load on the LMS, which confuses learners and negatively impacts performance. The proposed solution prevents multiple submissions and provides clear visual feedback, ensuring a smoother user experience.

Detailed Product Proposal

https://openedx.atlassian.net/wiki/spaces/OEPM/pages/4554915857/Proposal+File+Upload+Button+Behavior+Improvement+in+edx-ora2

Context & Background (in brief, if a Product Proposal is linked above)

In the edX platform, learners frequently submit assignments by uploading files through the Open Response Assessment (ORA) tool. Currently, when learners upload files, the "Upload Files" button remains active during the upload process. This allows users to click the button multiple times, which results in duplicate requests being sent to the Learning Management System (LMS). The absence of clear visual feedback about the upload process leads to confusion among learners, causing unnecessary load on the system and delays in processing their submissions.

Scope & Approach (in brief, if a Product Proposal is linked above)

Disabling the Upload Button: The "Upload Files" button will be disabled once an upload begins, preventing users from making multiple submissions during the same upload session.

Displaying a Spinner During Uploads: A visual spinner will be added to indicate that the file is being uploaded. This will provide clear feedback to the user, letting them know that the system is processing their action.

Re-enabling the Button and Removing the Spinner Upon Completion or Failure: The button will be re-enabled once the upload is completed successfully or if an error occurs.

Value & Impact (in brief, if a Product Proposal is linked above)

The proposed enhancement will significantly improve the learner experience by reducing confusion during file uploads.

Milestones and/or Epics

Milestone 1: review and merge https://github.com/openedx/edx-ora2/pull/2237

Named Release

Teak

Timeline (in brief, if a Product Proposal is linked above)

PR is up for review. Required changes can be performed on the subsequent sprint.

Proposed By

OpenCraft

Additional Info

No response

github-actions[bot] commented 1 month ago

Thanks for your submission, @openedx/openedx-product-managers will review shortly.