-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:sizzldev/ctrlplane into target-filt…
…ering-cleanup
- Loading branch information
Showing
11 changed files
with
468 additions
and
184 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
28 changes: 0 additions & 28 deletions
28
...vice/src/app/[workspaceSlug]/(targets)/target-metadata-groups/NullCombinationsExample.tsx
This file was deleted.
Oops, something went wrong.
This file contains 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
42 changes: 0 additions & 42 deletions
42
...ebservice/src/app/[workspaceSlug]/(targets)/targets/target-drawer/RelationshipContent.tsx
This file was deleted.
Oops, something went wrong.
This file contains 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
22 changes: 22 additions & 0 deletions
22
...app/[workspaceSlug]/(targets)/targets/target-drawer/relationships/RelationshipContent.tsx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import type { Target } from "@ctrlplane/db/schema"; | ||
|
||
import { Card } from "@ctrlplane/ui/card"; | ||
|
||
import { TargetHierarchyRelationshipsDiagram } from "./RelationshipsDiagram"; | ||
|
||
export const RelationshipsContent: React.FC<{ | ||
target: Target; | ||
}> = ({ target }) => { | ||
return ( | ||
<div className="space-y-4"> | ||
<div className="space-y-2 text-sm"> | ||
<div>Hierarchy</div> | ||
<Card className="px-3 py-2"> | ||
<div className="h-[450px] w-full"> | ||
<TargetHierarchyRelationshipsDiagram targetId={target.id} /> | ||
</div> | ||
</Card> | ||
</div> | ||
</div> | ||
); | ||
}; |
Oops, something went wrong.