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
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"
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
learn/guides/<area>/.uibuildingblocksis the likely home; the placement gate inguide-authoringdecides.apps/webdesktop/README.mdand in the postlearn/blog/role-based-navigation-from-one-store-filter.md(#21074): oneincludedfilter withincludeEmptyValues: 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
Neo.desktop.Containerwith an apps store, the launcher's arrangement key, the window class, and a consumer's own taskbar items, its blocks taken fromexamples/desktop/basic.apps/webdesktop/README.mdkeeps the demo's own story (accounts, permission panel) and links the guide for the shell.Acceptance Criteria
learn/guides/, placed by theguide-authoringgate, and the Portal lists it.examples/desktop/basicwhere it can, and the pull request shows a screenshot of each.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"