LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 18, 2026, 4:41 PM
updatedAtNov 18, 2026, 6:13 PM
githubUrlhttps://github.com/neomjs/neo/issues/21361
authorneo-opus-grace
commentsCount1
parentIssue21198
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 18, 2026, 6:13 PM

The desktop launcher shows each group as a captioned icon column

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementdesignai
neo-opus-grace
neo-opus-grace commented on Nov 18, 2026, 4:41 PM

Context

On 18 Nov @tobiu asked whether we should challenge the web desktop's design harder. Two readers without context graded the frames in #21348: the demo 5 → 6.5 of 10, the example 4 → 5. Both named the launcher, unprompted: it reads like a settings page. The finding and the plan are on #21198 (comment 6982004056).

Owned rather than good first issue: it is due before the cut's lock (Sun 22 Nov), and the design challenge on #21198 is mine.

The Problem

Reproduced on dev at 289d1a2db3 (apps/webdesktop, Alex Morgan, neo-dark, 1440 × 900): five uppercase headings draw full-width rules across the screen, while the 11 icons fill its left fifth in rows of up to three. The headings and their rules carry the screen, so it reads as a form with sections, not as a desktop.

The Architectural Reality

  • Neo.desktop.Launcher (src/desktop/Launcher.mjs) is a list.Base with useHeaders. A group renders as a dt and its apps as dd siblings: one flat vdom.cn (src/list/Base.mjs:649-669), with no wrapper per group.
  • resources/css/src/desktop/Launcher.css:56-79 lays that list out as a row-major grid (grid-template-columns: repeat(auto-fill, 100px)). A header spans its row (grid-column: 1 / -1) in uppercase and draws border-bottom: 1px solid var(--desktop-launcher-header-border-color). Those are the rules the readers saw.
  • The drag (Neo.draggable.list.SortZone) previews a drop by reordering the sibling item nodes in vdom.cn (src/draggable/list/SortZone.mjs:242-256), so DOM order has to stay visual order. The launcher sets sortDirection: 'horizontal' because its icons sit in rows (Launcher.mjs:52-56).
  • Ctrl+Shift+Left/Right (Cmd on macOS) move the focused app one place (keys, moveFocusedApp).

Design authority: #21198, comment 6982004056: "before the cut (lock Sun 22 Nov), real apps in the windows, [...] plus the launcher and chrome fixes, all with a cold look against these numbers." The class JSDoc fixes the grouping, not the layout: "A web desktop's app icons, grouped". No guide or ADR sets the launcher's layout (searched: the five learn/ files that name the launcher, none on its layout; ask_knowledge_base on its icons and group headings, no answer).

The Fix

A desktop lays its icons out in columns from the top left. The launcher does the same: one column per group, with its caption on top.

  1. resources/css/src/desktop/Launcher.css: the grid flows by column (grid-auto-flow: column) in 24px rows (grid-template-rows: repeat(auto-fill, 24px), row-gap: 0). A header sets grid-row-start: 1, and CSS Grid's auto-placement then opens a new column for it. An app tile spans four rows. A group taller than the launcher continues in the next column. The caption is sentence case, centered over its column, with no rule. On the live page, an injected style with these rules gave each of the five groups its own column.
  2. Phones (max-width: 600px) keep rows of four, each caption above its group, with no rule.
  3. The --desktop-launcher-header-border-color token leaves both themes (theme-neo-dark, theme-neo-light); nothing else reads it.
  4. src/desktop/Launcher.mjs: the drag drops its horizontal override and takes SortZone's vertical default, since a group is a column. Ctrl+Shift+Up/Down join Left/Right as the move keys. The class JSDoc describes the layout.
  5. test/playwright/unit/desktop/Launcher.spec.mjs: the drop arm models a column (a target below the source), and the key arm covers Up/Down.

Contract Ledger

Target surface Source of authority Proposed behavior Fallback Docs Evidence
--desktop-launcher-header-border-color (theme token) resources/css/theme-neo-{dark,light}/desktop/Launcher.css removed none needed: Launcher.css is its only reader — git grep on the token
Neo.desktop.Launcher move keys Launcher.mjs keys Ctrl/Cmd+Shift+Up/Down added; Left/Right stay — class JSDoc unit arm
Neo.desktop.Launcher drag axis dragZoneConfig.sortDirection vertical, SortZone's default a consumer sets dragZoneConfig.sortDirection class JSDoc unit arm
Neo.main.addon.Navigator#subscribe workerChords (added in #21364 review) src/main/addon/Navigator.mjs, beside workerKeys true hands arrow, Home and End pressed with Ctrl or Cmd to the App Worker; plain keys navigate default false: every other navigator unchanged subscribe JSDoc e2e/webdesktop/LauncherKeys.spec.mjs

Decision Record impact: none.

Acceptance Criteria

  • At 1440 × 900 (apps/webdesktop, Alex Morgan) each group is one column under its caption; no rule crosses the screen, and no caption is uppercase. Before and after frames in the PR, in neo-dark and neo-light.
  • A group with more apps than a column holds continues in the next column (a frame or a spec).
  • At 390 × 844 the launcher keeps rows of four, each caption above its group, with no rule (frame).
  • A drag within a group places the app by the vertical halves of its target, and Ctrl/Cmd+Shift+Up/Down and Left/Right move the focused app (unit arms).
  • Two readers without context, shown the 1440 × 900 after frame, describe it as a desktop, and neither calls it a settings page or a form. Their words are in the PR.

Out of Scope

  • The window glyphs. They sit in src/dialog/Base.mjs, src/dialog/header/Toolbar.mjs and the app window, which #21348 changes, so they get their own leaf once #21348 merges.
  • Real apps in the windows (#21353) and the classic themes (#21205).
  • Arrow-key focus moves between icons, and a panel behind each group.
  • A layout-aware drag axis. On a phone's rows the vertical halves decide too, and the live preview shows the slot before the drop.

Avoided Traps

  • A wrapper per group would replace list.Base's flat vdom.cn, which SortZone's preview reorders.
  • Placing each item from JS (an inline grid row and column per item) would pin every item to its cell, so the preview's node reordering would stop moving them.

Related

Parent #21198. #21348 / #21201 (container, taskbar, app window), #21353 (real apps), #21205 (classic themes), #21272 (window controls), #21310 / #21200 (the launcher's move into src/desktop). #21139 (a drag by hand on the deployed Portal) checks the new axis after the next deploy.

Live latest-open + closed sweep: checked the latest 20 open, plus open and closed searches (launcher, launcher desktop; Out of Scope read on #21065, #21075, #21200 and #21063), at 2026-11-18T15:39Z; no equivalent or prior exclusion found. Backlog band: 85 open (red), so this is a sub of its owning epic #21198. A2A claim sweep: the last 30 messages, no claim on the launcher. MC sweep: "web desktop launcher reads like a settings page, category headings with rules, icons in the left quarter", 5 results, no prior decision found. Own-assignment sweep: 10 open, none on the launcher's layout (#21205 is the desktop's themes, #21201 its container).

Retrieval Hint: "web desktop launcher reads like a settings page", "desktop launcher one column per group".

Origin Session ID: 99cb2722-42e7-4799-beb6-10c9ce939ead