[WIP]: Cluster-Api: Map Improvements#577
Draft
ChayanDass wants to merge 12 commits intoheadlamp-k8s:mainfrom
Draft
[WIP]: Cluster-Api: Map Improvements#577ChayanDass wants to merge 12 commits intoheadlamp-k8s:mainfrom
ChayanDass wants to merge 12 commits intoheadlamp-k8s:mainfrom
Conversation
… handling - Introduced new interfaces for conditions and node information to improve type safety. - Updated MachineStatus interfaces to support both v1beta1 and v1beta2 formats. - Enhanced getMachineStatus and getMachineConditions functions for better condition retrieval. - Added failure handling methods to retrieve failure reasons and messages from Machine status. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…ity and add version display - Simplified phase and readiness condition handling in MachineListRenderer. - Introduced a new 'Version' column to display machine version information. - Enhanced useMemo for VersionedMachine instantiation to maintain clarity. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…tatus information - Refactored getMachineRole function for improved clarity. - Added Bootstrap Ready and Infrastructure Ready status indicators in MachineDetail. - Introduced new sections for displaying machine addresses and node information using SimpleTable. - Updated VersionedMachine instantiation to handle undefined namespace more gracefully. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…hine instantiation - Updated the logic for creating VersionedMachine to handle undefined version more clearly. - Improved readability by consolidating the version check and instantiation into a single useMemo call. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…bility - Introduced a new type `ReplicaOwner` to unify the handling of various replica-related components. - Simplified the `showReplicas` and `renderReplicas` functions for better clarity and efficiency. - Enhanced the logic for rendering replica values, ensuring consistent handling of undefined states. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…tatus handling - Introduced new interfaces for MachineSet specifications and statuses to improve type safety and clarity. - Updated the MachineSet class to support both v1beta1 and v1beta2 formats, including enhanced condition retrieval methods. - Added utility functions for accessing MachineSet status, conditions, and failure information. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…nce error handling - Refactored the MachineSetDetail component to improve clarity and type safety. - Introduced new interfaces for handling MachineSet references and detail content. - Enhanced error handling with user-friendly messages for loading failures. - Added loading and empty state indicators to improve user experience. Signed-off-by: Chayan Das <01chayandas@gmail.com>
… handling and loading state - Refactored MachineSetsList to utilize a new data component for better type safety and clarity. - Added loading state handling to display a loader while detecting the Cluster API version. - Enhanced status display for MachineSets, including desired, ready, available, up-to-date, and paused states with appropriate labels. - Improved rendering logic for cluster links and status indicators. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…larity and type safety - Simplified the getStoredVersionFromCrd function to directly utilize the CustomResourceDefinition type. - Enhanced the logic to return the main API version more efficiently. - Updated useCapiApiVersion to streamline version retrieval and error handling. Signed-off-by: Chayan Das <01chayandas@gmail.com>
… for improved readability. Signed-off-by: Chayan Das <01chayandas@gmail.com>
3941261 to
d50581d
Compare
…ration - Added a new mapView component to manage resource mapping and details. - Refactored resource registration to utilize the new clusterApiSource for improved organization. - Updated glance tooltips for various components to enhance user experience. Signed-off-by: Chayan Das <01chayandas@gmail.com>
…display - Introduced a new MachineGlance component to provide a concise overview of machine status, including cluster name, readiness, and IP addresses. - Exported getPhaseStatus function for broader accessibility in status handling. Signed-off-by: Chayan Das <01chayandas@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.