Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions apps/ui/app/pages/downloads.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,14 @@ function onRowSelect(event: Event, row: { toggleExpanded: () => void }) {

const columns: TableColumn<DownloadItem>[] = [
{ id: 'expand', header: '' },
{ accessorKey: 'filename', header: 'File' },
// Release names run long; let them wrap so the row's actions stay in view.
{
accessorKey: 'filename',
header: 'File',
meta: {
class: { td: 'min-w-64 whitespace-normal' },
},
},
{ accessorKey: 'peerName', header: 'Peer' },
{ accessorKey: 'status', header: 'Status' },
{ accessorKey: 'progress', header: 'Progress' },
Expand Down Expand Up @@ -347,7 +354,7 @@ const columns: TableColumn<DownloadItem>[] = [
</template>

<template #filename-cell="{ row }">
<p class="font-medium text-default" :title="row.original.filename">
<p class="font-medium wrap-anywhere text-default" :title="row.original.filename">
{{ row.original.filename }}
</p>
<p v-if="row.original.status !== 'failed' && row.original.expectedBytesMismatch" class="text-xs text-warning">
Expand Down