LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 21, 2026, 2:55 AM
updatedAtNov 21, 2026, 5:40 AM
githubUrlhttps://github.com/neomjs/neo/issues/21712
authorneo-opus-grace
commentsCount0
parentIssue20874
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[x] 21630 A board example edits a card in place and in its editor
closedAtNov 21, 2026, 5:40 AM

Editing a board card keeps its shape: in place and in the editor

neo-opus-grace
neo-opus-grace commented on Nov 21, 2026, 2:55 AM

Context

Driving #21630 (the board's card-editing example) on dev 5851f7d976 at 1440 × 900 in neo-dark found two places where a board card loses its shape while it is edited, and a cold read of the example's frames found a third. #21630's ACs require the first ("The card does not change its size while it is edited"), and its look AC reads the open editor cold. That ticket keeps engine changes out of its PR, so this leaf blocks it.

The Problem

  1. The inline edit grows the card. A card is 91.1 px tall, and 95.9 px while its title is edited. The title's line box is 18.2 px (14 px at line-height: 1.3), and the Neo.form.field.Text that replaces it is 27 px. margin: -2px 0 takes back only 4 px. The edited name also drops to the field's 13 px from the title's 14 px semibold, so the text jumps as the edit starts.
  2. The editor labels its fields two ways. The Status field is a Neo.form.field.Select, a native select whose label always sits above it, while every text field labels on its left. The dialog reads as two forms stacked together.
  3. The editor can open for one card while another stays highlighted. The ⋯ button opens the editor without touching the selection. After a candidate is renamed (which selects that card), opening another candidate's editor leaves the first one highlighted, so the editor looks like it is changing the wrong record.

The Architectural Reality

  • .neo-board-card-inline-editor (resources/css/src/board/Card.css:57-61) sizes the inline field next to .neo-board-card-title (:51-55). The field's own CSS gives it height: 27px, and its input min-height: 25px and 13 px type.
  • CardEditor#getStandardFieldConfigs (src/board/CardEditor.mjs:526) and #createModelFieldConfig build Text, TextArea, Number and Date fields with no labelPosition, so they take Text's labelPosition_: 'left' (src/form/field/Text.mjs:200). Neo.form.field.Select has no labelPosition, and its label is a block above the control.
  • SelectionModel#onBoardClick (src/board/SelectionModel.mjs) returns early for a click on .neo-board-card-menu-button, and Card#onMenuButtonClick opens the editor directly.
  • Design authority: none found. Searched the Card.mjs, CardEditor.mjs and SelectionModel.mjs JSDoc, learn/guides, and #21371 / #21222 (the earlier editor tickets: contrast, and the model-driven fields). No record makes the growth, the mixed labels or the stale highlight intended.

The Fix

  1. Give the inline edit the title's line box and type: the field takes height: auto and the title's weight and line height, and its input takes font: inherit, height: 1lh and no minimum. The card keeps its height, and the name keeps its font.
  2. Label the editor's text-like fields on top, as the select already is, in the configs both methods build. A config that names its own labelPosition keeps it.
  3. A ⋯ click on an unselected card makes it the selection. A selected card keeps the selection it belongs to.

Acceptance Criteria

  • A card keeps its height while its title is edited, and the edited name keeps the title's font. A component spec measures both, and it fails on dev.
  • Every field of the card editor carries its label above it. A unit arm reads labelPosition: 'top' on the Title, Assignees, Tags, Description, Progress and Date configs.
  • A ⋯ click on an unselected card makes that card the selection, and on a selected card it keeps the selection (unit arm in SelectionModel.spec.mjs, failing on dev).
  • The board unit family and test/playwright/e2e/board/ stay green.

Out of Scope

The example (#21630). The select's own label options. Fields an app passes as full configs through fields. The dialog's header colors and modal mask (theme-wide dialog styles).

Avoided Traps

  • Shrinking the field with a negative margin sized to one theme's input. Input heights differ per theme; 1lh follows the title.
  • Moving the select's label to the left. A 440 px dialog has no room for a label column, and top labels also fit a phone.
  • Collapsing a multi-selection to the card whose ⋯ was clicked. A selected card's menu keeps the selection it belongs to.

Related

Blocks #21630 · parent #20874

Live latest-open + closed sweep: latest 20 open read (78 open, red band, so this is filed as a leaf of the owning epic #20874). Open and closed search for "card editor", "inline title edit", "CardEditor label" and "inline editor card size" at 2026-11-21T02:00Z found #21371, #21391 and #21222, all closed, none of which is this one. No prior exclusion. A2A in-flight sweep: no claim on board/Card or board/CardEditor since 00:30Z. MC sweep: covered by the board-editor history in #21222 and #21371; no decision about the edit's size or the label side. Own-assignment sweep: #21630 is the blocked ticket, and none of the others overlaps.

Decision Record impact: none.

Origin Session ID: fe1fb39a-4824-43a6-a2a5-c8d7fdc26aca

Retrieval Hint: "board card inline title edit grows the card, card editor select label above text labels left, menu button editor stale selection highlight"

🖖 Grace · @neo-opus-grace · Claude Opus 5.5 · Claude Desktop