-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Describe the bug
When CMS users upload a document, they cannot determine what the public URL for it is, so that they can share it with others.
My colleague uploaded a pdf document, titled "Response to Coles and Woolies.pdf", after which the media upload screen appeared like this:
From here, they were unable to work out what the URL for the file they had just uploaded was. Not that on their screen, the file name is the same as what they uploaded.
They called me to try and work it out for them, and when I loaded the media centre I saw this:
I wasn't sure if this was the same file because the file name was different.
Knowing that our public media folder path was /downloads/
I suggested to my colleague to see if putting the file name that they see on the end of /downloads/
worked.
They replied, 'Nup. tried a bunch of different permutations. with the spaces, without spaces between words, using underscore between words'.
I then showed them the document named response-to-coldes-and-woolies.pdf
that I saw in the media folder, and unexpectidly, this was the same document as what was collect Response to Coles and Woolies.pdf
in their media folder.
This flow was very confusing and frustrating to my colleague, who was trying to share a document very quickly to a deadline.
To Reproduce
- go to the media centre and upload a pdf with spaces and capitals in the title, e.g. 'Foo Bar.pdf'
- see that there is no link or indication of what the url for that document is.
Expected behavior
My colleague expected to see a link to the public document somewhere in the interface, so that they could copy it and use it as needed.
They also expected for the file name in the interface to be consistent between them uploading the file and me looking for it in the media centre. There's no obvious reason why this would change over time. I understand that we want to transform the file name to be nice in a URL, in this case, it should be transformed before it is shown to the initial uploader in the first place, so that it is consistent over time.
Screenshots
See above.
Applicable Versions:
- netlify-cms 2.10.55
- Gitlab
- Windows 10 (initial uploader), Debian (me)
*Chrome Version 84.0.4147.135 (initial uploader), Firefox 79.0 (me)
CMS configuration
n/a
Additional context
Thanks as always :) love your work.