You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Download button at the top of the view page directs the user to /download-archive/:code, which is useful when there are multiple files within the paste, as it's handy to have them all in a zip.
However, when there is only 1 file in the paste, having it zipped seems unnecessary.
IMO it would be nicer if, if the paste only has one file, the download button at the top directs the user to /download/:code, just like the download button under each paste does.
The text was updated successfully, but these errors were encountered:
Alternately to doing this, I think extending the hyper link to include the rest of the text, and adding that it's zipped, might make it more obvious. IE Download all files (zip) and Download this file all hyperlinked.
I'd actually suggest both - the download links below each section are "download this file", but the top link is either "download this file" in the case of a single section, or "download all files (zip)" if there are multiple.
I like @hsitirb's suggestion for implementation. We still have singular download-this-file-only links in the per-file view on the paste.
supakeen
changed the title
Don't archive paste download whne only one paste is present
Don't archive paste download when only one paste is present
Jun 5, 2023
The
Download
button at the top of the view page directs the user to/download-archive/:code
, which is useful when there are multiple files within the paste, as it's handy to have them all in a zip.However, when there is only 1 file in the paste, having it zipped seems unnecessary.
IMO it would be nicer if, if the paste only has one file, the download button at the top directs the user to
/download/:code
, just like the download button under each paste does.The text was updated successfully, but these errors were encountered: