[BUG][UI]: Agents page has double loading spinner on refresh
🐞 Bug Summary
Agents (A2A) page has the double-loading spinner on each refresh page.
The same issue was reported on other pages. Check https://github.com/IBM/mcp-context-forge/issues/2689
🧩 Affected Component
Select the area of the project impacted:
- [ ]
mcpgateway- API - [x]
mcpgateway- UI (admin panel) - [ ]
mcpgateway.wrapper- stdio wrapper - [ ] Federation or Transports
- [ ] CLI, Makefiles, or shell scripts
- [ ] Container setup (Docker/Podman/Compose)
- [ ] Other (explain below)
🔁 Steps to Reproduce
- Go to http://localhost:8080/admin/#a2a-agents or refresh
- Observe the loading spinner
🤔 Expected Behavior
One loading spinner is displayed at refresh.
📓 Logs / Error Output
Paste any relevant stack traces or logs here. ⚠️ Do not paste secrets, credentials, or tokens.
🧠 Environment Info
You can retrieve most of this from the /version endpoint.
| Key | Value |
|---|---|
| Version or commit | e.g. v0.9.0 or main@a1b2c3d |
| Runtime | e.g. Python 3.11, Gunicorn |
| Platform / OS | e.g. Ubuntu 22.04, macOS |
| Container | e.g. Docker, Podman, none |
🧩 Additional Context (optional)
Add any configuration details, flags, or related issues.
Thanks for reporting this and linking to #2689. Confirmed — the A2A agents tab at admin.html:6379-6392 still has an inline placeholder spinner inside #agents-table alongside the #agents-loading HTMX indicator, causing both to show simultaneously. Other tabs were already fixed in commit 6b3283e4 but this one was missed.
The fix is to remove the inline placeholder spinner from the #agents-table div, matching the pattern used in the tools and servers tabs.
I'd like to work on this. Will remove the inline placeholder spinner from #agents-table