Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Make resource name default to file name #1372
Users are usually not sure what to enter as the 'resource name' and it ends up being blank. It's mildly helpful for a resource to have a name, however.
I suggest the field should be pre-populated with the filename, or (for a linked file) component of the name after the last "/". E.g. for http://example.com/this/that/theother.csv the "name" would be "theother.csv", unless the user changed it.
Obviously, if the URL ends with a / like http://example.com/this/that/theother/ the default name should be "theother", rather than being blank.