Skip to content

fix(apollo-react): show "No tasks" message in read-only stage node#382

Merged
kittyyueli merged 1 commit intomainfrom
claude/fix-stage-node-text-Noc35
Mar 23, 2026
Merged

fix(apollo-react): show "No tasks" message in read-only stage node#382
kittyyueli merged 1 commit intomainfrom
claude/fix-stage-node-text-Noc35

Conversation

@kittyyueli
Copy link
Member

Summary

Updated the StageNode component to display a "No tasks" message when the stage is in read-only mode, instead of showing the default content.

Key Changes

  • Modified the empty state message in StageNode to conditionally render based on the isReadOnly prop
  • When isReadOnly is true, displays "No tasks" text
  • When isReadOnly is false, displays the original defaultContent

Implementation Details

This change improves the user experience by providing clearer feedback in read-only stage nodes, making it immediately apparent that no tasks are available rather than showing generic placeholder content.

https://claude.ai/code/session_018gSnZEFPsSwaH5BxGny2aQ

@github-actions
Copy link

github-actions bot commented Mar 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Mar 22, 2026, 12:31:05 PM
apollo-landing 🟢 Ready Preview, Logs Mar 22, 2026, 12:28:14 PM
apollo-ui-react 🟢 Ready Preview, Logs Mar 22, 2026, 12:30:00 PM
apollo-vertex 🟢 Ready Preview, Logs Mar 22, 2026, 12:29:18 PM
apollo-wind 🟢 Ready Preview, Logs Mar 22, 2026, 12:29:14 PM

@github-actions
Copy link

Dependency License Review

  • 1916 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 3 package(s) excluded (see details below)
License distribution
License Packages
MIT 1681
ISC 89
Apache-2.0 56
BSD-3-Clause 28
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 5
MIT OR Apache-2.0 3
MIT-0 3
CC0-1.0 3
LGPL-3.0-or-later 2
(MIT OR Apache-2.0) 2
Unlicense 2
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

When a stage node has no tasks and is in read-only mode, display
"No tasks" instead of "Add first task" since users cannot add tasks.
Consumers can still override via the defaultContent prop.

https://claude.ai/code/session_018gSnZEFPsSwaH5BxGny2aQ
@kittyyueli kittyyueli force-pushed the claude/fix-stage-node-text-Noc35 branch from b756147 to 571643e Compare March 22, 2026 19:27
@kittyyueli kittyyueli merged commit 680669b into main Mar 23, 2026
35 checks passed
@kittyyueli kittyyueli deleted the claude/fix-stage-node-text-Noc35 branch March 23, 2026 20:52
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.

3 participants