Skip to content

Conversation

andreaskienle
Copy link
Contributor

@Copilot Copilot AI review requested due to automatic review settings October 8, 2025 10:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements conditional rendering to hide tabs of uninstalled components in the MCP page, addressing the requirement to only show tabs for components that are actually installed.

  • Adds component installation checks for crossplane, flux, and landscaper
  • Wraps ObjectPageSection components with conditional rendering based on installation status
  • Updates the ControlPlaneComponentsType interface to include the landscaper component

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/spaces/mcp/pages/McpPage.tsx Added component installation checks and conditional rendering for crossplane, flux, and landscaper sections
src/lib/api/types/crate/controlPlanes.ts Added landscaper component to the ControlPlaneComponentsType interface

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@Hubert-Szczepanski-SAP Hubert-Szczepanski-SAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@andreaskienle andreaskienle merged commit a2f9e17 into main Oct 17, 2025
5 checks passed
@andreaskienle andreaskienle deleted the feat/hide-tabs branch October 17, 2025 08:07
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.

2 participants