{"action":"created","issue":{"url":"https://api.github.com/repos/ninja33/ODH/issues/13","repository_url":"https://api.github.com/repos/ninja33/ODH","labels_url":"https://api.github.com/repos/ninja33/ODH/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ninja33/ODH/issues/13/comments","events_url":"https://api.github.com/repos/ninja33/ODH/issues/13/events","html_url":"https://github.com/ninja33/ODH/issues/13","id":309839135,"number":13,"title":"两个建议","user":{"login":"pickcup","id":37870600,"avatar_url":"https://avatars0.githubusercontent.com/u/37870600?v=4","gravatar_id":"","url":"https://api.github.com/users/pickcup","html_url":"https://github.com/pickcup","followers_url":"https://api.github.com/users/pickcup/followers","following_url":"https://api.github.com/users/pickcup/following{/other_user}","gists_url":"https://api.github.com/users/pickcup/gists{/gist_id}","starred_url":"https://api.github.com/users/pickcup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pickcup/subscriptions","organizations_url":"https://api.github.com/users/pickcup/orgs","repos_url":"https://api.github.com/users/pickcup/repos","events_url":"https://api.github.com/users/pickcup/events{/privacy}","received_events_url":"https://api.github.com/users/pickcup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-29T17:27:03Z","updated_at":"2018-04-02T13:00:51Z","closed_at":null,"author_association":"NONE","body":"非常棒的工具，感谢！\r\n\r\n建议：\r\n1、点绿色加号创建卡片动作后会有绿色勾的提示很好，不过一会儿就消失变回加号了，可不可以让它不变回去保持绿勾呢（方便确认完成，再遇到的时候窗口里有标志就知道已经创建过了）\r\n2、可不可以同时调用两个在线词典来查词，有的词或词组因为词典收词量的原因查不到，能否在设置时提供一个第二查询来源的方法，举例来说比如常用的柯林斯英汉，查不到first up这个词，有些英文在线词典能查到有的不行（试了数个，牛津和郎文的能查到正确的义项`https://en.oxforddictionaries.com/definition/first_up，https://www.ldoceonline.com/dictionary/first-up`）。还有一种方法是插件支持如简明必应英汉v6+mdx辞典，它的收词量大，也能查到这个词组（其实也是合并了很多来源）"},"comment":{"url":"https://api.github.com/repos/ninja33/ODH/issues/comments/377924294","html_url":"https://github.com/ninja33/ODH/issues/13#issuecomment-377924294","issue_url":"https://api.github.com/repos/ninja33/ODH/issues/13","id":377924294,"user":{"login":"ninja33","id":20181220,"avatar_url":"https://avatars1.githubusercontent.com/u/20181220?v=4","gravatar_id":"","url":"https://api.github.com/users/ninja33","html_url":"https://github.com/ninja33","followers_url":"https://api.github.com/users/ninja33/followers","following_url":"https://api.github.com/users/ninja33/following{/other_user}","gists_url":"https://api.github.com/users/ninja33/gists{/gist_id}","starred_url":"https://api.github.com/users/ninja33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninja33/subscriptions","organizations_url":"https://api.github.com/users/ninja33/orgs","repos_url":"https://api.github.com/users/ninja33/repos","events_url":"https://api.github.com/users/ninja33/events{/privacy}","received_events_url":"https://api.github.com/users/ninja33/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T13:00:51Z","updated_at":"2018-04-02T13:00:51Z","author_association":"OWNER","body":"1. 确实插件是和ankiconnect通讯了的，但是ankiconnect只根据词头返回一个是否重复的状态。这个状态并不能解决插件加号的问题。首先，这个插件为了解决一词多义分别制卡，每本词典的每个释义边上都打了一个加号。比如你划一个单词，弹窗显示了2本词典的6个释义，第一本词典4个编号1-1到1-4，第二本词典2个编号2-1到2-2，一共6个加号。假设，你在1-3这个释义的加号上点击制卡，ankiconnect接受请求制卡成功。下一次再查这个单词，不管是插件还是ankiconnect都是没有地方保存1-3这个状态的。所以插件无法在1-3这个地方加号变灰。最多知道这个单词本身(不是某个释义)以前有没有制过卡。\r\n2. 如果你知道js代码，你可以去看看每个脚本的源代码，里面都含有一个findTerm的函数，这个函数是插件统一接口，但是每本词典的实现却略有不同，比如柯林斯词典里，findTerm又调用了findCollins函数，有道词典里的findTerm是调用了findYoudao函数，那么如果你要在一个脚本里同时包含两本词典呢？你的findTerm就同时copy那两本词典里的代码，同时调用findCollins和findYoudao，虽然没有写出具体的代码，大概就是这个意思。"}}
{"actor":{"display_login":"ninja33"}}