Hexabot
Hexabot copied to clipboard
💡 [REQUEST] - Add Loading State for Document Upload in AttachmentUploader Component
Summary
The AttachmentUploader
component currently lacks a loading state for document uploads, which can lead to user confusion and a poor user experience. Implementing a loading state will provide visual feedback to users while their document is being uploaded, enhancing the overall usability of the component.
Purpose
- Improve user experience by providing feedback during the upload process.
- Prevent users from taking unintended actions while the upload is in progress.
Basic Example
- Add a loading indicator (e.g., spinner or progress bar) to the
AttachmentUploader
component. - The loading state should be displayed as soon as the document upload process starts and should disappear once the upload is complete or fails.
- Ensure the loading state is accessible and works across different devices and screen sizes.