changes to task scheduling and readability change on downloads view

This commit is contained in:
Bryan Van Deusen
2026-01-29 19:33:04 -05:00
parent 575e20f58c
commit fcccfb24ee
18 changed files with 527 additions and 72 deletions
+15 -3
View File
@@ -143,8 +143,8 @@
<td style="word-break: break-all">{{ selectedDownload.url }}</td>
</tr>
<tr>
<td class="font-weight-bold">Source ID</td>
<td>{{ selectedDownload.source_id || 'N/A' }}</td>
<td class="font-weight-bold">Source</td>
<td>{{ getSourceLabel(selectedDownload.source_id) }}</td>
</tr>
<tr>
<td class="font-weight-bold">Files Downloaded</td>
@@ -228,7 +228,10 @@ const statusOptions = [
]
const sourceOptions = computed(() =>
sourcesStore.sources.map(s => ({ title: s.name, value: s.id }))
sourcesStore.sources.map(s => ({
title: `${s.subscription_name || 'Unknown'}:${s.platform}`,
value: s.id
}))
)
const headers = [
@@ -308,6 +311,15 @@ function truncateUrl(url) {
return url.substring(0, 47) + '...'
}
function getSourceLabel(sourceId) {
if (!sourceId) return 'N/A'
const source = sourcesStore.sources.find(s => s.id === sourceId)
if (source) {
return `${source.subscription_name || 'Unknown'}:${source.platform}`
}
return `Source #${sourceId}`
}
function showDetails(download) {
selectedDownload.value = download
detailsDialog.value = true