Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Add waiting message to hardware screen. Closes #2805
Gabe Kangas790000ff2857
diff --git a/web/pages/admin/hardware-info.tsx b/web/pages/admin/hardware-info.tsxindex 94680e4c79..274cf2436e 100644--- a/web/pages/admin/hardware-info.tsx+++ b/web/pages/admin/hardware-info.tsx@@ -1,4 +1,4 @@-import { Row, Col, Typography } from 'antd';+import { Row, Col, Typography, Alert, Spin } from 'antd';import React, { ReactElement, useEffect, useState } from 'react';import dynamic from 'next/dynamic';import { fetchData, FETCH_INTERVAL, HARDWARE_STATS } from '../../utils/apis';@@ -21,12 +21,6 @@ const SaveOutlined = dynamic(() => import('@ant-design/icons/SaveOutlined'), {ssr: false,});-// TODO: FIX TS WARNING FROM THIS.-// interface TimedValue {-// time: Date;-// value: Number;-// }-export default function HardwareInfo() {const [hardwareStatus, setHardwareStatus] = useState({cpu: [], // Array<TimedValue>(),@@ -57,7 +51,20 @@ export default function HardwareInfo() {}, []);if (!hardwareStatus.cpu) {- return null;+ return (+ <div>+ <Typography.Title>Hardware Info</Typography.Title>++ <Alert+ style={{ marginTop: '10px' }}+ banner+ message="Please wait"+ description="No hardware details have been collected yet."+ type="info"+ />+ <Spin spinning style={{ width: '100%', margin: '10px' }} />+ </div>+ );}const currentCPUUsage = hardwareStatus.cpu[hardwareStatus.cpu.length - 1]?.value;