cwbmuller
cwbmuller
FFilament
Created by Debjit on 8/18/2023 in #❓┊help
CORS Error when uploading to S3 compatiable bucket.
27 replies
FFilament
Created by cwbmuller on 8/17/2023 in #❓┊help
Store the full file upload URL not just the filesystem extension
Thanks @Dennis Koch it does solve my problem 👍
11 replies
FFilament
Created by cwbmuller on 8/17/2023 in #❓┊help
Store the full file upload URL not just the filesystem extension
@toeknee_iom Storing the full path URL so that the asset can be accessed in various places without having to remember which filesystem it was uploaded to? Ie: the record column includes the asset url instead of an abstracted filename of a specific filesystem. Not sure if i'm explaining myself well 😅
11 replies
FFilament
Created by cwbmuller on 8/17/2023 in #❓┊help
Store the full file upload URL not just the filesystem extension
unless that's not documented 🤔
11 replies
FFilament
Created by cwbmuller on 8/17/2023 in #❓┊help
Store the full file upload URL not just the filesystem extension
As far as I can tell that's specific to the filename customization and not storing full path rather than just filename @Dennis Koch
11 replies
FFilament
Created by cwbmuller on 8/17/2023 in #❓┊help
Store the full file upload URL not just the filesystem extension
I can get the full url stored like this, but it seems super hacky
->formatStateUsing(fn (string $state): array =>[basename($state)])
->dehydrateStateUsing(fn (array $state): string => Storage::disk('general')->url('').array_values($state)[0])
->formatStateUsing(fn (string $state): array =>[basename($state)])
->dehydrateStateUsing(fn (array $state): string => Storage::disk('general')->url('').array_values($state)[0])
11 replies
FFilament
Created by cwbmuller on 8/17/2023 in #❓┊help
Store the full file upload URL not just the filesystem extension
For example the form is storing sEyBoG7HX4s5iqW2W4EXofWTx35cko-metaU2NyZWVuc2hvdCAyMDIzLTA4LTExIGF0IDE0LjU5LjE5LnBuZw==-.png But I want the full url stored eg: https://{aws_url}sEyBoG7HX4s5iqW2W4EXofWTx35cko-metaU2NyZWVuc2hvdCAyMDIzLTA4LTExIGF0IDE0LjU5LjE5LnBuZw==-.png
11 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
Thank you so much 💪
13 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
I was trying with header and footer widget method
13 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
That overwrote the discovered widgets
13 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
Aha! Ok that worked 🙏
13 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
But if I do that then the other (page) widgets are not discoverable for the other pages anymore
13 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
I only want the widgets in ->discoverWidgets(in: app_path('Filament/Widgets/Dashboard'), for: 'App\\Filament\\Widgets\\Dashboard') on the dashboard
13 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
This seems to override the dashboard widgets to all the widgets in the panel ->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
13 replies
FFilament
Created by cwbmuller on 8/8/2023 in #❓┊help
Discover panel widgets without adding to primary dashboard page
Yup! That's where I have tried to manually set the Dashboard widgets using getHeaderWidgets
13 replies