When clicking on a link to a file that's been attached to an item, a user gets a file details page where they have an option to see a lot of detail about that file. Also, they have the option to do some actions like download the file. Instead, I wish file references worked more like the mouseover dialog on @userx references.
I like the ability to see some key details on hover, and select an action -- "Send a Message" in the user dialog, "Download File" in the proposed file dialog.Description
Event Timeline
Author
Created Date
MIME Type?
For me, its less about the details in that dialog and more about the ability to download the file without losing the context of where it was linked. Yeah, it's one click and you're a backbutton away, but the context shift just feel heavier. For our installation these files are usually reference documentation and for some tasks, there can be a bunch.
That means I've got to: (click a link, hit the download button, backbutton, repeat) X #OfDocuments.
Can we just fix Files to do the right thing automatically? I don't want hovercards on Files. That seems like a workaround.
Mostly PDF, Word, Excel. So the preference for these file types isn't "download" per se, but "Open from Phabricator" The more I think of it, this is probably a conflict. For some types of files (Documents: PDF, Word, Excel) >> Open. Other filetypes (Data: CSV, Text) >> Download. Images >> continue to render in place.
Agree. Hovercard might make the interface too erratic. Busy.
"Right Thing": as in, just download/open the file? Actually, I thought of just leading out with that. Fits the majority case for me. Just the same, I wonder if that would put others out not being able to rally around the artifacts of a file rather than the file contents. Could the file links be styled differently via the markdown to include a link to download/open?
{F12} renders filename.pdf
Which element does what depends on how closely to stick to prior convention. Assuming as little disruption as possible:
- filename.pdf : link to the detail page (as it is now)
- : Download the file
- : Open the file contents (if possible)
Or if an appropriate choice can be made between open/download -- just fall back to offering a single icon. Maybe this would be based on user-agent or config?
Yeah I would appreciate a shortcut to downloading files at times. Often I will attach some sort of binary file to a task, and when I want to download it I would see benefit in doing this directly from the task without clicking through to the file.