Stream Jupyter workspace file downloads
This commit is contained in:
@@ -282,6 +282,7 @@ type SessionFile = {
|
||||
name: string;
|
||||
path: string;
|
||||
kind: "input" | "output";
|
||||
source?: "local" | "jupyter";
|
||||
size: number;
|
||||
modified_at: string;
|
||||
download_url: string;
|
||||
@@ -593,6 +594,7 @@ function SessionFileRow({ file }: { file: SessionFile }) {
|
||||
</div>
|
||||
)}
|
||||
<div className="text-muted-foreground text-xs">
|
||||
{file.source === "jupyter" ? "JUPYTER · " : ""}
|
||||
{fileExtension(file.name).toUpperCase() || "FILE"} ·{" "}
|
||||
{formatBytes(file.size)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user