@@ -45,21 +45,20 @@ export const ACCOUNT_APP: App = {
4545 // manage their own 2FA / linked accounts / personal OAuth apps. RLS on
4646 // each object scopes rows to the caller.
4747 navigation : [
48- // Profile is the canonical landing — name, email, avatar, verification
49- // status. Uses `type: 'object' + recordId: '{current_user_id}'` so it
50- // resolves to the sys_user record page; the slotted SysUserDetailPage
51- // (kind: 'slotted', isDefault: true) tailors that page into a proper
52- // self-service profile (highlight chips, grouped detail sections, no
53- // Discussion thread) without losing the record-context features
54- // (related lists, header actions, RLS-aware edit).
48+ // Profile is the canonical landing — a hand-written React settings card
49+ // (Vercel/Linear style) registered in the Console SPA as
50+ // `account:profile_card`. The renderer reads the current user via
51+ // `useAuth()` and writes via `client.auth.updateUser`, so there is no
52+ // sys_user record context here — this is intentional. The admin-facing
53+ // sys_user record page (see `pages/sys-user.page.ts`) stays focused on
54+ // record browsing (Identity/Audit fields, related lists, admin actions)
55+ // and is reached through Setup, never from the Account App.
5556 {
5657 id : 'nav_account_profile' ,
57- type : 'object ' ,
58+ type : 'component ' ,
5859 label : 'Profile' ,
59- objectName : 'sys_user' ,
60- recordId : '{current_user_id}' ,
60+ componentRef : 'account:profile_card' ,
6161 icon : 'user-circle' ,
62- requiresObject : 'sys_user' ,
6362 } ,
6463
6564 // --- Inbox & work assigned to me -----------------------------------
0 commit comments