Skip to content

Commit f6cf8c5

Browse files
committed
feat: changing padding of tabs and deleting old license pages in cloud
1 parent dd21038 commit f6cf8c5

12 files changed

Lines changed: 21 additions & 288 deletions

File tree

src/app/(flow)/namespace/[namespaceId]/project/[projectId]/flow/[flowId]/page.tsx

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
11
"use client"
22

3-
import {
4-
Button,
5-
Card,
6-
Flex,
7-
Gantt,
8-
getRelativeValue,
9-
hashToColor, Spacing, Text,
10-
Tooltip, TooltipContent, TooltipPortal,
11-
TooltipTrigger,
12-
withAlpha,
13-
} from "@code0-tech/pictor";
3+
import {Button, Flex,} from "@code0-tech/pictor";
144
import React from "react";
15-
import {
16-
IconArrowRampRight2,
17-
IconBrandDiscord, IconBrandTeams,
18-
IconDatabase,
19-
IconFile,
20-
IconPlayerPlay,
21-
IconTextGrammar
22-
} from "@tabler/icons-react";
5+
import {IconFile, IconPlayerPlay} from "@tabler/icons-react";
236
import {useParams} from "next/navigation";
247
import {Flow} from "@code0-tech/sagittarius-graphql-types";
258
import {FlowBuilderComponent} from "@edition/flow/components/builder/FlowBuilderComponent";
@@ -30,7 +13,6 @@ import {
3013
ResizablePanelGroup
3114
} from "@code0-tech/pictor/dist/components/resizable/Resizable";
3215
import {Layout} from "@code0-tech/pictor/dist/components/layout/Layout";
33-
import {Editor} from "@code0-tech/pictor/dist/components/editor/Editor";
3416
import {FlowExecutionResultView} from "@edition/flow/views/FlowExecutionResultView";
3517

3618
export default function Page() {
@@ -45,11 +27,14 @@ export default function Page() {
4527
return <ResizablePanel id={"2"}>
4628
<Layout layoutGap={0} showLayoutSplitter={false} rightContent={
4729
<Flex pl={0.7} style={{flexDirection: "column", gap: "0.7rem"}}>
48-
<Button aria-selected={tab === "file"} onClick={() => setTab(prevState => prevState === "file" ? undefined : "file")} variant={"none"}
30+
<Button aria-selected={tab === "file"}
31+
onClick={() => setTab(prevState => prevState === "file" ? undefined : "file")} variant={"none"}
4932
paddingSize={"xs"}>
5033
<IconFile size={16}/>
5134
</Button>
52-
<Button aria-selected={tab === "execution"} onClick={() => setTab(prevState => prevState === "execution" ? undefined : "execution")} variant={"none"}
35+
<Button aria-selected={tab === "execution"}
36+
onClick={() => setTab(prevState => prevState === "execution" ? undefined : "execution")}
37+
variant={"none"}
5338
paddingSize={"xs"}>
5439
<IconPlayerPlay size={16}/>
5540
</Button>

src/packages/ce/src/namespace/pages/NamespaceSettingsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const NamespaceSettingsPage: React.FC = () => {
4040
<NamespaceTabListView/>
4141
</SidebarComponent>
4242
<ResizableHandle/>
43-
<ResizablePanel id={"2"} color={"primary"} p={1}
43+
<ResizablePanel id={"2"} color={"primary"} p={2}
4444
style={{borderTopLeftRadius: "1rem", borderTopRightRadius: "1rem"}}>
4545
<>
4646
<TabContent value={"general"}>

src/packages/ce/src/role/pages/RoleSettingsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const RoleSettingsPage: React.FC = () => {
4848
</TabList>
4949
</SidebarComponent>
5050
<ResizableHandle/>
51-
<ResizablePanel id={"2"} color={"primary"} p={1}
51+
<ResizablePanel id={"2"} color={"primary"} p={2}
5252
style={{borderTopLeftRadius: "1rem", borderTopRightRadius: "1rem"}}>
5353
<ScrollArea h={"100%"} w={"100%"} type={"scroll"}>
5454
<ScrollAreaViewport>

src/packages/ce/src/runtime/pages/RuntimeSettingsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export const RuntimeSettingsPage: React.FC = () => {
126126
</TabList>
127127
</SidebarComponent>
128128
<ResizableHandle/>
129-
<ResizablePanel id={"2"} color={"primary"} p={1}
129+
<ResizablePanel id={"2"} color={"primary"} p={2}
130130
style={{borderTopLeftRadius: "1rem", borderTopRightRadius: "1rem"}}>
131131
<>
132132
<TabContent value={"general"}>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"use client"
2+
3+
import React from "react";
4+
import {
5+
ApplicationMiddlewareComponent as CEApplicationMiddlewareComponent,
6+
ApplicationMiddlewareProps as CEApplicationMiddlewareProps
7+
} from "@ce-internal/application/components/ApplicationMiddlewareComponent"
8+
9+
10+
export const ApplicationMiddlewareComponent: React.FC<CEApplicationMiddlewareProps> = CEApplicationMiddlewareComponent

src/packages/cloud/src/license/components/LicensesDataTableComponent.tsx

Lines changed: 0 additions & 79 deletions
This file was deleted.

src/packages/cloud/src/license/components/LicensesDataTableFilterInputComponent.tsx

Whitespace-only changes.

src/packages/cloud/src/license/components/LicensesDataTableRowComponent.tsx

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/packages/cloud/src/license/pages/LicensesPage.tsx

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/packages/cloud/src/license/views/LicensesView.tsx

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)