Quadrubo
Quadrubo
Explore posts from servers
FFilament
Created by Diana on 8/17/2023 in #❓┊help
filamentphp/plugin-skeleton workflow test jobs failing (after fixing some errors)
I managed to get it working, the instance() function was added in phpunit version 10.0.17. Just add this: "phpunit/phpunit": "^10.0.17", to your require-dev in composer.json
6 replies
FFilament
Created by Diana on 8/17/2023 in #❓┊help
filamentphp/plugin-skeleton workflow test jobs failing (after fixing some errors)
Hey @TimeglitchD , did you manage to get this working? I'm encountering the same issue.
6 replies
FFilament
Created by Mdk on 10/18/2023 in #❓┊help
Filament + Jetstream + multiple LDAP domains, how to login?
If it's the Authenticate middleware filament provides, you can just write your own and replace that
70 replies
FFilament
Created by Mdk on 10/18/2023 in #❓┊help
Filament + Jetstream + multiple LDAP domains, how to login?
Okay what do you get 302'd by to login. Which class causes that, can you follow it with a debugger?
70 replies
FFilament
Created by Quadrubo on 9/27/2023 in #❓┊help
Dispatching events from filament blade components
A lot of other stuff is also pretty weird: For example triggering an alert is working on all key presses:
<input type="text" @keyup="alert('test')">
<input type="text" @keyup="alert('test')">
And dispatching an event works on Enter only:
<input type="text" @keyup="$dispatch('post-created')">
<input type="text" @keyup="$dispatch('post-created')">
4 replies
FFilament
Created by Quadrubo on 9/27/2023 in #❓┊help
Dispatching events from filament blade components
The listener is in a livewire method:
#[On('post-created')]
public function updatePostList()
{
dd("why");
}
#[On('post-created')]
public function updatePostList()
{
dd("why");
}
4 replies
FFilament
Created by Xiquita on 9/25/2023 in #❓┊help
tenantRoutePrefix
should show up in artisan about
29 replies
FFilament
Created by Xiquita on 9/25/2023 in #❓┊help
tenantRoutePrefix
and can you share the code where you tried to use it
29 replies
FFilament
Created by Xiquita on 9/25/2023 in #❓┊help
tenantRoutePrefix
which filament version are you on
29 replies
FFilament
Created by BATMAN on 9/25/2023 in #❓┊help
call close function in js
you can access the notification objects in js
7 replies
FFilament
Created by BATMAN on 9/25/2023 in #❓┊help
call close function in js
hey, can you share your code with the exact problem you have?
7 replies
FFilament
Created by Quadrubo on 7/14/2023 in #❓┊help
Livewire websockets on page
Maybe @maximewill could help here, saw you had tried to set this up aswell here https://discord.com/channels/883083792112300104/883085267383226478/986276300996096020. Sorry for the ping
2 replies
FFilament
Created by Quadrubo on 6/22/2023 in #❓┊help
Static property state does not persist
okay thank you :)
6 replies
FFilament
Created by Quadrubo on 6/22/2023 in #❓┊help
Static property state does not persist
Okay and how would I be able to store this data between the requests? Wanted to avoid making 2 requests to the api for data that is already present in the first request.
6 replies
FFilament
Created by Roomdada on 6/14/2023 in #❓┊help
Hide navigation
Please paste the whole function in here, I'll write it for you... Use triple backticks please: ```php // your code ```
7 replies
FFilament
Created by Roomdada on 6/14/2023 in #❓┊help
Hide navigation
Yeah cause an if condition can't be written into an array? Write the if condition outside of the array
7 replies
FFilament
Created by Quadrubo on 6/14/2023 in #❓┊help
Fill form from within resource
Essentially I want to find an easier way than doing this abomination on every resource.
...
$set('manufacturer_id', $record->manufacturer_id);
$set('layout_id', $record->layout_id);
$set('location', json_decode($record->location, true));

$record->parks->each(function ($park, $parkKey) use ($set) {
$set('pivotParks.'.$parkKey.'.park_id', $park->id);
$set('pivotParks.'.$parkKey.'.from', $park->pivot->from);
$set('pivotParks.'.$parkKey.'.to', $park->pivot->to);
});
...
...
$set('manufacturer_id', $record->manufacturer_id);
$set('layout_id', $record->layout_id);
$set('location', json_decode($record->location, true));

$record->parks->each(function ($park, $parkKey) use ($set) {
$set('pivotParks.'.$parkKey.'.park_id', $park->id);
$set('pivotParks.'.$parkKey.'.from', $park->pivot->from);
$set('pivotParks.'.$parkKey.'.to', $park->pivot->to);
});
...
2 replies
IImmich
Created by Quadrubo on 5/21/2023 in #help-desk-support
Image upload not complete using CLI
oh okay I see so i probably have duplicates then. Any plan to show that in the cli as feedback, e.g. 2000 images where not uploaded because they are duplicate
124 replies
IImmich
Created by Quadrubo on 5/21/2023 in #help-desk-support
Image upload not complete using CLI
I also now used -r as a CLI option instead of the depreacted -d which yields the same results These are the filetypes in the directory:
48 gif
250 jpeg
23034 jpg
946 mp4
68 png
48 gif
250 jpeg
23034 jpg
946 mp4
68 png
When monitoring the output of the cli command the files not being uploaded seem random to me.
124 replies