{"action":"created","issue":{"url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/issues/250","repository_url":"https://api.github.com/repos/project-travel-mate/Travel-Mate","labels_url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/issues/250/comments","events_url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/issues/250/events","html_url":"https://github.com/project-travel-mate/Travel-Mate/issues/250","id":340542326,"node_id":"MDU6SXNzdWUzNDA1NDIzMjY=","number":250,"title":"Bug when user edits the status as nothing","user":{"login":"Swati4star","id":9164477,"node_id":"MDQ6VXNlcjkxNjQ0Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/9164477?v=4","gravatar_id":"","url":"https://api.github.com/users/Swati4star","html_url":"https://github.com/Swati4star","followers_url":"https://api.github.com/users/Swati4star/followers","following_url":"https://api.github.com/users/Swati4star/following{/other_user}","gists_url":"https://api.github.com/users/Swati4star/gists{/gist_id}","starred_url":"https://api.github.com/users/Swati4star/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swati4star/subscriptions","organizations_url":"https://api.github.com/users/Swati4star/orgs","repos_url":"https://api.github.com/users/Swati4star/repos","events_url":"https://api.github.com/users/Swati4star/events{/privacy}","received_events_url":"https://api.github.com/users/Swati4star/received_events","type":"User","site_admin":false},"labels":[{"id":973279645,"node_id":"MDU6TGFiZWw5NzMyNzk2NDU=","url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/labels/GSSoC","name":"GSSoC","color":"f9b686","default":false},{"id":973274235,"node_id":"MDU6TGFiZWw5NzMyNzQyMzU=","url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/labels/intermediate","name":"intermediate","color":"a9f9d8","default":false}],"state":"open","locked":false,"assignee":{"login":"aayushinigam","id":24635221,"node_id":"MDQ6VXNlcjI0NjM1MjIx","avatar_url":"https://avatars1.githubusercontent.com/u/24635221?v=4","gravatar_id":"","url":"https://api.github.com/users/aayushinigam","html_url":"https://github.com/aayushinigam","followers_url":"https://api.github.com/users/aayushinigam/followers","following_url":"https://api.github.com/users/aayushinigam/following{/other_user}","gists_url":"https://api.github.com/users/aayushinigam/gists{/gist_id}","starred_url":"https://api.github.com/users/aayushinigam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayushinigam/subscriptions","organizations_url":"https://api.github.com/users/aayushinigam/orgs","repos_url":"https://api.github.com/users/aayushinigam/repos","events_url":"https://api.github.com/users/aayushinigam/events{/privacy}","received_events_url":"https://api.github.com/users/aayushinigam/received_events","type":"User","site_admin":false},"assignees":[{"login":"aayushinigam","id":24635221,"node_id":"MDQ6VXNlcjI0NjM1MjIx","avatar_url":"https://avatars1.githubusercontent.com/u/24635221?v=4","gravatar_id":"","url":"https://api.github.com/users/aayushinigam","html_url":"https://github.com/aayushinigam","followers_url":"https://api.github.com/users/aayushinigam/followers","following_url":"https://api.github.com/users/aayushinigam/following{/other_user}","gists_url":"https://api.github.com/users/aayushinigam/gists{/gist_id}","starred_url":"https://api.github.com/users/aayushinigam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayushinigam/subscriptions","organizations_url":"https://api.github.com/users/aayushinigam/orgs","repos_url":"https://api.github.com/users/aayushinigam/repos","events_url":"https://api.github.com/users/aayushinigam/events{/privacy}","received_events_url":"https://api.github.com/users/aayushinigam/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-07-12T08:41:41Z","updated_at":"2018-07-13T04:55:21Z","closed_at":null,"author_association":"MEMBER","body":"### Steps to reproduce\r\n- Go to profile page\r\n- click on pencil icon by the side of status\r\n- Remove everything that is already there in the status\r\n- click on ✔️ \r\n\r\n### Expected behaviour\r\n- User's status should be removed, and default message `Write something about yourself should be shown`\r\n\r\n### Actual behaviour\r\n- The status editbox is shown empty\r\n- The status does not get updated to anything (go back & come to your profile again. The status is same as previous one)\r\n- The following toast appears\r\n![screenshot_20180712-140533_02](https://user-images.githubusercontent.com/9164477/42622025-efb7b312-85dc-11e8-898c-8be82e4bb5c5.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/issues/comments/404725288","html_url":"https://github.com/project-travel-mate/Travel-Mate/issues/250#issuecomment-404725288","issue_url":"https://api.github.com/repos/project-travel-mate/Travel-Mate/issues/250","id":404725288,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDcyNTI4OA==","user":{"login":"Swati4star","id":9164477,"node_id":"MDQ6VXNlcjkxNjQ0Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/9164477?v=4","gravatar_id":"","url":"https://api.github.com/users/Swati4star","html_url":"https://github.com/Swati4star","followers_url":"https://api.github.com/users/Swati4star/followers","following_url":"https://api.github.com/users/Swati4star/following{/other_user}","gists_url":"https://api.github.com/users/Swati4star/gists{/gist_id}","starred_url":"https://api.github.com/users/Swati4star/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swati4star/subscriptions","organizations_url":"https://api.github.com/users/Swati4star/orgs","repos_url":"https://api.github.com/users/Swati4star/repos","events_url":"https://api.github.com/users/Swati4star/events{/privacy}","received_events_url":"https://api.github.com/users/Swati4star/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T04:55:21Z","updated_at":"2018-07-13T04:55:21Z","author_association":"MEMBER","body":"Don't do this. The problem is, we want a difference between when the user's status is set & not set. \r\nIf it's not set, we show a different message like \"write something about yourself\".\r\nSo, null would be the best to differentiate.\r\n\r\n\r\nPS. Use mstatus.trim().length() (we don't want just spaces also as a status)"}}
{"actor":{"display_login":"Swati4star"}}