mcp-context-forge icon indicating copy to clipboard operation
mcp-context-forge copied to clipboard

[BUG][UI]: Agents page has double loading spinner on refresh

Open marekdano opened this issue 9 months ago • 2 comments

🐞 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

  1. Go to http://localhost:8080/admin/#a2a-agents or refresh
  2. Observe the loading spinner
Image

🤔 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.

marekdano avatar Feb 12 '26 16:02 marekdano

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.

crivetimihai avatar Feb 12 '26 19:02 crivetimihai

I'd like to work on this. Will remove the inline placeholder spinner from #agents-table

omorros avatar Feb 12 '26 20:02 omorros