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
{{ message }}
Repository navigation
Frontend: register project as a built-in node type (predicates, icon, sidenav) #1754
core#134 added project as a core node type + ProjectNodeBehavior (backend only — that issue was explicitly core-scoped). For full first-class UI support the frontend needs project registered as a built-in, in three places surfaced by the #134 review:
packages/desktop-app/src/lib/design/components/node-type-predicates.ts — CORE_NODE_TYPES omits 'project', so isCustomSchemaType('project') returns true and the viewer/nav treats a project as a custom (UUID-keyed) schema type rather than a built-in.
packages/desktop-app/src/lib/design/icons/registry.ts — no project icon entry.
SIDENAV_CORE_TYPES (schemas.svelte.ts) — no project entry (currently only task).
Not a bug today: projects humanize to "Project" via the dynamic schema-plugin-loader, so nothing crashes — this is the follow-up for first-class built-in treatment (icon, nav, and eventually a project viewer, which pairs with the project-management UI in #334).
Note CORE_NODE_TYPES is a curated subset (it also omits person/ai-chat/prompt/skill/tool), so scope this deliberately: register what a project needs for nav/icon without implying a full behavior mirror.
Context: surfaced by the adversarial review of #134.
Picking this up (mstomar125) — registering project as a built-in frontend node type in the three spots the #134 review surfaced (CORE_NODE_TYPES so it's not treated as a custom schema type, an icon entry, and SIDENAV_CORE_TYPES), scoped to nav/icon built-in treatment without implying a full behavior mirror.
Resolved in #1774 (merged). project is now a built-in frontend node type: added to CORE_NODE_TYPES (so it's not treated as a custom schema type), given an icon-registry entry (the shared circle glyph with its own --node-project color var, mirroring date/entity — no app.css change needed), and added to SIDENAV_CORE_TYPES. Scoped to nav/icon per the issue — no viewer or behavior mirror (that pairs with #334). +5 tests; full frontend suite + svelte-check green.
Activity
mstomar125 commentedon Jul 28, 2026
Picking this up (mstomar125) — registering
projectas a built-in frontend node type in the three spots the #134 review surfaced (CORE_NODE_TYPES so it's not treated as a custom schema type, an icon entry, and SIDENAV_CORE_TYPES), scoped to nav/icon built-in treatment without implying a full behavior mirror.mstomar125 commentedon Jul 28, 2026
Resolved in #1774 (merged).
projectis now a built-in frontend node type: added toCORE_NODE_TYPES(so it's not treated as a custom schema type), given an icon-registry entry (the shared circle glyph with its own--node-projectcolor var, mirroring date/entity — no app.css change needed), and added toSIDENAV_CORE_TYPES. Scoped to nav/icon per the issue — no viewer or behavior mirror (that pairs with #334). +5 tests; full frontend suite + svelte-check green.