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

Storage Drag and Drop No Longer Respects Folders #2565

Open
joshuadunning opened this issue Jul 27, 2024 · 0 comments
Open

Storage Drag and Drop No Longer Respects Folders #2565

joshuadunning opened this issue Jul 27, 2024 · 0 comments

Comments

@joshuadunning
Copy link

Describe the bug
For local development, I often have to reseed my storage buckets with mock images and videos when resetting my database. I keep the exact folder structure preserved on my machine to be able to drag and drop these local resources into the UI to quickly upload all the placeholder content.

Somewhere between cli v1.78.2 and 1.87.3, the drag and drop no longer uploads the folder paths. It only pulls out the files recursively from my directories and places them at the root

To Reproduce
Steps to reproduce the behavior:

  1. Go to supabase storage
  2. Create a local directory with an image or video '/folder1/video.mp4'
  3. Drag and drop folder1 into a bucket in the storage ui

Expected behavior
The upload respects the folder structure and uploads the folder and file resulting in {bucketname}/folder1/video.mp4 as the path to the file

Actual behavior
The upload is removing folder1 and uploading as {bucketname}/video.mp4.

System information
Rerun the failing command with --create-ticket flag.

  • Ticket ID: NA
  • Version of OS: MacOS 14.4
  • Version of CLI: v.187.3
  • Version of Docker: Docker version 26.1.3
  • Versions of services:
    supabase/postgres │ 15.1.1.61 │ -
    supabase/gotrue │ v2.151.0 │ -
    postgrest/postgrest │ v12.2.0 │ -
    supabase/realtime │ v2.29.15 │ -
    supabase/storage-api │ v1.0.6 │ -
    supabase/edge-runtime │ v1.55.0 │ -
    supabase/studio │ 20240701-05dfbec │ -
    supabase/postgres-meta │ v0.83.2 │ -
    supabase/logflare │ 1.4.0 │ -
    supabase/supavisor │ 1.1.56 │ -
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

1 participant