How to make onboarding in dashboard
Im trying to use the Guava Tutorial Plugin to my dashboard for when users first login.
i followed this step,
and i want the tutorial to start on the profile icon at the top.
i tried to do that but i cant seem to make it work. Could you assist me?
you have a video that displays what i want. Its video number 2 i believe.
Hi, @JorisSD! Are you using laravel 11? I haven't updated it yet and it might not work with it.
EDIT: also leave out the "parent::mount()" method, which shouldn't be there.
I am on Version 10.48.2 And yes i already removed "parent::mount()"
I am on Version 10.48.2 And yes i already removed "parent::mount()"
Ok, then it should work.
This is a sample Step which should work for the Profile menu:
Step::make(Selector::make('.fi-dropdown.fi-user-menu'))
->interceptClick()
->passThrough(true)
->actions([])
->label('User menu')
->description('Click the user menu'),
```
`<?php
namespace App\Filament\App\Pages;
use Filament\Pages\Page; use Guava\Tutorials\Concerns\InteractsWithTutorials; use Guava\Tutorials\Contracts\HasTutorials; use Guava\Tutorials\Selectors\Selector; use Guava\Tutorials\Steps\Step; use Guava\Tutorials\Tutorial;
class Dashboard extends Page implements HasTutorials { use InteractsWithTutorials;
protected static ?string $navigationIcon = 'heroicon-o-home';
protected static string $view = 'filament.app.pages.dashboard';
public function mount(): void
{
$this->mountTutorial();
}
public function tutorial(Tutorial $tutorial) : Tutorial
{
return $tutorial->steps([
Step::make(Selector::make('.fi-dropdown.fi-user-menu'))
->interceptClick()
->passThrough(true)
->actions([])
->label('User menu')
->description('Click the user menu'),
]);
}
}`
this is my current code but it doesnt seem to work got any tips or see any mistakes?
any news from this?
No sadly not, I have resorted to using a different plugin
@JorisSD can i ask what plugin did you used? thanks
@JorisSD can i ask what plugin did you used? thanks
I used onboarding manager pro by Ralph J Smit
I do have to inform you that it is a paid service