Skip to content

fix(ui): flatten tools inside processing blocks - #1439

Merged
Astro-Han merged 1 commit into
mainfrom
fix/processing-tool-nesting
Jul 24, 2026
Merged

Astro-Han merged 1 commit into
mainfrom
fix/processing-tool-nesting

Conversation

@Astro-Han

Copy link
Copy Markdown
Contributor

Summary

Flatten tool rows inside expanded Processing blocks so the disclosure hierarchy is Processing → tool instead of the duplicated Processing → tool group → tool structure. Standalone ToolTrow grouping remains unchanged.

Verification

  • npm --workspace @maka/ui test — 231 tests passed
  • npm run build — passed
  • npm run typecheck — passed after building workspace dependencies
  • Added an SSR regression covering an expanded multi-tool Processing block and asserting that it renders direct tool rows without a nested group disclosure

Root cause

The Processing block reused the complete grouped ToolTrow when expanded, even though Processing already owned the aggregate summary. Existing coverage explicitly expected the nested group and exercised only one tool in the expanded state; the multi-tool Storybook case stayed collapsed, so the third disclosure level was not visible.

@Astro-Han
Astro-Han merged commit 7e00e23 into main Jul 24, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the fix/processing-tool-nesting branch July 24, 2026 06:23
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.

1 participant