-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Abr profile storage/drm changes * Add error details for production_master/init failed call * Save file size to display in Details * Add writeToken and nodeUrl to job details * Add prompt when no audio/video streams found * Add error log dialog * Update client and remove ethers warningFilter * Get file size for s3 uploads * Add try/catch to LRO status * Update elv-lro-status * LRO error states, use react-copy-to-clipboard package * Add lastUpdatedTime and active props, fix clear inactive * Add content type to job details * Require content type in create form * Clear lro status interval on error at beginning of loop * Add drm public access option, sort access groups and libraries * Update abr-profile * Remove abr cache from finished job to preserve browser storagespace * Decouple nested Form components/functions, add default clear profile * Set default abr profile based on presence of library drm cert * UI and loading improvements - Re-format mezzanine and master sections - Remove mezzanine name and description inputs - Move useMasterAsMez above libraries - Create LoadDependencies in ingestStore and rely on loaded prop to display PageLoader - Load content types and display as dropdown on Create page * Revise clear/drm disabling and add drm + clear profile * Support hash and type name for mez content type, use drm+clear profile for libraries with cert but no abr * Separate master and mez details on Job page, use client ContentType * Save mez write token and node url from StartABRMezzanineJobs * Always encrypt master file, change store_clear=true for clear ingests * Prep abr profiles on library load and set supported encryption options * Check for truthy playout formats when prepping library abr profiles --------- Co-authored-by: eponymous301 <michael.parker@eluv.io>
- Loading branch information
1 parent
7b9b2c6
commit 067f46d
Showing
33 changed files
with
9,547 additions
and
4,715 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from "react"; | ||
import {observer} from "mobx-react"; | ||
import Dialog from "Components/common/Dialog"; | ||
import {ingestStore} from "Stores"; | ||
|
||
const WarningDialog = observer(() => { | ||
if(!ingestStore.showDialog) { return null; } | ||
|
||
return ( | ||
<Dialog | ||
title={ingestStore.dialog.title} | ||
description={ingestStore.dialog.description} | ||
open={ingestStore.showDialog} | ||
onOpenChange={() => {}} | ||
ConfirmCallback={() => ingestStore.HideWarningDialog("YES")} | ||
confirmText="Yes" | ||
CancelCallback={() => ingestStore.HideWarningDialog("NO")} | ||
cancelText="No" | ||
/> | ||
); | ||
}); | ||
|
||
export default WarningDialog; |
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 |
---|---|---|
@@ -1,28 +1,33 @@ | ||
import React, {useState} from "react"; | ||
import {CopyText} from "Utils/Clipboard"; | ||
import CopyIcon from "Assets/icons/clipboard.svg"; | ||
import CheckmarkIcon from "Assets/icons/check.svg"; | ||
import Tooltip from "Components/common/Tooltip"; | ||
import {CopyToClipboard} from "react-copy-to-clipboard/lib/Component"; | ||
|
||
export const Copyable = ({copy, children, className}) => { | ||
const [copied, setCopied] = useState(false); | ||
|
||
return ( | ||
<span className={`copyable ${className || ""}`}> | ||
{ children } | ||
<Tooltip | ||
message="Copied" | ||
open={copied} | ||
icon={copied ? CheckmarkIcon : CopyIcon} | ||
delayDuration={300} | ||
onClick={() => { | ||
CopyText(copy); | ||
setCopied(true); | ||
setTimeout(() => { | ||
setCopied(false); | ||
}, 3000); | ||
}} | ||
/> | ||
{ | ||
children && | ||
<div className="copyable__text">{ children }</div> | ||
} | ||
<CopyToClipboard text={copy} onCopy={() => { | ||
setCopied(true); | ||
setTimeout(() => { | ||
setCopied(false); | ||
}, 3000); | ||
}}> | ||
<Tooltip | ||
className="copyable__tooltip" | ||
message="Copied" | ||
open={copied} | ||
icon={copied ? CheckmarkIcon : CopyIcon} | ||
delayDuration={300} | ||
title="Copy to Clipboard" | ||
/> | ||
</CopyToClipboard> | ||
</span> | ||
); | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from "react"; | ||
import {Copyable} from "Components/common/Copyable"; | ||
|
||
const JSONView = ({json, copyable=false}) => { | ||
return ( | ||
<pre className="json-view"> | ||
<span className="json-view__data">{ json }</span> | ||
{ | ||
copyable && | ||
<div className="json-view__copy-button"> | ||
<Copyable copy={json} /> | ||
</div> | ||
} | ||
</pre> | ||
); | ||
}; | ||
|
||
export default JSONView; |
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
Oops, something went wrong.