Skip to content

feat(files): download prefill + datamap row affordances#92

Merged
Nic-dorman merged 4 commits into
mainfrom
feat/download-prefill-and-datamap-icons
May 6, 2026
Merged

feat(files): download prefill + datamap row affordances#92
Nic-dorman merged 4 commits into
mainfrom
feat/download-prefill-and-datamap-icons

Conversation

@Nic-dorman
Copy link
Copy Markdown
Contributor

Summary

Three small file-ops UX fixes, scoped per commit.

  • Download-by-Address filename prefill + extension preserve. When the pasted address matches an entry in upload history, the filename field auto-fills with the original name. On submit, if the user dropped the extension while editing, it's silently appended back from the history match. Fixes the long-standing "type 'screenshot', save 'screenshot' that the OS can't open" foot-gun.
  • Datamap row Copy Path icon + clearer click affordance. The datamap filename in the uploads table was already click-to-reveal, but visually subtle. Now it picks up a hover underline so the affordance reads as clickable, and a Copy Path icon sits alongside it for users who want the path on the clipboard rather than opened in Explorer.
  • Swap Date and Address columns in the uploads table. Address now sits adjacent to the row-action column (Retry / ✕ on hover), grouping the interactive controls on the right edge. Date moves inward as a static metadata cell.

No backend changes. No new Tauri commands. Downloads table is unchanged.

Test plan

  • Filename prefill — open Download by Address, paste an address from an existing upload → filename field populates with the original name
  • Extension preserved — edit the prefilled filename to drop the extension (e.g. remove .png), click Download → saved file still ends with .png
  • No-match passthrough — paste an address NOT in history → filename stays blank, user types freely, no extension append on submit
  • Datamap row Copy — upload a small private file, hover the filename in the datamap cell → it underlines + turns blue; click the Copy icon → clipboard contains the absolute path; toast confirms
  • Datamap row Reveal — click the filename text → Finder / Explorer opens focused on the datamap file
  • Public-row regression — upload a public file → row still shows the "Public" badge with truncated address, click still copies the network address
  • Address-only-row regression — a row with file.address but no datamap (legacy / public completion) → still shows truncated address, click still copies
  • Hover actions — hover any settled upload row → Retry (if applicable) and ✕ buttons appear on the right edge
  • Column order — uploads table reads Name | Status | Size | Cost | Date | Address | (actions on hover)
  • Cross-platform — at minimum Windows + macOS

🤖 Generated with Claude Code

Nic-dorman and others added 3 commits May 5, 2026 17:48
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) <noreply@anthropic.com>
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) <noreply@anthropic.com>
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) <noreply@anthropic.com>
@Nic-dorman Nic-dorman mentioned this pull request May 5, 2026
12 tasks
…-and-datamap-icons

# Conflicts:
#	components/files/DownloadDialog.vue
@Nic-dorman Nic-dorman merged commit 2666f32 into main May 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant