Skip to content

fix(graph): a cell that never ran shows no output pane at all - #1468

Merged
rbuergi merged 1 commit into
mainfrom
fix/no-empty-output-pane
Aug 14, 2026
Merged

rbuergi merged 1 commit into
mainfrom
fix/no-empty-output-pane

Conversation

@rbuergi

@rbuergi rbuergi commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What

An executable Code cell that has never run rendered an italic "Not yet run." strip in its output segment. Now it renders no output segment at all — the cell ends after the toolbar. Press Run, the node gains a LastActivityPath, and the pane appears with the live log in it.

Why

Maintainer feedback on the deployed cell: "it looks like this when it was not run ⇒ say to run or hide it." Once #1463 moved the toolbar above the output, that strip became a dead empty box hanging off the bottom of every unrun cell — a status nobody needs, sitting directly under the accent Run button that is the answer to it. Absence says the same thing and says it quieter.

Tested

  • MeshWeaver.AI.Test cell suites 10/10: CodeCellLayoutTest now asserts the output area is absent before the first run, and the run test — which actually has an output to order — pins the full reading order CODE → TOOLBAR → OUTPUT (it previously could only be asserted in the state where the output was an empty placeholder).
  • MeshWeaver.Graph.Test 1114/1114.
  • dotnet build -c Release -p:CIRun=true -warnaserror clean.

🤖 Generated with Claude Code

An unrun executable cell rendered an italic "Not yet run." strip in its
output segment. Once the toolbar moved above the output (#1463) that
strip became a dead empty box hanging off the bottom of every unrun
cell — directly under the accent Run button that is the answer to it.

The segment is now rendered only when there IS a run to show. Press Run
and the node gains a LastActivityPath, so the pane appears with the live
log in it; until then the cell simply ends after the toolbar.

CodeCellLayoutTest pins the absence before the first run, and the run
test — which actually has an output to order — now pins the full
reading order CODE → TOOLBAR → OUTPUT.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 14, 2026 06:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the Code cell UX in MeshWeaver.Graph by removing the “Not yet run.” output placeholder for executable cells that have never been executed, so the cell renders only CODE → TOOLBAR until a run stamps LastActivityPath, at which point the OUTPUT segment appears and embeds the live activity progress/log.

Changes:

  • Update CodeLayoutAreas.Content rendering to omit the output segment entirely unless LastActivityPath is present.
  • Adjust CodeCellLayoutTest to assert the output area is absent before first run and to pin the CODE → TOOLBAR → OUTPUT ordering in the post-run state.
  • Clarify the CodeLayoutAreas documentation comments to reflect the conditional output rendering.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/MeshWeaver.AI.Test/CodeCellLayoutTest.cs Updates layout assertions to expect no output area before first run and verifies ordering once output exists.
src/MeshWeaver.Graph/CodeLayoutAreas.cs Removes the “Not yet run.” placeholder output view; output is rendered only when LastActivityPath is set.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 0)

723 tests  ±0   723 ✅ ±0   10m 56s ⏱️ +13s
 10 suites ±0     0 💤 ±0 
 10 files   ±0     0 ❌ ±0 

Results for commit 96562ca. ± Comparison against base commit 9fece59.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 5)

1 920 tests  ±0   1 728 ✅ ±0   6m 24s ⏱️ +35s
   11 suites ±0     192 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit 96562ca. ± Comparison against base commit 9fece59.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 4)

1 930 tests  ±0   1 920 ✅ ±0   8m 19s ⏱️ + 1m 40s
   11 suites ±0      10 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit 96562ca. ± Comparison against base commit 9fece59.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 3)

   11 files  ±0     11 suites  ±0   4m 42s ⏱️ -16s
1 834 tests ±0  1 731 ✅ ±0  103 💤 ±0  0 ❌ ±0 
2 164 runs  ±0  2 061 ✅ ±0  103 💤 ±0  0 ❌ ±0 

Results for commit 96562ca. ± Comparison against base commit 9fece59.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 2)

2 475 tests  ±0   2 474 ✅ ±0   7m 3s ⏱️ +5s
   12 suites ±0       1 💤 ±0 
   12 files   ±0       0 ❌ ±0 

Results for commit 96562ca. ± Comparison against base commit 9fece59.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 1)

1 526 tests  ±0   1 526 ✅ ±0   8m 10s ⏱️ +43s
   11 suites ±0       0 💤 ±0 
   11 files   ±0       0 ❌ ±0 

Results for commit 96562ca. ± Comparison against base commit 9fece59.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    66 files  ±0      66 suites  ±0   45m 35s ⏱️ + 2m 59s
10 408 tests ±0  10 102 ✅ ±0  306 💤 ±0  0 ❌ ±0 
10 738 runs  ±0  10 432 ✅ ±0  306 💤 ±0  0 ❌ ±0 

Results for commit 96562ca. ± Comparison against base commit 9fece59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants