-
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.
feat(version): release 0.18.4 version
- Loading branch information
1 parent
bfd4af2
commit 1b81e50
Showing
7 changed files
with
90 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1687,6 +1687,10 @@ video { | |
gap: 2.25rem; | ||
} | ||
|
||
.gap-20 { | ||
gap: 5rem; | ||
} | ||
|
||
.overflow-auto { | ||
overflow: auto; | ||
} | ||
|
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,44 @@ | ||
import React, { ReactElement } from "react"; | ||
import { TiArrowDown, TiArrowUp } from "react-icons/ti"; | ||
import useMain from "../../hooks/useMain"; | ||
|
||
export default function NetworkChart(): ReactElement { | ||
const { pagesState } = useMain(); | ||
|
||
return ( | ||
<div className="flex flex-col items-center gap-4"> | ||
<div className="flex items-center gap-3 text-base"> | ||
<TiArrowUp size={28} className="text-layer-primary-600" /> | ||
<p> | ||
{( | ||
Number( | ||
pagesState.instance?.cloudInstanceResource?.networkUsage?.[0]?.trafficIn?.split( | ||
"Kbps", | ||
)?.[0], | ||
) / 1024 | ||
)?.toFixed(2)} | ||
{" Mbps"} | ||
</p> | ||
</div> | ||
<div className="flex items-center gap-3 text-base"> | ||
<TiArrowDown size={28} className="text-layer-secondary-600" /> | ||
<p> | ||
{( | ||
Number( | ||
pagesState.instance?.cloudInstanceResource?.networkUsage?.[0]?.trafficOut?.split( | ||
"Kbps", | ||
)?.[0], | ||
) / 1024 | ||
)?.toFixed(2)} | ||
{" Mbps"} | ||
</p> | ||
</div> | ||
<span className="text-[0.66rem]"> | ||
Network ( | ||
{pagesState.instance?.cloudInstanceResource?.networkUsage?.[0] | ||
?.interfaceName || "Pending..."} | ||
) | ||
</span> | ||
</div> | ||
); | ||
} |
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
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,35 @@ | ||
import { ReactElement } from "react"; | ||
import ColorLabel from "../ColorLabel/ColorLabel"; | ||
import { useParams } from "react-router-dom"; | ||
import { AiOutlineTeam } from "react-icons/ai"; | ||
import { IoLocationOutline } from "react-icons/io5"; | ||
import useMain from "../../hooks/useMain"; | ||
|
||
export default function RobotHeaderDetails(): ReactElement { | ||
const url = useParams(); | ||
const { selectedState } = useMain(); | ||
|
||
return ( | ||
<div | ||
data-tut="robot-information" | ||
className="flex h-full gap-8 text-layer-dark-600" | ||
> | ||
<span className="flex items-center gap-2"> | ||
<span className="text-lg font-medium">{url?.robotName}</span> | ||
<ColorLabel /> | ||
</span> | ||
<span className="flex items-center gap-2"> | ||
<AiOutlineTeam size={16} /> | ||
<span className="text-xs font-light"> | ||
{url?.organizationName} Organization | ||
</span> | ||
</span> | ||
<span className="flex items-center gap-2"> | ||
<IoLocationOutline size={16} /> | ||
<span className="text-xs font-light"> | ||
{selectedState?.roboticsCloud?.region} | ||
</span> | ||
</span> | ||
</div> | ||
); | ||
} |
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