Skip to content

Commit

Permalink
remove dependency diagram stuff and temporarily remove release deps
Browse files Browse the repository at this point in the history
  • Loading branch information
adityachoudhari26 committed Dec 2, 2024
1 parent 4c1156b commit 7a75a92
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 620 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { JobAgent } from "./JobAgent";
import { JobMetadata } from "./JobMetadata";
import { JobPropertiesTable } from "./JobProperties";
import { JobVariables } from "./JobVariables";
import { DependenciesDiagram } from "./RelationshipsDiagramDependencies";
import { useJobDrawer } from "./useJobDrawer";

export const JobDrawer: React.FC = () => {
Expand Down Expand Up @@ -128,13 +127,6 @@ export const JobDrawer: React.FC = () => {
<JobMetadata job={job} />
</div>
</div>

<DependenciesDiagram
targetId={job.resource.id}
relationships={job.relationships}
targets={job.relatedResources}
releaseDependencies={job.releaseDependencies}
/>
</div>
)}
</>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { TabButton } from "../TabButton";
import { DeploymentsContent } from "./DeploymentContent";
import { JobsContent } from "./JobsContent";
import { OverviewContent } from "./OverviewContent";
import { RelationshipsContent } from "./relationships/RelationshipContent";
import { TargetActionsDropdown } from "./TargetActionsDropdown";
import { useTargetDrawer } from "./useTargetDrawer";
import { VariableContent } from "./VariablesContent";
Expand Down Expand Up @@ -198,12 +197,6 @@ export const TargetDrawer: React.FC = () => {
icon={<IconVariable className="h-4 w-4" />}
label="Variables"
/>
<TabButton
active={activeTab === "relationships"}
onClick={() => setActiveTab("relationships")}
icon={<IconTopologyStar3 className="h-4 w-4" />}
label="Relationships"
/>
</div>
<div className="h-full w-full overflow-auto">
{activeTab === "deployments" && (
Expand All @@ -212,9 +205,6 @@ export const TargetDrawer: React.FC = () => {
{activeTab === "overview" && (
<OverviewContent target={resource} />
)}
{activeTab === "relationships" && (
<RelationshipsContent target={resource} />
)}
{activeTab === "jobs" && <JobsContent targetId={resource.id} />}
{activeTab === "variables" && (
<VariableContent
Expand Down

This file was deleted.

Loading

0 comments on commit 7a75a92

Please sign in to comment.