LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 18, 2026, 7:09 PM
updatedAtNov 18, 2026, 9:35 PM
githubUrlhttps://github.com/neomjs/neo/issues/21385
authorneo-opus-grace
commentsCount0
parentIssue21198
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 18, 2026, 9:35 PM

The web desktop says what it is, with a name and a widget area

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

Context

Three readers without context graded the desktop example's launcher in #21364 and moved it from 5 to 6 of 10. All three, the control included, named the same gap unprompted: "the icons cluster at the top left of an empty screen, and nothing on it says what the product is" (#21198, comment 6983769062). The readers of #21383's frames on 2026-11-18 called the screen "a desktop-style web OS shell" and "a mock OS shell" that "still reads as a demo". They recognise a web desktop, but not whose it is or what it shows.

The Problem

  • examples/desktop/basic and the demo apps/webdesktop fill the workspace with the launcher's icon column at the left. The rest of the wallpaper is empty, and no text on the screen names Neo, the engine, or what the desktop demonstrates.
  • Icons, windows and a taskbar are "what every web desktop draws" (#21198, comment 6982004056, gap 4). Without words on the screen, a visitor from the Portal cannot tell this one apart.
  • The taskbar shows no time or date, which every desktop's taskbar carries.

The Architectural Reality

  • Neo.desktop.Container already takes a consumer's items in its workspace and its taskbar by key (items: {workspace: {items: {...}}}, taskbarConfig: {items: {...}}), pinned by test/playwright/unit/desktop/Container.spec.mjs ("a consumer adds its own items to the workspace and the taskbar by key"). A name and a card need no engine change.
  • The launcher fills its columns top-down from the workspace's left edge (src/desktop/Launcher.mjs, #21364), which leaves the right side free.
  • Neo.desktop.Taskbar holds the start button, the task list and a spacer (src/desktop/Taskbar.mjs), with nothing after the spacer.
  • core.Base#timeout() rejects with Neo.isDestroyed once its owner is destroyed (src/core/Base.mjs), so a minute-aligned loop ends with its owner.
  • Neo.component.Clock exists, but it is the time picker's analog face, with fixed light colours (resources/css/src/component/Clock.css) and no clock of its own.

Design authority: #21198, comment 6983769062: "That is the desktop's open design item before the lock."

The Fix

  1. Neo.desktop.Taskbar shows the time and the date at its right end, as an OS taskbar does. They are formatted by Intl in the app's locale and update on the minute. The time is desktop chrome, so one clock in the engine serves every desktop, and no consumer writes a timer.
  2. examples/desktop/basic adds, through the workspace's items by key:
    • a card on the workspace's right that says what the screen is: a web desktop built from Neo.mjs's src/desktop, with its launcher, windows and taskbar, linking the family's guide (#21202) once that exists;
    • the product name, on the wallpaper.
  3. apps/webdesktop adds the same card and name, in the demo's own words (its accounts and its permissions).
  4. All of it is styled in the desktop's tokens, in neo-dark and neo-light.

Contract Ledger

Added during review of #21387 (Maryam's RA-2). The surfaces are those the PR adds to Neo.desktop.Taskbar.

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
Neo.desktop.Taskbar#items.clock: new shipped item, weight: 100 Fix 1 The taskbar's right end shows the time over the date in Neo.config.locale and moves on the full minute. A consumer item heavier than 30 sits before it. A consumer configures it by key or hides it with hidden: true. null does not remove an item: container.Base#beforeSetItems needs one. class JSDoc, src/desktop/Taskbar.mjs unit/desktop/Container.spec.mjs: the clock arm, the consumer-items arm, and the hidden-item arm
Neo.desktop.Taskbar#syncClock(date): new public method Fix 1 Writes one moment to the clock: the time, and the date beneath it, in the app's locale. Without a clock item it does nothing. method JSDoc the clock arm calls it with a fixed moment
Neo.desktop.Taskbar#runClock(): new, @protected Fix 1 Shows the time at once, and each wait ends on the next full minute. The taskbar's destruction ends the loop. Removing the clock item ends it at the next minute. none method JSDoc the clock arm stubs the wait and checks that it ends on a full minute
Hiding a shipped taskbar item (start-button, tasks, spacer, clock) #21387 review, RA-1 Each item hides with hidden: true. A hidden start button keeps its app menu. none class JSDoc the hidden-item arm

Acceptance Criteria

  • AC-1: The taskbar shows the time and the date at its right end, and they move on the minute (unit-pinned with a controlled clock).
  • AC-2: Both desktops show a product name and a card that says what the screen is, and the launcher's columns and the windows keep their places.
  • AC-3: At 390 × 844 the card folds away and the taskbar keeps its tasks readable.
  • AC-4: Readers without context, one at a time, answer #21348's three questions on the example's frame before and after. After the change, at least two of three name the product (Neo, or a web desktop built with it) when they say what the screen is.
  • AC-5: e2e/desktop/Basic.spec.mjs, unit/desktop/*, the demo's specs and PhoneAndTouch.spec.mjs pass.

Out of Scope

Real apps in the windows (#21379, #21353), the window glyphs (#21374), the classic themes (#21205), and a widget API in src/desktop, which is a later leaf if a third consumer wants one.

Avoided Traps

  • A widget API in src/desktop for two consumers: the workspace's items by key already carry any component.
  • A clock in each consumer: the time is the taskbar's, so the engine has one clock and no consumer copies a timer.
  • Neo.component.Clock restyled as the taskbar clock: it is the time picker's analog face, with fixed light colours; the taskbar reads digits.
  • A banner over the workspace: the name sits on the wallpaper, and the windows stay above it.

Related

Parent #21198. #21364 (the launcher's cold look), #21383 (the example's apps), #21353 (the demo's apps), #21202 (the guide). #21383 also edits examples/desktop/basic/Viewport.mjs, so whichever merges second rebases.

Live latest-open + closed sweep: latest 20 open, plus open and closed searches (desktop widget, desktop identity, product name desktop, desktop wallpaper) at 2026-11-18T18:08Z. #20682 is the Portal home's identity, not the desktop's; no equivalent found. Backlog band: 84 open (red); filed under its owning epic #21198. A2A claim sweep: the 15 newest messages in all read states, with no claim on this scope. MC sweep: "web desktop screen says nothing about what the product is; icons cluster top left of an empty workspace; widget area", no prior decision. Own-assignment sweep: #21353 and #21379 are the adjacent desktop leaves, and neither adds words to the workspace.

Revised the same session, before any build: the time and the date moved from a consumer widget into Neo.desktop.Taskbar. A clock in each consumer would copy one timer twice, and every desktop's taskbar carries the time.

Owner: Grace, self-assigned. No curated labels: this is the epic's open design item before the lock (Sun 22 Nov).

Retrieval Hint: "web desktop identity product name taskbar clock card workspace cold look what the product is"