Skip to content

[BUG][UI]: FOUC β€” tab panels flash on page load because .hidden CSS rule is commented outΒ #2933

@marekdano

Description

@marekdano

🐞 Bug Summary

When we load the app for the first time, we can see the following page before seeing the gateway page

Image

But when we enable TOOLOPS, the toolops page is displayed for the first time and then gateway one

Image

Then

Image

🧩 Affected Component

Select the area of the project impacted:

  • mcpgateway - API
  • 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. Enable TOOLOPS=true in the .env file and run the app
  2. Go to http://localhost:8080/admin/
  3. Observe that the ToolOps page is displayed before the MCP servers (gateway) one

πŸ€” Expected Behavior

The behaviour should be consistent. We should not display the ToolOps page.


πŸ““ 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 latest
Runtime Python 3.12
Platform / OS macOS
Container Docker

🧩 Additional Context (optional)

Add any configuration details, flags, or related issues.

Metadata

Metadata

Assignees

Labels

SHOULDP2: Important but not vital; high-value items that are not crucial for the immediate releasebugSomething isn't workinguiUser Interface

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions