btx
btx
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
Nope, why can't you see the "Uploading" circle in the gif that I shared ? This circle is a fake delay. When he clicks the upload icon, the 2 second long circle, where it shows "Uploading" has no function, just forces the user to wait. The upload starts, when you can see the percent progess of the upload.
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
sorry, can't follow. Its happening for anyone. "FilePond simulates uploads of small files so it "feels" like something actually happened. But for large amounts of files this isn't ideal."
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
@awcodes According to the filepond maintainer, there is a config flag allowMinimumUploadDuration which can be set to false. Is there any option to pass config parameters for the UploadField that are not mapped to PHP? Couldn't find it in the docs https://github.com/pqina/filepond/issues/1030
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
Yes, it happens in all browsers. I also think this is related to the library, thus I opened an issue there. Thanks
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
No description
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
i get the same behaviour even on the filepond website on the demo. So I assume its a setting thing https://pqina.nl/filepond/ also in this gif from github
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
After dropping the file, there is "Uploading..." for 2 seconds, without any request happening. The request starts, when percentage is shown. Also it is absolutely ridiculous, that it shows a percentage for a 1KB file, which will be transfered almost instantly
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
@toeknee the request is not happening, the request (when it happens) takes 23ms
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
the livewire_tmp directory is on localhost. The file will be moved to DO just after submit. The behaviour is with any size of the form. I try to make a video later
22 replies
FFilament
Created by btx on 12/28/2024 in #❓┊help
Remove FileUpload delay/debounce
FileUpload::make('attachment')
->debounce(0)
->preserveFilenames()
->disk('do')
->visibility('public')
->multiple()
->moveFiles()
->maxSize(5 * 1024 * 1024) // 5 GB
->acceptedFileTypes(['image/*']),
FileUpload::make('attachment')
->debounce(0)
->preserveFilenames()
->disk('do')
->visibility('public')
->multiple()
->moveFiles()
->maxSize(5 * 1024 * 1024) // 5 GB
->acceptedFileTypes(['image/*']),
this is the form field. When I drop a file, it takes 3 sencods for the outgoing file upload request to start this is all before submitting the form, it is for uploading the file to livewire_tmp
22 replies
FFilament
Created by Wiebe on 10/11/2023 in #❓┊help
Require cropping to a certain size before submitting
Not a smooth workflow. I hope this gets better with v4
9 replies
FFilament
Created by btx on 12/12/2024 in #❓┊help
How to theme using SCSS?
The solution: 1) npm install -D sass-embedded 2) Update vite.config.js: input: ['resources/css/app.scss', 'resources/js/app.js', 'resources/css/filament/admin/theme.scss'], 3) Rename files accordingly
3 replies
FFilament
Created by btx on 11/19/2024 in #❓┊help
getStateUsing() called 3 times on first load
u mean some kind of laravel sales channels? no just a list of domains and products
15 replies
FFilament
Created by btx on 11/19/2024 in #❓┊help
getStateUsing() called 3 times on first load
just shows the domains table
15 replies
FFilament
Created by btx on 11/19/2024 in #❓┊help
getStateUsing() called 3 times on first load
I just checked with disabled debugbar, just with file logging, still 3 calls logged. I have a slight suspicion that this might be one of the reasons why the overall performance of v3 has become so much worse compared to v2. I just upgraded to M4 Pro, where I can't notice the lags anymore. But performance of v3 wasn't satisfying on my old 2019 MBP and i5-11400 desktop, and also its not in production.
15 replies
FFilament
Created by btx on 11/19/2024 in #❓┊help
getStateUsing() called 3 times on first load
its also replicateable when logging the calls to log file
15 replies
FFilament
Created by btx on 11/19/2024 in #❓┊help
getStateUsing() called 3 times on first load
Yea this would solve to problem for this specific example, but not when requiring any specialized query oder calculation for the colum, since the Closure is still called 3 times
15 replies
FFilament
Created by btx on 11/19/2024 in #❓┊help
getStateUsing() called 3 times on first load
Since I think now it is a bug after some hours of investigation, I reported this on GitHub https://github.com/filamentphp/filament/issues/14852
15 replies
FFilament
Created by lukaveck1 on 11/19/2024 in #❓┊help
Showing/Hiding buttons based on URL paramaters.
I didnt test, but guess something like if ( request()->query->tableFilters[Trashed] )
6 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
possibly running php artisan filament:install --panels ? idk. I'll let you know if I find it 😄
70 replies