Gabriel Sieben
Gabriel Sieben
Explore posts from servers
FFilament
Created by Gabriel Sieben on 2/6/2024 in #❓┊help
Is it possible to hide column names in Table Builder?
Hello, I've used the Table Builder in a rather unusual way in my app - and it works great, but I wish I could completely hide the row where the column names are shown. I can't find an option to do this. I can try setting all the column labels to an empty string, but there's still a gray bar. If there is one I don't know of (or if that could be added in a future release), that would be fantastic.
7 replies
FFilament
Created by Gabriel Sieben on 12/20/2023 in #❓┊help
S3 Signed URL Caching
Hello, The ImageColumn has a method called ->private(), which allows creating a signed URL for the image. Is there a way to cache this URL (for, say, 24 hours), so that every time the table is loaded during that period, the browser's native cache can still function and avoid re-downloading the image over and over?
2 replies
FFilament
Created by Gabriel Sieben on 12/4/2023 in #❓┊help
Upgrading from 3.1.7 to 3.1.10/3.1.11 breaks InfoLists
Hello, I recently upgraded my Filament installation from 3.1.7 (a version just 3 days old) to 3.1.11. However, the tabs on my InfoList immediately started breaking with the following error:
Typed property Filament\Infolists\Components\Component::$container must not be accessed before initialization
Typed property Filament\Infolists\Components\Component::$container must not be accessed before initialization
I backtracked a bit and found that 3.1.10 is where the problem began, as 3.1.9 works fine. I'm guessing it's an issue with https://github.com/filamentphp/filament/pull/10062, but could be wrong?
1 replies
RRCRat Rig Community [Unofficial]
Created by foreign-sapphire on 10/21/2023 in #fix-my-resonance
My first build... I have no idea how to interpret these resonances.
No description
2 replies
FFilament
Created by Gabriel Sieben on 10/11/2023 in #❓┊help
Database Notifications Slideover Custom Model
Hello, I love the @livewire('notifications') panel, and have almost everything working correctly... but how do I use a Model (with the Notifiable trait on it, of course) that isn't User? I tried doing an override of Filament\Livewire\DatabaseNotifications like so:
<?php

declare(strict_types=1);

namespace App\Livewire;

use Filament\Facades\Filament;
use Filament\Livewire\DatabaseNotifications as OriginalDatabaseNotifications;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;

class DatabaseNotifications extends OriginalDatabaseNotifications
{
public function getUser(): Model | Authenticatable | null
{
return Team::myCurrentTeam() ?? Filament::auth()->user();
}
}
<?php

declare(strict_types=1);

namespace App\Livewire;

use Filament\Facades\Filament;
use Filament\Livewire\DatabaseNotifications as OriginalDatabaseNotifications;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;

class DatabaseNotifications extends OriginalDatabaseNotifications
{
public function getUser(): Model | Authenticatable | null
{
return Team::myCurrentTeam() ?? Filament::auth()->user();
}
}
And then putting it in the AppServiceProvider:
use App\Livewire\DatabaseNotifications;
public function boot(): void
{
DatabaseNotifications::trigger('components/unread-notifications-button');
}
use App\Livewire\DatabaseNotifications;
public function boot(): void
{
DatabaseNotifications::trigger('components/unread-notifications-button');
}
But no luck; the slideover panel is still showing for the logged-in User instead of my other Notifiable entity.
45 replies
FFilament
Created by Gabriel Sieben on 10/10/2023 in #❓┊help
wire:navigate on an Action
Sounds simple, but an action can redirect to a URL like so:
Action::make(__('Open file'))
->url(fn (File $file): string => route('file', ['file' => $this->file])),
Action::make(__('Open file'))
->url(fn (File $file): string => route('file', ['file' => $this->file])),
And it works great. But can I put wire:navigate on that URL?
10 replies
FFilament
Created by Gabriel Sieben on 8/11/2023 in #❓┊help
Validate GLB file mime type
1 replies
RRCRat Rig Community [Unofficial]
Created by constant-blue on 3/26/2023 in #fix-my-printer
Sticky Axis
Hello, I recently assembled a V-Core 3.1 stock kit. There were significant problems with Gantry Racking with the right side not hitting the corner of the front - so I loosened the rail screws, as well as the screws on top, to try to straighten it out. I got it mostly straight - but have noticed inexplicably the following: Looking from the top, moving it up and down (Y-axis?) feels fine, really smooth - but the head sometimes moves a little bit to the right when moving it downward. However, moving the gantry left-and-right feels sticky, jittery, inconsistent. I don't really understand - I'm new to CoreXY, and both belts are going either direction, so why would be smooth and the other so rough? The tension feels identical between belts. Help.
13 replies