Skip to content

What the panel says about the visitor

Beside a conversation, the desk shows the visitor’s name, email, when they signed up and their other conversations, and links to their page when your panel has a resource for your users. Add your own lines, in a service provider’s boot():

use Aparte\FilamentDesk\Desk;
Desk::visitorDetails(fn (?User $user) => $user ? [
'Orders' => $user->orders()->count(),
'Plan' => $user->plan?->name,
] : []);

A line whose value is empty is left out. Below 1280 pixels wide, the panel stays out of the way.

Publish the config file to change the defaults:

Terminal window
php artisan vendor:publish --tag=aparte-desk-config

This creates config/aparte-desk.php.