Current UX Issues
-
Missing File Restrictions Info
- No file size limits shown before upload
- No supported file types indicated
- Users only discover restrictions after failed uploads
-
Limited Upload Progress Feedback
- Basic progress bar without detailed status
- Generic status messages
- No estimated time remaining
-
Missing Upload Controls
- No way to cancel ongoing uploads
- No pause/resume functionality
- No retry option for failed uploads
Proposed Changes
- Add Pre-upload Information:
<div className="text-sm text-gray-500 mt-2">
<p>Maximum file size: 100MB</p>
<p>Supported formats: .jpg, .png, .pdf, .doc</p>
</div>
- Enhanced Progress Updates:
<div className="upload-progress">
<div className="status-details">
<p>{bytesUploaded} of {totalBytes} ({percentage}%)</p>
<p>Estimated time: {timeRemaining}</p>
<p>Current phase: {currentPhase}</p>
</div>
<ProgressBar
progress={progress}
phase={currentPhase}
showDetails={true}
/>
</div>
- Upload Controls:
<div className="upload-controls">
<Button
onClick={handleCancel}
disabled={!isUploading}
>
Cancel Upload
</Button>
{uploadError && (
<Button onClick={handleRetry}>
Retry Upload
</Button>
)}
</div>
Tasks
Current UX Issues
Missing File Restrictions Info
Limited Upload Progress Feedback
Missing Upload Controls
Proposed Changes
Tasks