🪢 Wiring up to addTorrent endpoint (#105)

* 🪢 Wiring up to addTorrent endpoint

* 🧲 Added a torrent download sub-panel

* 🧲 Fixed the auto-population of search box

* 🧲 Added downloads panel

* 🧲 Surfacing torrent progress in UI via scheduled job

* 🧲 Added visual indicators of torrent progress

* 💅🏼 Formatting improvements

* 💅🏼 Formatting tweaks to tabs
This commit was merged in pull request #105.
This commit is contained in:
2024-03-30 21:41:05 -04:00
committed by GitHub
parent c89e4af328
commit 9a3ccba719
16 changed files with 416 additions and 136 deletions

View File

@@ -10,6 +10,7 @@ export const WantedComics = (props): ReactElement => {
const {
data: wantedComics,
isSuccess,
isFetched,
isError,
isLoading,
} = useQuery({
@@ -41,6 +42,7 @@ export const WantedComics = (props): ReactElement => {
minWidth: 350,
accessorFn: (data) => data,
cell: (value) => {
console.log("ASDASd", value);
const row = value.getValue()._source;
return row && <MetadataPanel data={row} />;
},
@@ -172,7 +174,7 @@ export const WantedComics = (props): ReactElement => {
</div>
</div>
</header>
{isSuccess ? (
{isSuccess && wantedComics?.data.hits?.hits ? (
<div>
<div className="library">
<T2Table