You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- creatingSpace: boolean (true while a new space is being created)
1055
1063
- agents: AgentProfileSummary[] — cache of all fetched agent profiles (did, firstName, lastName, handle, bio, avatar, coverImage, location)
1056
1064
- ownAgent: AgentProfileSummary | undefined — reactive accessor for the current user's own profile (derived from agents cache)
1065
+
- orderedSidebarItems: array of sidebar items in user-defined order (uuid, name, avatar, spaceId) — personal + shared spaces merged
1057
1066
- Actions:
1058
1067
- navigate(to: string, options?): navigates to a route
1059
1068
- addNewSpace(space: Space): adds a new space
1060
1069
- createSpace(name: string, description: string, shared: boolean, imageFile?: File): creates a new space with full setup
1061
-
- setCurrentPerspective(uuid: string): sets the current perspective, registers its SHACL models as dynamic model classes, and populates currentPerspectiveModels
1062
-
- removePerspective(): unknown
1070
+
- switchPerspective(uuid: string): switches to a perspective by UUID, registers its SHACL models as dynamic model classes, and populates currentPerspectiveModels
1071
+
- removePerspective(uuid: string): removes a perspective by UUID
1072
+
- reorderPerspectives(newOrder: string[]): reorders the sidebar items by UUID array
1063
1073
- login(password: string): logs in the agent with password
1064
1074
- logout(): locks the agent and returns to login screen
1065
1075
- fetchAgent(did: string): fetches and caches an agent's profile from their public AD4M perspective
@@ -1084,10 +1094,15 @@ ThemeStore:
1084
1094
1085
1095
TemplateStore:
1086
1096
- State:
1087
-
- templates: array of TemplateSchema objects (user-facing templates)
1097
+
- personalTemplates: array of TemplateSchema objects — user's installed custom templates (excludes core and space templates)
1098
+
- spaceTemplates: array of TemplateSchema objects — templates loaded from the current space perspective
1099
+
- coreTemplates: array of TemplateSchema objects — built-in system templates (always available)
1100
+
- allTemplates: array of TemplateSchema objects — union of core + personal + space templates
1088
1101
- shellTemplates: array of TemplateSchema objects (static system pages: profile, settings, tests)
1089
1102
- currentTemplate: TemplateSchema (the active template)
1090
1103
- operationLoading: unknown
1104
+
- activeShellView: string | null (id of the currently open shell overlay: 'profile' | 'settings' | 'schema-tests' | 'landing-page' | null)
1105
+
- templateManagementList: TemplateManagementItem[] — flat list of all templates with management metadata (id, name, icon, description, isCore, isInstalled, isDefault)
1091
1106
- Actions:
1092
1107
- updateTemplate(newTemplate: TemplateSchema): updates the current template
1093
1108
- switchTemplate(newTemplateId: string): switches to another template
@@ -1096,6 +1111,8 @@ TemplateStore:
1096
1111
- toggleInstalled(): unknown
1097
1112
- setDefaultTemplate(): unknown
1098
1113
- deleteTemplate(): unknown
1114
+
- openShellView(id: string): opens a shell overlay by id ('profile' | 'settings' | 'schema-tests' | 'landing-page')
1115
+
- closeShellView(): closes the currently open shell overlay
1099
1116
1100
1117
SpaceStore:
1101
1118
- State:
@@ -1110,7 +1127,7 @@ SpaceStore:
1110
1127
- updateSpaceImage(field: "avatar" | "coverImage", imageFile: File): uploads and sets the space avatar or cover image
1111
1128
- createSignalType(config: Partial<SignalType>): creates a new signal type in the community; slug auto-derived from name if blank
1112
1129
- upsertSignal(nodeId: string, signalTypeId: string, value: number): adds or updates a signal on a node; value=0 deletes it
1113
-
- navigateToSpace(spaceId: string): navigates to a space by perspective UUID
1130
+
- navigateToSpace(spaceId: string, view?: string): navigates to a space — accepts a perspective UUID or a neighbourhood CID (sharedUrl without the neighbourhood:// prefix); pre-loads space templates before switching so the template and data arrive together
1114
1131
1115
1132
AiStore:
1116
1133
- State:
@@ -1140,6 +1157,7 @@ AiStore:
1140
1157
- handleSchemaPrompt(prompt: string): generates a schema from a prompt
1141
1158
- sendMessage(): unknown
1142
1159
- close(): unknown
1160
+
- toggle(): toggles the AI chat panel open/closed
1143
1161
- setApiKey(): unknown
1144
1162
- startFork(): unknown
1145
1163
- startFresh(): unknown
@@ -1153,6 +1171,14 @@ AiStore:
1153
1171
- undo(): undoes the last schema edit
1154
1172
- redo(): redoes the last undone schema edit
1155
1173
1174
+
AppStore:
1175
+
- State:
1176
+
- apps: RegisteredApp[] — list of registered external apps (id, name, image)
1177
+
- activeAppId: string | null — id of the currently active app, or null if none
1178
+
- Actions:
1179
+
- activateApp(id: string): activates an app and switches to its view
1180
+
- deactivateApp(): deactivates the current app and returns to the template view
0 commit comments