-
Notifications
You must be signed in to change notification settings - Fork 615
[BUG][PERFORMANCE][UI]: The team members and non-members should not load in one go in Manage members modal. #3085
Copy link
Copy link
Labels
SHOULDP2: Important but not vital; high-value items that are not crucial for the immediate releaseP2: Important but not vital; high-value items that are not crucial for the immediate releasebugSomething isn't workingSomething isn't workingperformancePerformance related itemsPerformance related itemsreadyValidated, ready-to-work-on itemsValidated, ready-to-work-on itemsuiUser InterfaceUser Interface
Milestone
Description
🐞 Bug Summary
A large number (20K+) of members/non‑members inside the Manage members modal will crush both the browser and backend if we try to render them in one go.
🧩 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
- Go to https://localhost:8080/admin/#teams where we have a large number of users created (100K)
- Open the
Manage membersmodal in one of the team - Try to add or remove members in the modal and observe
🤔 Expected Behavior
Suggestions:
- Current member list displayed with virtualised scroll
- Current member list should have a searchbar option
- No non-member list shown by default.
- Non-member list displayed with search option only
Simple design
| Manage Team Members |
|---|
| Current Members (2,341) [ Search members 🔍 ] |
| ------------------------------------------------------ |
| ▢ John Doe [Role ▼] |
| ▢ Jane Smith [Role ▼] |
| ▢ ... (virtualized scroll) |
| ------------------------------------------------------ |
| Add Users |
| [ Search users by name or email 🔍 ] |
| Results (max 50): |
| ▢ John Brown [Role ▼] |
| ▢ John Adams [Role ▼] |
| ------------------------------------------------------ |
| [Save changes] |
📓 Logs / Error Output
Paste any relevant stack traces or logs here.
🧠 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SHOULDP2: Important but not vital; high-value items that are not crucial for the immediate releaseP2: Important but not vital; high-value items that are not crucial for the immediate releasebugSomething isn't workingSomething isn't workingperformancePerformance related itemsPerformance related itemsreadyValidated, ready-to-work-on itemsValidated, ready-to-work-on itemsuiUser InterfaceUser Interface