LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 18, 2026, 3:13 PM
updatedAtNov 19, 2026, 2:51 AM
githubUrlhttps://github.com/neomjs/neo/issues/21331
authorneo-gemini-maryam
commentsCount0
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 19, 2026, 2:51 AM

Apps publishes Finance and Email, retires RealWorld, and updates Web Desktop

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementdesignaiportal
neo-gemini-maryam
neo-gemini-maryam commented on Nov 18, 2026, 3:13 PM

Context

#21140 (Cornerstone 1 of Engine 14, ROADMAP.md, cut Mon 23 Nov) targets a verified, covered, responsive showcase across every group of the examples section by Fri 20 Nov 12:00 CET. Following the Apps slate audit on #21142 (dev 0128668721, 16 entries opened and used at 1440 × 900 and 390 × 844), Apps moves from 4 to 6 home cards (✓ keeps: webdesktop, devindex, covid-dashboard, portal; ↻ renews + adds records: finance, email; ✕ retires: realworld, realworld-v2) under the one-batch-PR-per-group rule (#21140 Build notes).

The Problem

  • apps/finance is missing from examples.json and wastes 40% of the desktop stage: six fixed-width columns (40+100+250+200+120+120 = 830 px in apps/finance/view/GridContainer.mjs:23-55) leave 562 px blank dead space inside a 1,392 px grid at 1440 × 900, the toolbar holds only two bare Start/Stop buttons with inline styles, ViewportController#updateRecord() (:66) indexes 0..100 unguarded against filtered store counts, GridContainer.mjs:5 JSDoc says @extends Neo.table.Container, and there is no CSS/search filter.
  • apps/email is missing from examples.json, opens empty on the right half, and overflows at 390 × 844: WorkspaceContainer.mjs:40 initializes email: null without selecting row 0 in WorkspaceController.mjs:21-28, leaving the detail reader showing "Select an email to read" and "Open in window" disabled on arrival; at 390 × 844, .email-main-view (min-width: 440px) + .email-detail-panel (min-width: 300px) force 740 px horizontally.
  • Catalog hygiene (examples.json, apps/portal/llms.txt, apps/covid/Util.mjs): realworld and realworld-v2 (with literal </br>(in progress) in its name) remain as hiddenIn-all-4-mode records; webdesktop still lists "component": "State Provider" after #21305 / #21310 moved its shell to src/desktop; covid-dashboard omits #mainview=table on urls.devmode, and Covid.Util.getCountryFlagUrl() requests a bare directory URL on empty country names (ERR_BLOCKED_BY_ORB).
  • captureExamples.mjs blocks families containing external https:// records: validateCaptureRecipes (line 127) requires every covered catalog record in a declared family to have a capture recipe, while capture() (line 253) refuses external https:// devmode URLs such as devindex (https://neomjs.com/devindex/).

The Architectural Reality

  • Portal.model.Example.publishes() and buildScripts/docs/seo/seoJson.mjs publish a catalog entry when record.image is present and the active mode URL is not in hiddenIn.
  • buildScripts/docs/captureExamples.mjs validates apps/portal/resources/data/example-captures.json against apps/portal/resources/data/examples.json, executes deterministic public-DOM steps, and writes 1280 × 720 (640 × 360 @ 2× DPR, < 150 KB) JPEGs served from neomjs/pages resources_pub/website/examples/devmode/.
  • Email.view.WorkspaceContainer (Neo.dashboard.Container) + Email.view.MainView (defineComponent) are covered by test/playwright/e2e/realworld/EmailMultiWindowNL.spec.mjs; test/playwright/unit/apps/realworld/Api{Errors,Token}.spec.mjs load apps/realworld* directly, so the apps/realworld* folders must stay on disk while their catalog entries leave.
  • Finance.store.Companies + Finance.view.Viewport follow apps/ authoring rules (Neo.state.Provider + Neo.data.Store + CSS under resources/css/src/apps/finance/).

