{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3005","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3005/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3005/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3005/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3005","id":86232164,"number":3005,"title":"[feature fix] Fix component title length","user":{"login":"geeksnglitter","id":7839433,"avatar_url":"https://avatars.githubusercontent.com/u/7839433?v=3","gravatar_id":"","url":"https://api.github.com/users/geeksnglitter","html_url":"https://github.com/geeksnglitter","followers_url":"https://api.github.com/users/geeksnglitter/followers","following_url":"https://api.github.com/users/geeksnglitter/following{/other_user}","gists_url":"https://api.github.com/users/geeksnglitter/gists{/gist_id}","starred_url":"https://api.github.com/users/geeksnglitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeksnglitter/subscriptions","organizations_url":"https://api.github.com/users/geeksnglitter/orgs","repos_url":"https://api.github.com/users/geeksnglitter/repos","events_url":"https://api.github.com/users/geeksnglitter/events{/privacy}","received_events_url":"https://api.github.com/users/geeksnglitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"lyndsysimon","id":131414,"avatar_url":"https://avatars.githubusercontent.com/u/131414?v=3","gravatar_id":"","url":"https://api.github.com/users/lyndsysimon","html_url":"https://github.com/lyndsysimon","followers_url":"https://api.github.com/users/lyndsysimon/followers","following_url":"https://api.github.com/users/lyndsysimon/following{/other_user}","gists_url":"https://api.github.com/users/lyndsysimon/gists{/gist_id}","starred_url":"https://api.github.com/users/lyndsysimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyndsysimon/subscriptions","organizations_url":"https://api.github.com/users/lyndsysimon/orgs","repos_url":"https://api.github.com/users/lyndsysimon/repos","events_url":"https://api.github.com/users/lyndsysimon/events{/privacy}","received_events_url":"https://api.github.com/users/lyndsysimon/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/39","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.41.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/39/labels","id":1162008,"number":39,"title":"0.41.0","description":"PR's + Continued API v2 enhancements","creator":{"login":"samanehsan","id":6414394,"avatar_url":"https://avatars.githubusercontent.com/u/6414394?v=3","gravatar_id":"","url":"https://api.github.com/users/samanehsan","html_url":"https://github.com/samanehsan","followers_url":"https://api.github.com/users/samanehsan/followers","following_url":"https://api.github.com/users/samanehsan/following{/other_user}","gists_url":"https://api.github.com/users/samanehsan/gists{/gist_id}","starred_url":"https://api.github.com/users/samanehsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samanehsan/subscriptions","organizations_url":"https://api.github.com/users/samanehsan/orgs","repos_url":"https://api.github.com/users/samanehsan/repos","events_url":"https://api.github.com/users/samanehsan/events{/privacy}","received_events_url":"https://api.github.com/users/samanehsan/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":15,"state":"open","created_at":"2015-06-12T13:50:24Z","updated_at":"2015-06-18T02:28:06Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-08T15:54:29Z","updated_at":"2015-06-18T19:54:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/3005","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3005","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/3005.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/3005.patch"},"body":"Purpose\r\n-------------------------\r\nCurrently when making a new component on the osf a modal will pop up and allow you to enter a title as long as you wish, but if your title is longer than 200 characters, the component will not be created.\r\n\r\nCloses Issue https://github.com/CenterForOpenScience/openscienceframework.org/issues/2993\r\n\r\nChanges\r\n------------------\r\nI simply added a maxlength=\"200\" into the field for component titles. Stopping users form being able to enter a title longer than 200 characters.\r\n\r\nEdit: Because we want there to be consistency in title length, there were many changes in order to secure that title length remains around 200 throughout the system. Both front end and back end validations were added in order to enforce the 200 character limit on titles. You can no longer edit a title to be as long as you desire as shown in https://github.com/CenterForOpenScience/osf.io/issues/2993#issuecomment-110046427.\r\n\r\nProjects will now not be able to be created if a user attempts to make a title past 200 characters. They will also not be able to enter titles past 200 characters in the fields that edit said titles, so project creation should not fail for this reason.\r\n"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/113272140","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3005#issuecomment-113272140","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3005","id":113272140,"user":{"login":"lyndsysimon","id":131414,"avatar_url":"https://avatars.githubusercontent.com/u/131414?v=3","gravatar_id":"","url":"https://api.github.com/users/lyndsysimon","html_url":"https://github.com/lyndsysimon","followers_url":"https://api.github.com/users/lyndsysimon/followers","following_url":"https://api.github.com/users/lyndsysimon/following{/other_user}","gists_url":"https://api.github.com/users/lyndsysimon/gists{/gist_id}","starred_url":"https://api.github.com/users/lyndsysimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyndsysimon/subscriptions","organizations_url":"https://api.github.com/users/lyndsysimon/orgs","repos_url":"https://api.github.com/users/lyndsysimon/repos","events_url":"https://api.github.com/users/lyndsysimon/events{/privacy}","received_events_url":"https://api.github.com/users/lyndsysimon/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T19:54:52Z","updated_at":"2015-06-18T19:54:52Z","body":"Pass complete. :cake:"}}