{"action":"created","issue":{"url":"https://api.github.com/repos/netlify/netlify-cms/issues/445","repository_url":"https://api.github.com/repos/netlify/netlify-cms","labels_url":"https://api.github.com/repos/netlify/netlify-cms/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/netlify/netlify-cms/issues/445/comments","events_url":"https://api.github.com/repos/netlify/netlify-cms/issues/445/events","html_url":"https://github.com/netlify/netlify-cms/issues/445","id":234026747,"node_id":"MDU6SXNzdWUyMzQwMjY3NDc=","number":445,"title":"Make sluggification visible, customizable, and fail-safe","user":{"login":"erquhart","id":2112202,"node_id":"MDQ6VXNlcjIxMTIyMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/2112202?v=4","gravatar_id":"","url":"https://api.github.com/users/erquhart","html_url":"https://github.com/erquhart","followers_url":"https://api.github.com/users/erquhart/followers","following_url":"https://api.github.com/users/erquhart/following{/other_user}","gists_url":"https://api.github.com/users/erquhart/gists{/gist_id}","starred_url":"https://api.github.com/users/erquhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erquhart/subscriptions","organizations_url":"https://api.github.com/users/erquhart/orgs","repos_url":"https://api.github.com/users/erquhart/repos","events_url":"https://api.github.com/users/erquhart/events{/privacy}","received_events_url":"https://api.github.com/users/erquhart/received_events","type":"User","site_admin":false},"labels":[{"id":783224311,"node_id":"MDU6TGFiZWw3ODMyMjQzMTE=","url":"https://api.github.com/repos/netlify/netlify-cms/labels/area:%20ui/editor/control-pane","name":"area: ui/editor/control-pane","color":"fbca04","default":false},{"id":793327445,"node_id":"MDU6TGFiZWw3OTMzMjc0NDU=","url":"https://api.github.com/repos/netlify/netlify-cms/labels/hot","name":"hot","color":"db51cb","default":false},{"id":552686085,"node_id":"MDU6TGFiZWw1NTI2ODYwODU=","url":"https://api.github.com/repos/netlify/netlify-cms/labels/kind:%20discussion","name":"kind: discussion","color":"EEEEEE","default":false},{"id":168064402,"node_id":"MDU6TGFiZWwxNjgwNjQ0MDI=","url":"https://api.github.com/repos/netlify/netlify-cms/labels/kind:%20feature","name":"kind: feature","color":"AAB3AB","default":false},{"id":905014145,"node_id":"MDU6TGFiZWw5MDUwMTQxNDU=","url":"https://api.github.com/repos/netlify/netlify-cms/labels/release:%202.0","name":"release: 2.0","color":"723ec1","default":false},{"id":783219257,"node_id":"MDU6TGFiZWw3ODMyMTkyNTc=","url":"https://api.github.com/repos/netlify/netlify-cms/labels/roadmap","name":"roadmap","color":"eb6420","default":false},{"id":783203394,"node_id":"MDU6TGFiZWw3ODMyMDMzOTQ=","url":"https://api.github.com/repos/netlify/netlify-cms/labels/status:%20needs%20design","name":"status: needs design","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2017-06-06T21:14:36Z","updated_at":"2018-08-22T10:02:19Z","closed_at":null,"author_association":"MEMBER","body":"Default sluggification is simplistic, relying on a title field and performing no inference whatsoever.\r\n\r\n**With no field named \"title\", entries currently fail to save.**\r\n\r\nThe ideal fix is to simply make slugs editable in the editor UI.\r\n\r\nConsiderations:\r\n\r\n* Slug editing can be switched off through config\r\n* If slug editing is switched off, each collection config must be validated on CMS load to ensure a slug can be derived\r\n* Prepopulate with the same best guess or configured slug template result that we currently use\r\n* Only valid characters may be entered in the slug field\r\n* Slugs and filenames are not always the same, so it should be possible to provide them separately somehow (see [comment](https://github.com/netlify/netlify-cms/issues/445#issuecomment-377425752) below for example)"},"comment":{"url":"https://api.github.com/repos/netlify/netlify-cms/issues/comments/414980669","html_url":"https://github.com/netlify/netlify-cms/issues/445#issuecomment-414980669","issue_url":"https://api.github.com/repos/netlify/netlify-cms/issues/445","id":414980669,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDk4MDY2OQ==","user":{"login":"therealshark","id":6408755,"node_id":"MDQ6VXNlcjY0MDg3NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/6408755?v=4","gravatar_id":"","url":"https://api.github.com/users/therealshark","html_url":"https://github.com/therealshark","followers_url":"https://api.github.com/users/therealshark/followers","following_url":"https://api.github.com/users/therealshark/following{/other_user}","gists_url":"https://api.github.com/users/therealshark/gists{/gist_id}","starred_url":"https://api.github.com/users/therealshark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealshark/subscriptions","organizations_url":"https://api.github.com/users/therealshark/orgs","repos_url":"https://api.github.com/users/therealshark/repos","events_url":"https://api.github.com/users/therealshark/events{/privacy}","received_events_url":"https://api.github.com/users/therealshark/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T10:02:19Z","updated_at":"2018-08-22T10:02:19Z","author_association":"NONE","body":"It would also be nice if there was another placeholder like {{random}} generating a random string to use in the slug. I'd like to create a collections with items having no unique field, and just using a slug like ```slug: \"{{year}}-{{month}}-{{day}}-{{hour}}_{{minute}}_{{second}}\"``` feels a bit risky.\r\n\r\nAnother possibility to minimize the chance of colliding would be to add milliseconds as another field."}}
{"actor":{"display_login":"therealshark"}}