aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-24 18:51:44 -0500
committerGitHub <noreply@github.com>2026-04-24 18:51:44 -0500
commit14f94a4825d6da485f08b9c9e967c61181e41c81 (patch)
tree9f413cb07787c018e679bd5c3a6d69b90d5be24b /src/web
parentfc722e4a78aa5369fcd5ca0d8e88bd98d874a1d8 (diff)
parent46966b6e284a9ef8bb3d182928bf9211118681e8 (diff)
downloadslskd-14f94a4825d6da485f08b9c9e967c61181e41c81.tar.gz
Merge pull request #1664 from slskd/retries
Add transfer retries and batches
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Transfers/TransferDetails.jsx2
-rw-r--r--src/web/src/components/Transfers/TransferList.jsx4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/web/src/components/Transfers/TransferDetails.jsx b/src/web/src/components/Transfers/TransferDetails.jsx
index 256ddcac..2ec890e9 100644
--- a/src/web/src/components/Transfers/TransferDetails.jsx
+++ b/src/web/src/components/Transfers/TransferDetails.jsx
@@ -79,6 +79,8 @@ const TransferDetails = ({ file }) => {
'elapsedTime',
'percentComplete',
'remainingTime',
+ 'attempts',
+ 'exception',
];
return (
diff --git a/src/web/src/components/Transfers/TransferList.jsx b/src/web/src/components/Transfers/TransferList.jsx
index 4bd1e14e..42e58933 100644
--- a/src/web/src/components/Transfers/TransferList.jsx
+++ b/src/web/src/components/Transfers/TransferList.jsx
@@ -163,6 +163,9 @@ class TransferList extends Component {
padding: 7,
}}
{...getColor(f.state)}
+ {...(!getColor(f.state).color && f.attempts > 1
+ ? { color: 'yellow' }
+ : {})}
active={f.direction === 'Upload'}
onClick={() => this.handleClick(f)}
>
@@ -176,6 +179,7 @@ class TransferList extends Component {
)}
{f.state}
{f.placeInQueue ? ` (#${f.placeInQueue})` : ''}
+ {f.attempts > 1 ? ` (Retry #${f.attempts})` : ''}
</Button>
)}
</Table.Cell>