The Fix

  1. apps/finance + resources/css/src/apps/finance/Viewport.css + test/playwright/unit/apps/finance/ViewportController.spec.mjs:
    • Flex Company & Sector columns and add Change % and Volume columns so the grid fills 1440 × 900 cleanly.
    • Add changePercent and volume fields on Finance.model.Company, deterministic initial quote seeding, filter-safe updateRecord() + destroy() interval cleanup on ViewportController, a filterable Companies store (SearchFilter / Filter), ViewportStateProvider reactive counts/status, and a wrapping responsive CSS-styled search + ticker status toolbar in Viewport.mjs (docW <= 390 at 390 × 844).
  2. apps/email + resources/css/src/apps/email/{MainView,WorkspaceContainer}.css + test/playwright/e2e/realworld/EmailMultiWindowNL.spec.mjs:
    • Select record 0 on initial inbox construction/load in WorkspaceController#selectInitialEmail() so DetailView opens populated (Project conversation 1, "Open in window" active), while updating EmailMultiWindowNL.spec.mjs test 1 to verify initial selection and then toggle row 0 off via click to exercise the unselected empty-reader + openInWindow('detail') === false guard.
    • Add @media (max-width: 767px) column stacking (.neo-flex-container.neo-flex-direction-row, 52% clipped inbox above 48% detail reader) so docW <= 390 at 390 × 844.
  3. apps/covid/{Util,view/country/Table}.mjs:
    • Guard empty/non-string country names in Covid.Util.getCountryFlagUrl() (return null) and omit the <img> in Country.Table when null.
  4. Catalog, captures & SEO (examples.json, example-captures.json, buildScripts/docs/captureExamples.mjs, CaptureExamples.spec.mjs, apps/portal/llms.txt, seo.json, MainContainerController.spec.mjs, ExamplesCatalogNL.spec.mjs + companion neomjs/pages PR):
    • Retire realworld and realworld-v2 from examples.json and llms.txt; update webdesktop component → "Desktop" and covid-dashboard urls.devmode → "apps/covid/index.html#mainview=table".
    • Exempt external-origin (http(s)://) covered records in validateCaptureRecipes while enforcing same-origin covered records (CaptureExamples.spec.mjs), add finance (family: 'apps') and email (family: 'apps', alsoIn: ['multi-window', 'functional']) records + "apps" recipes for all 5 local apps (webdesktop, covid-dashboard, portal, finance, email) in example-captures.json, capture all 5 covers, deliver devmode/finance-14.jpg and devmode/email-14.jpg via a companion neomjs/pages PR, and regenerate seo.json + class-hierarchy.json + Portal count assertions.

Decision Record impact: none.

Acceptance Criteria

  • apps/finance fills a 1440 × 900 frame without dead right-hand blank space (flex Company & Sector columns plus Change % and Volume), seeds deterministic initial quotes on load, filters by symbol/company/sector through ViewportStateProvider + Companies store without updateRecord() out-of-bounds errors, cleans up its interval on destroy(), and fits 390 × 844 without document horizontal overflow (docW <= 390).
  • apps/email selects the first inbox message on initial load so the detail pane opens populated (Project conversation 1, "Open in window" enabled), stacks cleanly below 768 px (docW <= 390 at 390 × 844), and keeps EmailMultiWindowNL.spec.mjs green (including the deselected empty-reader + openInWindow('detail') === false guard and two native popup returns).
  • apps/portal/resources/data/examples.json removes realworld and realworld-v2 (and apps/portal/llms.txt updates accordingly while keeping apps/realworld* folders for their unit specs), updates webdesktop component to "Desktop" and covid-dashboard urls.devmode to "apps/covid/index.html#mainview=table" (with null-safe Covid.Util.getCountryFlagUrl), and publishes finance (family: 'apps') and email (family: 'apps', alsoIn: ['multi-window', 'functional']) with dark covers (devmode/finance-14.jpg, devmode/email-14.jpg).
  • buildScripts/docs/captureExamples.mjs exempts external-origin (http(s)://) covered records (devindex) from local family recipe completeness while keeping same-origin covered records enforced (CaptureExamples.spec.mjs), and apps/portal/resources/data/example-captures.json declares "apps" with all 5 local apps recipes (webdesktop, covid-dashboard, portal, finance, email); node buildScripts/docs/captureExamples.mjs --family apps produces 1280 × 720 JPEGs (< 150 KB) with devmode/finance-14.jpg and devmode/email-14.jpg delivered in a companion neomjs/pages PR with matching sha256 checksums.
  • seo.json (node buildScripts/docs/seo/generate.mjs -f seo-json + verify.mjs), docs/output/class-hierarchy.json, MainContainerController.spec.mjs, CaptureExamples.spec.mjs, Finance unit spec, and ExamplesCatalogNL.spec.mjs pass with 0 baseline guard failures.
  • PR body includes 1440 × 900 and 390 × 844 before/after frames for apps/finance and apps/email plus an unlabelled ## Cold look evaluation.

Out of Scope

  • Cross-listed sibling apps owned by Multi-Window (workstation, shared-covid, shareddialog, colors) and Forms (form-app), which stay in Mnemosyne's and Ada's lanes.
  • Replacing WebDesktop's AppView placeholders with live component windows (deferred to Grace's #21198 leaf per MESSAGE:ce6dc1dc).
  • Removing apps/realworld/ or apps/realworld2/ source directories on disk (specs still test them) or removing legacy light-only test fixtures (apps/legit, apps/route, apps/ai/neural-link).
  • Portal shell (#21325 / #21347) or find field (#21326) layout changes.

Avoided Traps

  • Leaving EmailMultiWindowNL.spec.mjs asserting an empty detail reader before row click without adapting test 1 to click row 0 off first to verify the deselected guard.
  • Using clearInterval without an interval-safe updateRecord() bounds check when filtering Companies reduces store.getCount() below 100.
  • Touching ExamplesCatalogNL / MainContainer layout owned by Julia's #21325 (#21347) Shell PR.

Related

Parent: #21140 · Slate rows: #21142 (comment 6981046662) · Desktop shell epic: #21198 (#21310, #21348) · Companion covers PR in neomjs/pages (linked on implementation PR).

Ownership: self-assigned, Maryam builds it.

Live latest-open + closed sweep: checked latest 20 open (68 open total, red band — leaf under #21140) + open and closed search ("apps finance email realworld"), A2A latest 30 messages all read-states, query_raw_memories ("apps finance email realworld catalog examples"), and gh issue list --assignee @me (only #21216 open) at 2026-11-18T14:12:38Z; no equivalent or prior exclusion found.

Origin Session ID: 8d86fc2d-c555-43ca-b46d-9723f9e0a15d

Retrieval Hint: "examples kitchen sink Apps group finance email realworld webdesktop catalog covers"

Authored by Maryam (Gemini 4 Carbon, Antigravity). Session 8d86fc2d-c555-43ca-b46d-9723f9e0a15d. 🧭

tobiu referenced in commit 2c9336c - "feat(examples): publish Finance and Email in Apps and retire RealWorld (#21331) (#21354) on Nov 19, 2026, 2:51 AM
tobiu closed this issue on Nov 19, 2026, 2:51 AM