michaelsharman / LT

A utility library of helper modules useful if you're developing with Learnosity APIs.
MIT License
0 stars 2 forks source link

Image uploader extension: File browser issues within 'browse files' browser #8

Open MichaelHeydon opened 1 week ago

MichaelHeydon commented 1 week ago

It appears the current restrictions within Uppy may not be working as expected? For example here's the default image browser within a folder with a few of the restricted image types: Screenshot from 2024-06-27 15-45-00

And here's within using Uppy: Screenshot from 2024-06-27 15-29-21

Having a quick look at the Uppy documentation, it looks like everything is as expected. Are you also experiencing unusual file restrictions?

michaelsharman commented 1 week ago

I added restrictions in Uppy because of the limitations in file support within the Learnosity API. For instance, the API doesn't support webp or avif.

I wonder if the reason files aren't showing in the 2nd screenshot because of missing file extensions in the name?

MichaelHeydon commented 1 week ago

Actually I can see it may be something to do specifically within our environment. Here's the difference upon selecting browse files: Screenshot from 2024-06-28 15-56-33 Screenshot from 2024-06-28 15-56-15

In which case I'm at a loss as to what could be happening...

michaelsharman commented 4 days ago

What is your environment? On a mac you can see all files, but unsupported files are greyed out.

Screenshot 2024-07-01 at 9 34 43 AM
MichaelHeydon commented 4 days ago

Yeah I've tried Windows, Mac, and Linux, all have the same result, with no files able to be selected. I'll have to do some more extensive testing to try and isolate what's causing the issue within our environment I suspect.