Repository navigation
Conversation
With pane animations on, ng-zorro hides an inactive tab pane only when its fade-out transition ends. The agent panel loads minimized, with its body hidden, and no transition ends in a hidden subtree. The panes of the agents listed meanwhile stayed, invisible, over the registration tab and took every click, so a user could not select a model or create an agent. The agent tabs no longer animate, so an inactive pane is hidden at once.
The panel was placed at the right edge of its host, which is as wide as the viewport but starts after the dashboard sidebar. It opened past the window's right edge by the sidebar's width, hiding its minimize button and half of the form. It is now placed against the viewport, as the property editor is.
The notice that a computing unit is needed sat beside the button, squeezed into what the button's minimum width left over. It now spans the form above the button.
An agent's step can reach the page before the agent's workflow has been fetched, and then carries the content alone. Reloading the workspace from it dropped the open workflow's id and name: the title went blank and the agent's own tab locked as belonging to a different workflow. The reload now keeps the open workflow's metadata for whatever the agent's workflow does not carry.
Automated Reviewer SuggestionsBased on the
|
Backport auto-label reportThis
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9579 +/- ##
=========================================
Coverage 91.57% 91.57%
Complexity 5158 5158
=========================================
Files 1300 1300
Lines 58092 58092
Branches 7615 7615
=========================================
+ Hits 53195 53196 +1
+ Misses 2959 2958 -1
Partials 1938 1938
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What changes were proposed in this PR?
On a first visit the AI Agents panel did not respond: clicking a model card did nothing, so no agent could be created. The panel loads minimized, and ng-zorro 21 hides an inactive tab pane only when its fade-out transition ends, which never happens inside a hidden panel. Each listed agent's chat pane stayed, invisible, over the "+ Agent" tab and took its clicks. The agent tabs no longer animate, so an inactive pane is hidden at once.
Three smaller fixes:
Any related issues, documentation, discussions?
Part of #9575: this fixes the model card and a user's own chat locking on the open workflow. A chat bound to another workflow still shows the lock.
How was this PR tested?
New specs cover the hidden pane and the kept workflow id; each fails without its fix. Also run in headless Chromium against a local stack, as two users with a real model. On
mainevery click over the form lands on the invisible pane. With this branch an agent is created and answers.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Fable 5.2)