Skip to content

Conversation

@Shahzaibyy
Copy link
Contributor

@Shahzaibyy Shahzaibyy commented Dec 5, 2025

Summary

Adds the missing "Show Inactive" toggle to the Virtual Servers tab in the Admin UI, allowing users to view and filter inactive virtual servers.

Changes Made

  1. Frontend (HTML/JS):

    • Added "Show Inactive" checkbox in Virtual Servers tab template
    • Implemented Alpine.js binding for showInactiveServers state
    • Updated loadServers() function to include include_inactive parameter
    • Ensured consistent styling with existing tabs (Tools/Resources)
  2. Backend (Optional - if needed):

    • Verified/updated /admin/servers endpoint to accept include_inactive query parameter
    • Added filtering logic to exclude inactive servers when toggle is unchecked

Testing Performed

  • Toggle appears correctly in Virtual Servers tab
  • Clicking toggle shows/hides inactive servers
  • Styling matches Tools/Resources tabs exactly
  • No console errors or broken functionality
  • Works with both active and inactive server data

Screenshots

Before: Missing toggle in Virtual Servers tab
After: Toggle present (matches Tools tab design)

Fixes

Closes #1544
image
image

Shahzaibyy and others added 2 commits December 8, 2025 17:26
@kevalmahajan kevalmahajan force-pushed the fix/1544-virtual-servers-inactive-toggle branch from 95c60f9 to a9c05dc Compare December 8, 2025 11:57
@kevalmahajan kevalmahajan merged commit e31be3b into IBM:main Dec 8, 2025
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]:“Show Inactive” toggle missing in Virtual Servers tab in Admin UI**

2 participants