{"action":"created","issue":{"url":"https://api.github.com/repos/ryukinix/mal/issues/83","repository_url":"https://api.github.com/repos/ryukinix/mal","labels_url":"https://api.github.com/repos/ryukinix/mal/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/ryukinix/mal/issues/83/comments","events_url":"https://api.github.com/repos/ryukinix/mal/issues/83/events","html_url":"https://github.com/ryukinix/mal/issues/83","id":306127736,"number":83,"title":"[feature request] add 'comments' field to 'edit' function","user":{"login":"bradenbest","id":6936507,"avatar_url":"https://avatars3.githubusercontent.com/u/6936507?v=4","gravatar_id":"","url":"https://api.github.com/users/bradenbest","html_url":"https://github.com/bradenbest","followers_url":"https://api.github.com/users/bradenbest/followers","following_url":"https://api.github.com/users/bradenbest/following{/other_user}","gists_url":"https://api.github.com/users/bradenbest/gists{/gist_id}","starred_url":"https://api.github.com/users/bradenbest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradenbest/subscriptions","organizations_url":"https://api.github.com/users/bradenbest/orgs","repos_url":"https://api.github.com/users/bradenbest/repos","events_url":"https://api.github.com/users/bradenbest/events{/privacy}","received_events_url":"https://api.github.com/users/bradenbest/received_events","type":"User","site_admin":false},"labels":[{"id":870594584,"url":"https://api.github.com/repos/ryukinix/mal/labels/status:desirable","name":"status:desirable","color":"8dc2d6","default":false},{"id":791470156,"url":"https://api.github.com/repos/ryukinix/mal/labels/status:discussion","name":"status:discussion","color":"d66c1b","default":false},{"id":694575805,"url":"https://api.github.com/repos/ryukinix/mal/labels/type:feature","name":"type:feature","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-17T04:40:24Z","updated_at":"2018-03-17T21:56:44Z","closed_at":null,"author_association":"NONE","body":"The `comments` field is one I use quite extensively to remind myself of various things, like why I loved/hated a show so much, or what convinced me to add it to my `on-hold` queue (which I treat as a high-priority `plan to watch`, so explanations are necessary). It would be nice to have that here so I don't have to use the website.\r\n\r\nI didn't see a way to tag the issue from the editor, so I put the tag in the title out of consideration."},"comment":{"url":"https://api.github.com/repos/ryukinix/mal/issues/comments/373955797","html_url":"https://github.com/ryukinix/mal/issues/83#issuecomment-373955797","issue_url":"https://api.github.com/repos/ryukinix/mal/issues/83","id":373955797,"user":{"login":"bradenbest","id":6936507,"avatar_url":"https://avatars3.githubusercontent.com/u/6936507?v=4","gravatar_id":"","url":"https://api.github.com/users/bradenbest","html_url":"https://github.com/bradenbest","followers_url":"https://api.github.com/users/bradenbest/followers","following_url":"https://api.github.com/users/bradenbest/following{/other_user}","gists_url":"https://api.github.com/users/bradenbest/gists{/gist_id}","starred_url":"https://api.github.com/users/bradenbest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradenbest/subscriptions","organizations_url":"https://api.github.com/users/bradenbest/orgs","repos_url":"https://api.github.com/users/bradenbest/repos","events_url":"https://api.github.com/users/bradenbest/events{/privacy}","received_events_url":"https://api.github.com/users/bradenbest/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T21:56:44Z","updated_at":"2018-03-17T21:56:44Z","author_association":"NONE","body":"> [on API not returning 'comments' field]\r\n\r\nWeird. The [documentation](https://myanimelist.net/modules.php?go=api#animevalues) does explicitly say that comments is a field returned under \"anime values\". \r\n\r\n> MAL API is terrible!\r\n\r\nI agree.\r\n\r\n> Why you want escape newlines as \\\\n?\r\n\r\nIt's a measure of future-proofing. If you were to read to EOF, that would trap you into having comments be the very last field of the file, and complicate the addition of other multi-line fields. Escaping newlines is the simplest way to ensure that multi-line fields behave like single-line fields while preserving the freedom to *use* newlines. The user would be typing `\\n`, and the app would be taking that escape sequence and transforming it into an actual newline (and to do that via a string replace, you have to represent these values in a string literal, and to do *that*, you have to [escape](https://en.wikipedia.org/wiki/Escape_character) it, hence `\\\\n` to represent `\\n` and `\\n` to represent a literal newline). This would reduce the complexity of the application, thus reducing the potential for bugs, and making for a better UI. "}}
{"actor":{"display_login":"bradenbest"}}