payload: {"action":"created","issue":{"url":"https://api.github.com/repos/HelenFoster/JSentenceHighlighter/issues/4","repository_url":"https://api.github.com/repos/HelenFoster/JSentenceHighlighter","labels_url":"https://api.github.com/repos/HelenFoster/JSentenceHighlighter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/HelenFoster/JSentenceHighlighter/issues/4/comments","events_url":"https://api.github.com/repos/HelenFoster/JSentenceHighlighter/issues/4/events","html_url":"https://github.com/HelenFoster/JSentenceHighlighter/issues/4","id":437740383,"node_id":"MDU6SXNzdWU0Mzc3NDAzODM=","number":4,"title":"Thoughts on config?","user":{"login":"HelenFoster","id":5677614,"node_id":"MDQ6VXNlcjU2Nzc2MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5677614?v=4","gravatar_id":"","url":"https://api.github.com/users/HelenFoster","html_url":"https://github.com/HelenFoster","followers_url":"https://api.github.com/users/HelenFoster/followers","following_url":"https://api.github.com/users/HelenFoster/following{/other_user}","gists_url":"https://api.github.com/users/HelenFoster/gists{/gist_id}","starred_url":"https://api.github.com/users/HelenFoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelenFoster/subscriptions","organizations_url":"https://api.github.com/users/HelenFoster/orgs","repos_url":"https://api.github.com/users/HelenFoster/repos","events_url":"https://api.github.com/users/HelenFoster/events{/privacy}","received_events_url":"https://api.github.com/users/HelenFoster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-26T15:58:54Z","updated_at":"2019-04-26T16:04:34Z","closed_at":null,"author_association":"OWNER","body":"Anki 2.1 can fetch updates from AnkiWeb, and we're not supposed to make people edit Python files because they get clobbered.\r\n\r\nThe short solution: Convert config.py to use a dictionary, and use Anki 2.1's config system (basically editing a JSON file inside Anki), while Anki 2.0 users still edit config.py .\r\n\r\nIt's possible to hook a config GUI to Anki 2.1's config system, but if going that far, it would make more sense to...\r\n\r\nGo like KanjiVocab with custom config. This means it can work the same on Anki 2.0 and 2.1, and config can be per-user.\r\n\r\nBut there's also the question of how well the current options are working. And for the recent update with processing selected notes, I kept the config the same and just made it ignore notes which don't match the configured note type, which might not have been the best solution.\r\n\r\nIs anyone using more than one configuration under the current system, so you keep needing to switch options back and forth?"},"comment":{"url":"https://api.github.com/repos/HelenFoster/JSentenceHighlighter/issues/comments/487111305","html_url":"https://github.com/HelenFoster/JSentenceHighlighter/issues/4#issuecomment-487111305","issue_url":"https://api.github.com/repos/HelenFoster/JSentenceHighlighter/issues/4","id":487111305,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NzExMTMwNQ==","user":{"login":"HelenFoster","id":5677614,"node_id":"MDQ6VXNlcjU2Nzc2MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5677614?v=4","gravatar_id":"","url":"https://api.github.com/users/HelenFoster","html_url":"https://github.com/HelenFoster","followers_url":"https://api.github.com/users/HelenFoster/followers","following_url":"https://api.github.com/users/HelenFoster/following{/other_user}","gists_url":"https://api.github.com/users/HelenFoster/gists{/gist_id}","starred_url":"https://api.github.com/users/HelenFoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelenFoster/subscriptions","organizations_url":"https://api.github.com/users/HelenFoster/orgs","repos_url":"https://api.github.com/users/HelenFoster/repos","events_url":"https://api.github.com/users/HelenFoster/events{/privacy}","received_events_url":"https://api.github.com/users/HelenFoster/received_events","type":"User","site_admin":false},"created_at":"2019-04-26T16:04:34Z","updated_at":"2019-04-26T16:04:34Z","author_association":"OWNER","body":"Safety issues: I'm not sure if it's a good idea to be able to select fields to overwrite from a menu. In KanjiVocab, it made sense to define the field names in advance and tell people to use them (and if anyone cares enough to edit the Python file, that's their problem). But it probably doesn't make sense here."}}
other: {"actor":{"display_login":"HelenFoster"}}