From c137736eadcf5a66f2793b6a7c3964fea925a6a9 Mon Sep 17 00:00:00 2001 From: Nic-dorman Date: Mon, 20 Apr 2026 16:13:25 +0100 Subject: [PATCH 1/3] fix(download): prefill filename from history and preserve extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Download-by-Address dropped the original extension when the user typed a shorter name — bytes wrote correctly but the OS couldn't associate the file with a viewer. Now the dialog prefills from the matching upload- history entry and silently appends the original extension on submit if the typed name lacks one. Co-Authored-By: Claude Opus 4.7 (1M context) --- components/files/DownloadDialog.vue | 54 ++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/components/files/DownloadDialog.vue b/components/files/DownloadDialog.vue index a48cbf1..4f74633 100644 --- a/components/files/DownloadDialog.vue +++ b/components/files/DownloadDialog.vue @@ -28,6 +28,7 @@ type="text" placeholder="myfile.dat" class="w-full rounded-md border border-autonomi-border bg-autonomi-surface px-3 py-2 text-sm text-autonomi-text focus:border-autonomi-blue focus:outline-none" + @input="onFilenameInput" @keyup.enter="confirm" /> @@ -53,15 +54,22 @@ From b39f5bf603828d6890b095bb41a8c9c3e2aa80f0 Mon Sep 17 00:00:00 2001 From: Nic-dorman Date: Mon, 20 Apr 2026 16:16:00 +0100 Subject: [PATCH 2/3] feat(files): add Copy Path icon and clarify clickable datamap filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The datamap cell in the uploads table rendered the filename as a cursor-pointer span — the click-to-reveal was there but visually subtle, and there was no way to copy the path without OS-level fiddling. Now the filename gains a hover underline to advertise it's clickable, and a Copy Path icon sits alongside it for the case where the user wants to paste the path elsewhere instead of opening it. Co-Authored-By: Claude Opus 4.7 (1M context) --- pages/files.vue | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/pages/files.vue b/pages/files.vue index aedfd3d..506a61b 100644 --- a/pages/files.vue +++ b/pages/files.vue @@ -144,17 +144,33 @@ Public {{ truncateAddress(file.public_address, 8, 6) }} - - {{ datamapBasename(file.data_map_file) }} - + + {{ datamapBasename(file.data_map_file) }} + + + {{ truncateAddress(file.address, 8, 6) }} @@ -1033,6 +1049,11 @@ function copyPublicAddress(addr: string) { toastStore.add('Public address copied — share to let others download this file', 'info') } +function copyDatamapPath(path: string) { + navigator.clipboard.writeText(path) + toastStore.add('Datamap path copied to clipboard', 'info') +} + function datamapBasename(path: string): string { return path.split(/[\\/]/).pop() ?? path } From 57ff08a61900292c1a77393f4ecd8df8dc0c6920 Mon Sep 17 00:00:00 2001 From: Nic-dorman Date: Tue, 5 May 2026 18:14:12 +0100 Subject: [PATCH 3/3] feat(files): swap Date and Address columns in uploads table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Address now sits adjacent to the row-action column (Retry/✕ on hover), clustering all the interactive controls on the right edge. Date moves inward where it reads as a static metadata cell. Downloads table is unaffected — it doesn't carry an Address column. Co-Authored-By: Claude Opus 4.7 (1M context) --- pages/files.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/files.vue b/pages/files.vue index 506a61b..02a2231 100644 --- a/pages/files.vue +++ b/pages/files.vue @@ -91,10 +91,10 @@ Cost {{ uploadSortIndicator('cost') }} - Address Date {{ uploadSortIndicator('date') }} + Address Actions @@ -134,6 +134,7 @@ + {{ file.gas_cost }} gas + {{ formatDate(file.date) }} - - {{ formatDate(file.date) }}