ahmedkandel / nova-s3-multipart-upload

A Laravel Nova resource tool to upload files directly to Amazon S3. You can (upload | download | delete) single, multiple, small or big files.
MIT License
22 stars 22 forks source link

New content disposition resource #18

Closed andresilvagomez closed 2 years ago

andresilvagomez commented 3 years ago

New content disposition named resource, it will be open the nova resource if you have a many relationship, and you allow it.

ahmedkandel commented 3 years ago

Hi,

The use case of this PR is already covered by ->refreshListable() method. So if the developer wants to give the user access to the relationship model "view/edit" he can simply use the builtin Nova HasOne or HasMany field and the related models' list will get updated each time a new file is uploaded another tip is to hide the Uploader files card by ->canView(false) this will give the feeling that the user is uploading to the list of related models. Anyway thanks for the PR but probably it will not get merged.