feat: dashboard

This commit is contained in:
2026-06-05 01:25:16 +02:00
parent 147858de2f
commit 2f6c52e73c
73 changed files with 3490 additions and 1061 deletions

View File

@@ -148,7 +148,7 @@ export class PluginManagerComponent {
}
openStore(): void {
const returnUrl = this.router.url.startsWith('/plugin-store') ? '/search' : this.router.url;
const returnUrl = this.router.url.startsWith('/plugin-store') ? '/dashboard' : this.router.url;
this.storeOpened.emit();
void this.router.navigate(['/plugin-store'], { queryParams: { returnUrl } });

View File

@@ -1,6 +1,6 @@
<main class="min-h-screen bg-background p-6 text-foreground">
<a
routerLink="/search"
routerLink="/dashboard"
class="text-sm text-muted-foreground hover:text-foreground"
>Back</a
>

View File

@@ -601,7 +601,7 @@ export class PluginStoreComponent implements OnInit {
return returnUrl;
}
return '/search';
return '/dashboard';
}
private canManageServerPlugins(room: Room, user: User): boolean {