LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 16, 2026, 4:33 AM
updatedAtNov 16, 2026, 8:53 AM
githubUrlhttps://github.com/neomjs/neo/issues/21095
authorneo-opus-grace
commentsCount0
parentIssue21061
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 16, 2026, 8:53 AM

The Portal's Web Desktop card shows a placeholder, not the desktop

Closed v14.0.0/archive-v14-0-0-chunk-3 enhancementaiportal
neo-opus-grace
neo-opus-grace commented on Nov 16, 2026, 4:33 AM

Context

Epic #21061's terminal predicate ends with "the Portal lists the demo with what it proves". apps/portal/resources/data/examples.json lists the Web Desktop as a featured example with "image": null. Of the 28 featured examples, it is the only one without a cover; the other 27 serve a screenshot from neomjs/pages.

The Problem

On the Portal's Featured examples tab, the Web Desktop card draws the typographic fallback (a star and "State Provider" on a gradient) where every neighbour shows its app. A stranger choosing what to open sees the one demo built around a polished desktop as the only card without a picture of it. Witnessed on the local Portal at 2026-11-16T03:25Z.

The Architectural Reality

  • Portal.view.examples.List#getBackgroundImageStyle (apps/portal/view/examples/List.mjs) layers url(<imageBasePath>/<image>) over a gradient. With image: null only the gradient renders, and the portal-example-placeholder node stays in the card.
  • imageBasePath reads resources_pub/website/examples from neomjs/pages: a relative path on GitHub Pages, raw.githubusercontent.com/neomjs/pages/main/… everywhere else. The served copy therefore lives in neomjs/pages. This repository keeps the source original beside its siblings in apps/portal/resources/images/examples/devmode/ (workstation-13-2.jpg, dock-choreography-13-2.jpg, grid-issues-13-3.jpg; #19641, #19948).
  • The card (resources/scss/src/apps/portal/examples/List.scss) anchors the cover top-left (background-size: cover, background-position: 0% 0%), so a 1280×720 cover crops on the right. Measured on the local Portal: at 1440px the 800×546 card shows image x 0–1055 and its caption covers everything below image y 360. At 375px the caption sits below a 303×210 image box that shows image x 0–1039.
  • Precedent: #19640 / #19641 named devmode/workstation-13-2.jpg and devmode/dock-choreography-13-2.jpg, and neomjs/pages#37 served them. #20679 sets the cover standard for the Grid and Table cards: the example's own frame with the feature in action, the dark theme, a JPEG of at most 150KB, the pages pull request first, and a recorded capture (URL, viewport, theme, interaction).

The Fix

  • neomjs/pages (neomjs/pages#87): add resources_pub/website/examples/devmode/webdesktop-14-0.jpg, a 1280×720 JPEG of about 85KB captured from the demo: Alex Morgan signed in, the launcher, and Mail's window raised into the top band with its "Granted by view-mail to Alex Morgan" chip in view.
  • apps/portal/resources/images/examples/devmode/webdesktop-14-0.jpg: the source original, the same bytes as the pages copy.
  • apps/portal/resources/data/examples.json: the webdesktop entry's image becomes devmode/webdesktop-14-0.jpg.
  • The name follows the <app>-<release> convention for 14.0.0, the release that ships the demo (ROADMAP.md, "Next: Engine 14").

Acceptance Criteria

  • AC-1 the webdesktop entry names devmode/webdesktop-14-0.jpg, the source original sits in apps/portal/resources/images/examples/devmode/, and neomjs/pages main serves the same bytes (the raw URL answers 200 with a 1280×720 JPEG of the same SHA-256).
  • AC-2 on the Portal's Featured tab the Web Desktop card renders the cover instead of the placeholder. The window and its permission chip show above the caption at 1440px and inside the image box at 375px.
  • AC-3 the pull request records the capture: URL, viewport, theme and interaction.
  • AC-4 (post-merge) neomjs.com shows the cover once 14.0.0 is released.

Out of Scope

  • Covers for the 46 other, non-featured examples without one.
  • The card layout itself.
  • A light-theme cover: every sibling ships one cover, and the demo opens in its dark theme.

Avoided Traps

  • A cover only in this repository: the Portal reads covers from neomjs/pages, so without the pages copy the card stays empty.
  • A designed cover with a headline: the siblings are raw app screenshots, and the card already carries the copy.

Related

  • Parent: #21061
  • Precedent: #19640, neomjs/pages#37; #20679 (the cover standard; it owns the Grid and Table cards, not this one)
  • Serving: neomjs/pages#87

Ownership: self-assigned to the night-shift lane for #21061; not marked for contributors because the cover is captured and the change is in flight. Live latest-open + closed sweep: checked latest 20 open + open and closed search ("example cover", "Portal example image", "web desktop Portal", "featured example placeholder"; Out of Scope / Avoided Traps read on #20679 and #20724) at 2026-11-16T03:28Z; no equivalent or prior exclusion found, and #20679 owns the Grid and Table covers only. Backlog: 64 open (red); the owning epic is #21061, so this files as its sub. A2A claim sweep: last 30 messages at 2026-11-16T03:29Z, no overlapping claim (Clio's neomjs/pages#86 serves another cover). MC sweep: "web desktop Portal featured example card has no cover image, placeholder instead of a screenshot", 10 results; no prior decision on this card. #19640's lesson, that a card answering 200 is no proof it shows the intended app, shaped AC-2. Own-assignment sweep: 10 open, none overlapping.

Origin Session ID: 7ceb0de7-6fcc-4777-879b-3a305deac77f Retrieval Hint: "web desktop Portal featured example card placeholder cover image null"

tobiu referenced in commit d18d76f - "feat(portal): the Web Desktop card shows the desktop, behind its 14.0 cover (#21095) (#21096)" on Nov 16, 2026, 8:53 AM
tobiu closed this issue on Nov 16, 2026, 8:53 AM