Skip to content

Frontend: register project as a built-in node type (predicates, icon, sidenav) #1754

Closed

Description

@mstomar125

Summary

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.

Activity

  1. self-assigned this
    on Jul 28, 2026
  2. mstomar125 commented on Jul 28, 2026

    @mstomar125
    ContributorAuthor

    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.

  3. mstomar125 commented on Jul 28, 2026

    @mstomar125
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions