{"action":"created","issue":{"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/440","labels_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/440/comments","events_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/440/events","html_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/issues/440","id":113739897,"number":440,"title":"slides should be in subdirectories, and should include slide id at the beginning of the file name","user":{"login":"ragesoss","id":848483,"avatar_url":"https://avatars.githubusercontent.com/u/848483?v=3","gravatar_id":"","url":"https://api.github.com/users/ragesoss","html_url":"https://github.com/ragesoss","followers_url":"https://api.github.com/users/ragesoss/followers","following_url":"https://api.github.com/users/ragesoss/following{/other_user}","gists_url":"https://api.github.com/users/ragesoss/gists{/gist_id}","starred_url":"https://api.github.com/users/ragesoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragesoss/subscriptions","organizations_url":"https://api.github.com/users/ragesoss/orgs","repos_url":"https://api.github.com/users/ragesoss/repos","events_url":"https://api.github.com/users/ragesoss/events{/privacy}","received_events_url":"https://api.github.com/users/ragesoss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/labels/code%20quality","name":"code quality","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-28T04:09:55Z","updated_at":"2015-10-28T05:55:49Z","closed_at":null,"body":"It's going to be hard to organize the slides if the default is to have them all in one directory in alphabetical order.\r\n\r\nI think we should make two adjustments:\r\n* slides should be sortable into arbitrary subdirectories, just for the sake of organizing related sets of slides. When loading the slide content, the system should just go through those directories recursively to grab all the slides; the directories would be just for organizing the slide editing process.\r\n* slide filenames should start with the id, something like `0001-welcome-to-wikipedia.yml` or `0327-advanced-foo.yml`. We would strip away the `####-` part to get the slug. That would similarly make it easier to organize the slide editing process, especially if we follow a convention like having the 300 series of slide ids correspond to module id 3, and so on."},"comment":{"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/comments/151733700","html_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/issues/440#issuecomment-151733700","issue_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/440","id":151733700,"user":{"login":"ragesoss","id":848483,"avatar_url":"https://avatars.githubusercontent.com/u/848483?v=3","gravatar_id":"","url":"https://api.github.com/users/ragesoss","html_url":"https://github.com/ragesoss","followers_url":"https://api.github.com/users/ragesoss/followers","following_url":"https://api.github.com/users/ragesoss/following{/other_user}","gists_url":"https://api.github.com/users/ragesoss/gists{/gist_id}","starred_url":"https://api.github.com/users/ragesoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragesoss/subscriptions","organizations_url":"https://api.github.com/users/ragesoss/orgs","repos_url":"https://api.github.com/users/ragesoss/repos","events_url":"https://api.github.com/users/ragesoss/events{/privacy}","received_events_url":"https://api.github.com/users/ragesoss/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T05:55:49Z","updated_at":"2015-10-28T05:55:49Z","body":"I implemented the subdirectories part of it in d6e5341cf39517d472619b4a8cc798ab7de87b79\r\n\r\nA regex to handle leading numbers will be easy enough to implement."}}