-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added broadcast to studio (#1798)
* feat: added broadcast to studio * fix: small casing fix * fix: added docs link * fix: remove dev code
- Loading branch information
Showing
17 changed files
with
770 additions
and
181 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
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
35 changes: 35 additions & 0 deletions
35
packages/www/components/StreamDetails/StreamDetailsTab.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,35 @@ | ||
import { Text } from "@livepeer/design-system"; | ||
import MultistreamTargetsTable from "components/StreamDetails/MultistreamTargetsTable"; | ||
import SessionsTable from "./SessionsTable"; | ||
|
||
const StreamDetailsTab = ({ id, stream, streamHealth, invalidateStream }) => { | ||
return ( | ||
<> | ||
<MultistreamTargetsTable | ||
stream={stream} | ||
streamHealth={streamHealth} | ||
invalidateStream={invalidateStream} | ||
css={{ mb: "$7" }} | ||
emptyState={ | ||
<Text variant="neutral" size="2"> | ||
No targets | ||
</Text> | ||
} | ||
tableLayout="auto" | ||
border | ||
/> | ||
<SessionsTable | ||
streamId={id} | ||
emptyState={ | ||
<Text variant="neutral" size="2"> | ||
No sessions | ||
</Text> | ||
} | ||
tableLayout="auto" | ||
border | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
export default StreamDetailsTab; |
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
53 changes: 30 additions & 23 deletions
53
packages/www/components/StreamDetails/StreamOverviewTab.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
Oops, something went wrong.