feat(profile): add username + preferred_locale; wire to Inertia + middleware
- DB: users.username (unique), users.preferred_locale (default from app.locale) - Backend: validation, model fillable; share supportedLocales; SetLocaleFromUser - Frontend: profile page fields + types - Filament: SuperAdmin profile page with username/language feat(admin-nav): move Tasks to Bibliothek and add menu labels fix(tasks-table): show localized title/emotion/event type; add translated headers feat(l10n): add missing table headers for emotions and event types; normalize en/de files refactor: tidy translations for tasks/emotions/event types
This commit is contained in:
3
resources/js/types/index.d.ts
vendored
3
resources/js/types/index.d.ts
vendored
@@ -27,6 +27,7 @@ export interface SharedData {
|
||||
quote: { message: string; author: string };
|
||||
auth: Auth;
|
||||
sidebarOpen: boolean;
|
||||
supportedLocales?: string[];
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
@@ -34,6 +35,8 @@ export interface User {
|
||||
id: number;
|
||||
name: string;
|
||||
email: string;
|
||||
username?: string;
|
||||
preferred_locale?: string;
|
||||
avatar?: string;
|
||||
email_verified_at: string | null;
|
||||
created_at: string;
|
||||
|
||||
Reference in New Issue
Block a user