Skip to content

Conversation

@Bowrna
Copy link

@Bowrna Bowrna commented Jul 25, 2025

fixes: #2242
related_to: #2242

This PR has fixed the issue only for the attachment icon when sending an email, and this fix is specifically designed to show the loading progress and prevent further uploads at that time. I have raised only the partial fix as I have some questions regarding the other uploads.
Screenshot 2025-07-25 at 2 13 20 PM

@RitvikSardana In case of uploading image and video icon in reply/comment, helpdesk relies on TextEditorFixedMenu component of frappe-ui and Insert Image, InsertVideo that comes as part of it. It's not easy to directly handle this case, unlike button component where the upload, progress slots are open. How do you think it could be handled in a better way?

@Bowrna Bowrna force-pushed the button_loading_fix branch from aecf3c0 to ad7b739 Compare July 25, 2025 06:53
@RitvikSardana
Copy link
Member

Please use conventional commits

@RitvikSardana
Copy link
Member

no, we should show the
submit button as loading
or
show the image as loading and submit button as disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dont allow reply/ comment, if attachment is not fully uploaded

2 participants