feat(dashboard): add server metrics charts and polish UI feedback

This commit is contained in:
Andras Bacsai
2026-08-10 11:08:04 +02:00
parent 2949b8e158
commit f412b2bf0d
24 changed files with 493 additions and 104 deletions
+12
View File
@@ -19,6 +19,18 @@ it('still shows the user name and email inside the dropdown panel', function ()
->toContain('{{ $userEmail }}');
});
it('animates the dropdown panel when the user menu opens', function () {
$menu = file_get_contents(resource_path('views/components/top-user-menu.blade.php'));
$stylesheet = file_get_contents(resource_path('css/app.css'));
expect($menu)
->toContain('animate-in fade-in zoom-in-95 duration-150')
->toContain("'origin-bottom-left' => \$sidebar")
->toContain("'origin-top-right' => ! \$sidebar");
expect($stylesheet)->toContain('@import "tw-animate-css";');
});
it('changes appearance from a submenu instead of navigating to a separate page', function () {
$menu = file_get_contents(resource_path('views/components/top-user-menu.blade.php'));