LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 16, 2026, 1:47 AM
updatedAtNov 16, 2026, 8:49 AM
githubUrlhttps://github.com/neomjs/neo/issues/21074
authorneo-opus-grace
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21064 Web desktop: a double-click opens an app window out of its icon
blocking[]
closedAtNov 16, 2026, 8:49 AM

Blog post: permission-driven navigation, shown on the web desktop demo

Closed v14.0.0/archive-v14-0-0-chunk-3 documentationenhancementBlog Postai
neo-opus-grace
neo-opus-grace commented on Nov 16, 2026, 1:47 AM

Context

The operator's idea while #21061 was being built: a blog post on this side project, showing that it got done fast. The work started from a community question on Slack: what is "the proper way" to show menu and sub-menu items that depend on the permissions a backend returns after sign-in? The answer became a demo app plus two engine fixes, all opened as reviewed pull requests within about an hour.

The Problem

Permission-driven navigation is the first thing most business apps need after sign-in, and the usual answer elsewhere is imperative: a service builds component lists per permission for each menu. Neo's answer is shorter, but nobody can find it yet: permissions are provider state, navigation is records in one store, and visibility is one filter that every bound view follows. The pace is a second, separate story. One maintainer took a stranger's question to an epic, two engine fixes found on the way, and a polished, tested demo, each step a reviewed PR. The pace is evidence for that story, never the hook.

The Architectural Reality

Design authority: n/a: a new post; it calls no existing behavior wrong.

The post follows .agents/skills/blog-post/references/blog-authoring-guide.md:

  • Reader first. The reader is a developer, human or agent, wiring up role-based menus.
  • Visuals. At least one Mermaid diagram plus screenshots.
  • Claims. Record claims carry their receipts; the over-claim audit applies.
  • Review. One consolidated fact check at the final version by a seat that did not draft it, and at least two model reviews, one of them from another family. The operator approves last.
  • Registration. The post registers in apps/portal/resources/data/blog.json. Images go to neomjs/pages under resources_pub/website/blog/<slug>/.

Record anchors for the timeline (UTC; cite, do not re-measure):

Step Anchor
The session picks up the question sunset-successor message, 2026-11-15T23:46Z
Epic and first leaves filed #21061 23:57:04Z; #21062, #21063, #21064 by 23:57:50Z
Engine fix: tree-store menus honor filters PR #21068, 2026-11-16T00:06:19Z
Shell: sign-in, launcher, start menu PR #21070, 00:30:24Z
Engine fix: dialogs animate out of any node issue #21071 00:32:22Z, PR #21072 00:34:57Z
Windows out of their icons, taskbar PR #21073, 00:45:42Z
Reviews and merges the PRs' merge times, added once they land

The Fix

learn/blog/<slug>.md, plus the blog.json registration:

  • Hook. The job in progress: one sign-in, four accounts, and menus and sub menus that must show exactly what each may use.
  • Turn. Three pieces: a provider value, one TreeStore, and one included filter. The two details that make it correct are includeEmptyValues: false (fail-closed) and groups that carry no permission (TreeStore ancestor preservation).
  • Evidence. Screenshots per account, the live permission panel, and the window growing out of its icon. Add one Mermaid diagram of the state → filter → views flow.
  • Engine fixes. What the demo exposed and fixed: tree-store menus (#21062) and dialogs from any node (#21071).
  • Pace. The timeline above as receipts, with "opened" kept apart from "merged".
  • Try-It. Run apps/webdesktop, then the three pieces to copy into the reader's own app.
  • Outbound. A draft per outbound-post.md §0, in the same PR.

Acceptance Criteria

  • learn/blog/<slug>.md exists and is registered in blog.json, and the JSON parses.
  • The title and opening state the reader's job, not the product or the pace; the pace is proven in the subtitle or body from the receipts above.
  • At least one Mermaid diagram plus screenshots (sign-in, two accounts' desktops, the permission panel, a window opening from its icon). Images live in neomjs/pages, and each is checked at reading size on #/news/blog/<id>.
  • The Try-It section runs the demo and names the three pieces to copy.
  • Over-claim audit: no unsourced "first / fastest", no "shipped" for unmerged work, and no client or community member named.
  • One consolidated fact check at the final version by a non-drafting seat, and at least two model reviews, one from another family. The operator approves last.
  • The outbound draft is in the PR.

Out of Scope

  • New features for the demo (#21065 drag and drop is not a prerequisite; the post may mention it if merged).
  • The Engine 14 release-day post (#21041).

Related

  • Subject: #21061 and its leaves. Blocked by #21064, so the post shows windows.
  • Lands on dev before the Engine 14 cut (2026-11-23) to ship with the release, if the reviews allow.

Live latest-open + closed sweep: open Blog Post label, open "blog post demo", closed "blog web desktop" at 2026-11-16T00:5xZ; no equivalent. Backlog 60 open (red); no owner to fold into.

Origin Session ID: f1b70a0d-406f-4b7d-a69c-20d35c843303 Retrieval Hint: "web desktop blog post permission-driven navigation timeline receipts"

tobiu referenced in commit 1ba690d - "docs(blog): role-based navigation from one store filter, shown on the web desktop demo (#21074) (#21088) on Nov 16, 2026, 8:49 AM
tobiu closed this issue on Nov 16, 2026, 8:49 AM