Folder structures / grouping - for files

Users seem to want to group together bunches of files.

Folder 1

  • image1.png
  • image2.png

Folder 2

  • image1.png
  • image2.png

Something akin to Github:

Any advice or experience on:

  • A nice user experience when uploading files --> or otherwise allowing them to group together files.
  • Uploading file systems?

would be interested to hear your thoughts.

If you mean in the UI, that would probably be some kind of custom Directory.has_many :files association, with the ability for directories to accept nested attributes for files, and the File model having the Shrine attachment (obviously it cannot be named File due to that class already existing).

I think the use case is similar to the pattern described in the Multiple Files guide.

1 Like

yes the UI is one way to do it.

users seem to want to copy the entire file system / folder - similar to drop box and google drive. would you know if such a solution readily exists at the moment?

would you know if such a solution readily exists at the moment?

No, I have no knowledge of something like already being built on top of Shrine.