Tasks: task note card misses its task marker #1239

Open
opened 2026-10-06 22:23:37 +00:00 by kayg · 2 comments
Owner

Reproduction: 2026-10-07, real local production server and production web build, Node 22.23.3 Playwright with macOS emulation.

Run from apps/web:
CALTERNAL_SERVER_BIN=/home/kayg/build/targets/bash-tasks/release/calternal-server CALTERNAL_MEDIA_SANDBOX_ROOT="$PWD/../../target/e2e-media-runtime" TMPDIR="$PWD/../../target/tmp" CALTERNAL_E2E_MAC=1 node e2e/task-header-659.mjs

The flow creates a real Task Note and opens its stable /n/ route. The shared Note Card markup in NoteView renders class note-card, but the Task-specific task-note-card marker is absent. The existing Task Header layout probe cannot find the intended Task Note Card and the stylesheet rule for its 280 px minimum height does not match. The browser run fails at apps/web/e2e/task-header-659.mjs:81 with Task title row and Note body share the editor Card.

Relevant evidence: apps/web/src/lib/notes/NoteView.svelte (Note Card class binding and the .task-note-card selector); apps/web/e2e/task-header-659.mjs:81 (production assertion); captured command output: this file.
Severity: minor visual/layout regression. No screenshot was captured before the assertion.

Reproduction: 2026-10-07, real local production server and production web build, Node 22.23.3 Playwright with macOS emulation. Run from apps/web: CALTERNAL_SERVER_BIN=/home/kayg/build/targets/bash-tasks/release/calternal-server CALTERNAL_MEDIA_SANDBOX_ROOT="$PWD/../../target/e2e-media-runtime" TMPDIR="$PWD/../../target/tmp" CALTERNAL_E2E_MAC=1 node e2e/task-header-659.mjs The flow creates a real Task Note and opens its stable /n/<task-id> route. The shared Note Card markup in NoteView renders class `note-card`, but the Task-specific `task-note-card` marker is absent. The existing Task Header layout probe cannot find the intended Task Note Card and the stylesheet rule for its 280 px minimum height does not match. The browser run fails at `apps/web/e2e/task-header-659.mjs:81` with `Task title row and Note body share the editor Card`. Relevant evidence: apps/web/src/lib/notes/NoteView.svelte (Note Card class binding and the `.task-note-card` selector); apps/web/e2e/task-header-659.mjs:81 (production assertion); captured command output: this file. Severity: minor visual/layout regression. No screenshot was captured before the assertion.
Author
Owner

Fixed on job/bash-tasks in f7b65641b (fix(tasks): apply Task Note card sizing (#1239)). NoteView now adds the existing task-note-card marker only to Task Notes, so the Task header/body Card receives its intended 280 px minimum height. The production task-header-659.mjs rerun passes the Card geometry assertion and later stops at the separately filed shared toast callback expiry (#1238).

Fixed on `job/bash-tasks` in `f7b65641b` (`fix(tasks): apply Task Note card sizing (#1239)`). NoteView now adds the existing `task-note-card` marker only to Task Notes, so the Task header/body Card receives its intended 280 px minimum height. The production `task-header-659.mjs` rerun passes the Card geometry assertion and later stops at the separately filed shared toast callback expiry (#1238).
Author
Owner

Visual evidence from the local production build, macOS emulation, at 1x:

  • Before/after: artifacts/bash-tasks/task-note-card/390-paper-before.png and 390-paper-after.png
  • Full set: artifacts/bash-tasks/task-note-card/{390,820,1440}-{paper,tokyo-night}-{before,after}.png
    The before state was captured by removing the Task marker in the browser DOM; the after state uses the production NoteView class. The existing task-header-659.mjs flow passed the Card geometry assertion after this fix and later stopped at shared Undo issue #1238.
Visual evidence from the local production build, macOS emulation, at 1x: - Before/after: `artifacts/bash-tasks/task-note-card/390-paper-before.png` and `390-paper-after.png` - Full set: `artifacts/bash-tasks/task-note-card/{390,820,1440}-{paper,tokyo-night}-{before,after}.png` The before state was captured by removing the Task marker in the browser DOM; the after state uses the production NoteView class. The existing `task-header-659.mjs` flow passed the Card geometry assertion after this fix and later stopped at shared Undo issue #1238.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1239
No description provided.