{"action":"closed","issue":{"url":"https://api.github.com/repos/hypothesis/client/issues/103","repository_url":"https://api.github.com/repos/hypothesis/client","labels_url":"https://api.github.com/repos/hypothesis/client/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/hypothesis/client/issues/103/comments","events_url":"https://api.github.com/repos/hypothesis/client/issues/103/events","html_url":"https://github.com/hypothesis/client/issues/103","id":176831931,"number":103,"title":"Annotations do not get saved and hangs on \"Saving...\"","user":{"login":"johnyoonh","id":18730221,"avatar_url":"https://avatars.githubusercontent.com/u/18730221?v=3","gravatar_id":"","url":"https://api.github.com/users/johnyoonh","html_url":"https://github.com/johnyoonh","followers_url":"https://api.github.com/users/johnyoonh/followers","following_url":"https://api.github.com/users/johnyoonh/following{/other_user}","gists_url":"https://api.github.com/users/johnyoonh/gists{/gist_id}","starred_url":"https://api.github.com/users/johnyoonh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnyoonh/subscriptions","organizations_url":"https://api.github.com/users/johnyoonh/orgs","repos_url":"https://api.github.com/users/johnyoonh/repos","events_url":"https://api.github.com/users/johnyoonh/events{/privacy}","received_events_url":"https://api.github.com/users/johnyoonh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-14T07:11:24Z","updated_at":"2016-09-15T00:56:33Z","closed_at":"2016-09-15T00:56:33Z","body":"### Steps to reproduce\r\n1. Highlight to annotate\r\n2. write the notes\r\n3. click on \"Public\" to save\r\n\r\n### Expected behaviour\r\nThe annotation get saved and stays there after the page has been refreshed.\r\n\r\n### Actual behaviour\r\n\"Saving...\" shows up on the lower right corner of the annotation and stays there. Only the latest annotation can be selected if there are multiple annotations. Sometimes It goes back to the edit mode on the latest annotation. These annotations are considered to be drafts and warning shows up when trying to log out.\r\n\r\n### Browser/system information\r\nGoogle Chrome: Version 53.0.2785.101 m (64-bit), Windows 10\r\nhypothesis/client commit-id: 26327ae3c5d0105d709f38ea61a03c6a9b1382b2\r\nhypothesis/h commit-id: 5774a2489d656c5937f40205e90e2581d9489478\r\nclient is trying to save from another domain. The CORS is resolved using nginx on the server.\r\nclient is authenticated but it throws 401 Unauthorized error on trying to request : '/api/token'. This is an known issue for cross domain as per the comment in the source code.\r\n\r\n![2016-09-14 00_12_43-chapter 1 down the rabbit hole](https://cloud.githubusercontent.com/assets/18730221/18503120/0aa748c0-7a10-11e6-90a7-9da8f6dc01d6.png)\r\n\r\nI could not reproduce the behavior on a dev environment where client is linked to h and running on port 3000"}}
{"actor":{"display_login":"johnyoonh"}}