v12 icon indicating copy to clipboard operation
v12 copied to clipboard

[BUG] Upload | Couple of issues

Open bassamtantawi-botpress opened this issue 4 years ago • 2 comments

Describe the bug I followed the below link to use an upload control: https://forum.botpress.com/t/file-or-image-upload-feature-in-botpress/1948

It worked successfully but I found couple of problems:

  1. After upload the document link is undefined
  2. The upload path, is not absolute and it is not clear that I can find it anywhere
  3. The button is clickable only where the mouse cursor is "default" and not clickable when it is "pointer", while it should be vice versa, or the whole button area can be clickable.

Screenshots

  1. image
  2. image

IMG_20211019_155503 IMG_20211019_155510

Environment (please complete the following information):

  • Botpress 12.26.5

bassamtantawi-botpress avatar Oct 19 '21 13:10 bassamtantawi-botpress

The worst problem with the document upload currently in use is that you have no way of easily linking the uploaded document to the uploader.

I think either the naming should be very clear or the document should be stored against unique user id in the database for easier querying.

Michael-N-M avatar Oct 26 '21 07:10 Michael-N-M

Hi, May I know, how to use the uploaded image by user?

Means, I want to send the uploaded file to server using api.

codeilm avatar Jun 21 '22 09:06 codeilm