binaryruel
binaryruel
FFilament
Created by binaryruel on 9/16/2024 in #❓┊help
Broadcasting and Ably
Nothing happens when I do
$admin = User::first();

Notification::make()
->title('Saved successfully')
->broadcast($admin);
$admin = User::first();

Notification::make()
->title('Saved successfully')
->broadcast($admin);
.env
BROADCAST_CONNECTION=ably
...
...
ABLY_KEY=first:last // my ably key
VITE_ABLY_PUBLIC_KEY=first // first part
ABLY_TOKEN_EXPIRY=21600
BROADCAST_CONNECTION=ably
...
...
ABLY_KEY=first:last // my ably key
VITE_ABLY_PUBLIC_KEY=first // first part
ABLY_TOKEN_EXPIRY=21600
echo.js
import Echo from 'laravel-echo';

import Pusher from 'pusher-js';
window.Pusher = Pusher;

window.Echo = new Echo({
broadcaster: 'pusher',
key: import.meta.env.VITE_ABLY_PUBLIC_KEY,
wsHost: 'realtime-pusher.ably.io',
wsPort: 443,
disableStats: true,
encrypted: true,
});
import Echo from 'laravel-echo';

import Pusher from 'pusher-js';
window.Pusher = Pusher;

window.Echo = new Echo({
broadcaster: 'pusher',
key: import.meta.env.VITE_ABLY_PUBLIC_KEY,
wsHost: 'realtime-pusher.ably.io',
wsPort: 443,
disableStats: true,
encrypted: true,
});
Even using Reverb on Laravel Herd.
4 replies
FFilament
Created by binaryruel on 6/14/2024 in #❓┊help
custom Collection as data to Table
Right now, using ->query() is pulling the data, but how about having a custom Collection and feed it into the table? Is this possible?
5 replies
FFilament
Created by binaryruel on 2/3/2024 in #❓┊help
Table Actions for RelationshipManager be Visible in ViewPage
Using a Relationship Manager inside a ViewPage. The header actions, and table actions aren't visible on the view page. Would like them to be visible on the view page instead of edit. Is there a handy function to enable them?
4 replies
FFilament
Created by binaryruel on 2/1/2024 in #❓┊help
Announecment Plugin?
Are there any plugins that allows notices or announcements for the panel?
7 replies
FFilament
Created by binaryruel on 1/21/2024 in #❓┊help
Auto-scroll to next field
Say, I want to scroll to the next field, how to do it?
2 replies
FFilament
Created by binaryruel on 12/2/2023 in #❓┊help
Resource Label Uppercase?
No description
4 replies
FFilament
Created by binaryruel on 10/16/2023 in #❓┊help
Subdomain routing
Admin: admin.example.test Subdomains: *.example.test How do you declare the suddomain part in the panel configuration?
7 replies
FFilament
Created by binaryruel on 10/10/2023 in #❓┊help
Save an array state on a Custom Field
No description
12 replies
FFilament
Created by binaryruel on 8/16/2023 in #❓┊help
Laravel Comments in Filament v3
2 replies
FFilament
Created by binaryruel on 7/30/2023 in #❓┊help
Centralized Login and Registration Page
Experimenting V3 I have 3 panels and already am controlling where to redirect users based on their roles by overriding LoginResponse, LogoutResponse and RegistrationResponse classes. I also know how to customize pages on ->login(MyPageClass::class), ->registration(MyPageRegistration::class) and load extending classes on them. What's the best way to have a centralized Login and Registration page? When I tried to extend them the colors on my Panel didn't get the styles on my custom pages.
2 replies
FFilament
Created by binaryruel on 6/19/2023 in #❓┊help
Form Relations not firing Model Observers?
So instead of the hooks, I have observer for the models. This happens to be in a form relation. My problem is that the observer aren't firiing when I add a new item of the relationship's Repeater field. Also not getting fired after updating the fields inside the repeater. How can I successfully tap into it? My goal is to send email whenever it add items and update items inside the repeater field. Thanks!
7 replies
FFilament
Created by binaryruel on 5/25/2023 in #❓┊help
Action Buttons on Top of Page
It's convenient to have a copy of the "Save Changes" and "Cancel" button on the top of the page if you have a long form. Can we do this?
6 replies
FFilament
Created by binaryruel on 5/22/2023 in #❓┊help
Default pagination to "All"
How do I do this?
8 replies
FFilament
Created by binaryruel on 4/27/2023 in #❓┊help
Route not defined.
3 replies
FFilament
Created by binaryruel on 3/13/2023 in #❓┊help
Notifications slows down loading
Have 200+ unread notifications and it started to slow the application. What do you suggest to overcome this problem?
2 replies
FFilament
Created by binaryruel on 3/7/2023 in #❓┊help
Do you recommend Swoole on Forge?
I have an app that is already in prod, but I feel like it's not getting the speed that I expected. #❓┊help
5 replies