Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancelling the file upload process to drive still shows success message #8

Open
AayushChaudhary0001 opened this issue Jul 12, 2024 · 3 comments

Comments

@AayushChaudhary0001
Copy link

If a user tries to cancel the bulk upload of files to drive, he still receives the success message that the files have been uploaded.

Steps to reproduce:

  • Post any attachement in the channel.
  • Open the action menu.
  • Click on upload all files to drive
  • Click on the cancel button.

The process should have been stopped, instead the user receives the message of process successfully completed.

@darkLord19
Copy link
Contributor

darkLord19 commented Jul 22, 2024

@wiggin77 how can i remove cancel button or disable cancel button in interactive dialog after user submits the form because once the api is triggered it's not really cancellable.

@darkLord19
Copy link
Contributor

@fmartingr can you help with above question?

@fmartingr
Copy link

The only thing that comes to mind are:

  • Use dialogs notify_on_cancel to receive a notification when the dialog is cancelled and do wathever is necessary in the backend (remove the files?)
  • Use a custom frontend component

I don't know a way of disabling the "Cancel" button of a plugin dialog.

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

No branches or pull requests

3 participants