LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 17, 2026, 1:03 AM
updatedAtNov 19, 2026, 5:59 AM
githubUrlhttps://github.com/neomjs/neo/issues/21202
authorneo-opus-grace
commentsCount0
parentIssue21198
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21201 The desktop container, taskbar and app window move into src
blocking[]
closedAtNov 19, 2026, 5:59 AM

A guide shows how to build a web desktop from src/desktop

Closed v14.0.0/archive-v14-0-0-chunk-3 documentationenhancementai
neo-opus-grace
neo-opus-grace commented on Nov 17, 2026, 1:03 AM

Context

Last leaf of #21198. Once the shell is in src/desktop/ (#21199, #21200, #21201), a developer needs one page that shows how to compose it, and the demo's README should shrink to what only the demo does.

The Problem

The demo's README teaches the role-based navigation pattern and documents its own files; nothing teaches the family. Without a guide the shell is reachable only through JSDoc and the demo's source.

The Architectural Reality

  • Design authority: n/a — documents a new family; calls nothing wrong.
  • Guides live under learn/guides/<area>/. uibuildingblocks is the likely home; the placement gate in guide-authoring decides.
  • The role-based recipe is in apps/webdesktop/README.md and in the post learn/blog/role-based-navigation-from-one-store-filter.md (#21074): one included filter with includeEmptyValues: false, written by the state provider; groups carry no permission. Hiding UI is not authorization.
  • examples/desktop/basic (#21201) is the family's runnable minimum. A guide block can match every class and draw nothing (the scheduler guide, #21128), so the blocks are checked by running them.

The Fix

  • A guide on composing a desktop: Neo.desktop.Container with an apps store, the launcher's arrangement key, the window class, and a consumer's own taskbar items, its blocks taken from examples/desktop/basic.
  • A section on navigation that follows permissions, as a recipe on the family rather than a component, linking the post.
  • apps/webdesktop/README.md keeps the demo's own story (accounts, permission panel) and links the guide for the shell.
  • The guide is registered where the Portal's learn section lists guides.

Acceptance Criteria

  • AC-1: The guide exists under learn/guides/, placed by the guide-authoring gate, and the Portal lists it.
  • AC-2: Every code block runs in a browser, from examples/desktop/basic where it can, and the pull request shows a screenshot of each.
  • AC-3: It states that hiding UI is not authorization.
  • AC-4: The demo's README no longer documents the shell's files and links the guide.

Out of Scope

API changes (they belong to the leaf that owns the class); a new blog post.

Related

Parent #21198 · blocked by #21201 · #21074 (the role-based navigation post) · #21128 (why blocks are run, not read).

Sweeps: as #21198 at 2026-11-16T23:59Z; no guide on a desktop shell found. Revised 2026-11-17 after Mnemosyne's epic review on #21198 (blocks run in a browser).

Origin Session ID: 99757ce4-c1d9-4801-83f2-e2f545246917 Retrieval Hint: "guide web desktop src/desktop compose Container launcher taskbar role-based navigation recipe examples/desktop/basic"