feat(import): UI polish, contract requests, report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
90a477691b
commit
c4df51f7ca
3 files changed
+13
-1
No files matched your search
@@ -65,7 +65,7 @@ function JobRow({ job }: { job: Job }) {
|
||||
{warnings.length ? (
|
||||
<details><summary>{warnings.length} warning{warnings.length > 1 ? "s" : ""}</summary><ul className="warn">{warnings.map((w, i) => <li key={i}>{w}</li>)}</ul></details>
|
||||
) : null}
|
||||
{job.status === "done" && job.kind !== "import.transcribe" && result?.courseId ? <CoverPicker courseId={result.courseId} /> : null}
|
||||
{job.status === "done" && (job.kind === "import.packt-video" || job.kind === "import.video-folder") && result?.courseId ? <CoverPicker courseId={result.courseId} /> : null}
|
||||
</li>
|
||||
);
|
||||
}
|
||||
|
||||
+1
@@ -26,6 +26,7 @@
|
||||
.imp-status[data-s="running"] { color: var(--accent); }
|
||||
.imp-job-bar { display: flex; align-items: center; gap: 12px; }
|
||||
.imp-job-msg { font-size: 12.5px; color: var(--faint); }
|
||||
.imp-job-bar .imp-job-msg { flex: none; width: 200px; text-align: right; }
|
||||
.imp-job details { font-size: 12.5px; color: var(--muted); }
|
||||
.imp-job summary { cursor: pointer; }
|
||||
.imp-job ul.warn { margin: 6px 0 0; padding-left: 18px; }
|
||||
|
||||
Reference in new issue
Block a user