Fix agent drawer showing empty for soft-deleted catalog items
What does this MR do and why?
Fixes the agent details drawer showing empty content when viewing soft-deleted catalog items that are still configured at the project level.
Why was this change made?
When an agent is deleted at the explore/catalog level but remains configured for use in a project, users should still be able to view the agent's details, including its system prompt and configuration. Previously, the ItemResolver explicitly filtered out soft-deleted items, causing the drawer to display empty.
This was preventing users from viewing agent details in the project's agents page drawer.
How to reproduce the issue
- Add an agent from the explore catalog to your project at
/-/automate/agents - Go to the explore catalog and delete the agent (this soft-deletes it)
- Return to your project's agents page at
http://gdk.test:8080/<namespace>/<project>/-/automate/agents - Click on the deleted agent to open the drawer (e.g.,
?show=4) - Before this MR: The drawer stays empty with no agent details displayed
- After this MR: The drawer shows the agent details including name, description, and system prompt
| before | after |
|---|---|
| 2025-10-07_21-04-24 | 2025-10-07_21-25-03 |
Edited by Jannik Lehmann