-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Simple caption for any file #8381
Conversation
I think the persistence code is quite clean too. 2 issues I have are: 1Lines 161 to 171 in 52a538f
For an initial upload, 2
Re-uploading is inefficient, I'm not sure how to overcome it |
I overcome the 2 issues earlier and found another simpler way to do this, thus removed the Right now, an initial upload will have the UI will be hidden and captions cannot be added |
I managed to get it to a usable state now, of course plenty of room for improvements. The current caption can be viewed by hoving over the icon and changes if it gets edited without the need to re-upload the whole file. |
it would be a great feature but there are few questions
again no screenshots/recordings so its just based on imaginary, might be wrong |
I'm curious, what did you mean the demo isn't working? Which demo, and what did it do? Not working doesn't tell me much. |
Can I ask what to expect going forward? Thanks. |
I appreciate all PRs, but as you can see we do have a backlog, and new features are not a priority right now. The review process is very time consuming, and its just me. |
Ok, got it thanks. |
7b8d6ce
to
44bb1b2
Compare
Thanks for your work. That Filepond plugin does seem too unstable to rely on. I will accept a caption feature if it makes use of the existing If you want to make a new PR that adds inputs to the image editor modal, go ahead. If not, I will implement it at some point in the future myself. |
Sure, happy to look at |
I don't think we should support captioning non-images, I don't think there is a good enough solution in FilePond right now. |
Since captions are stored in the table of medialibrary, can I suggest that we offer a few ways to caption files
|
Maybe just |
packages/forms/resources/js/components/filepond-plugin-manage-metadata.js
with fix into Filament. We can remove this file and depend fully on that package once issues are resolvedFileUpload
, but only works withSpatieMediaLibraryFileUpload
for nowcaption
, it will be displayed when the user clicks on theEdit
icon$wire.upload(...
, I stopped at just dumping the metadata to the browser logs because the Livewire portion requires Filament convention knowledge which I'm not familar with