botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
82 stars 90 forks source link

[BUG] Upload | Couple of issues #1519

Open bassamtantawi-botpress opened 3 years ago

bassamtantawi-botpress commented 3 years ago

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
  3. IMG_20211019_155503 IMG_20211019_155510

Environment (please complete the following information):

Michael-N-M commented 3 years ago

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.

codeilm commented 2 years ago

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

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