tisfeng / Easydict

一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
GNU General Public License v3.0
7.49k stars 378 forks source link

🚀 功能建议:建议新增类似生词本的功能 #33

Open hongzzz opened 1 year ago

hongzzz commented 1 year ago

请先确认以下事项

功能描述

在查词界面上加一个收藏按钮,类似有道词典;可以在统一的地方查看生词详情列表;

使用场景(可选)

No response

实现方案(可选)

No response

github-actions[bot] commented 1 year ago

Hello hongzzz, Thank you for your first issue contribution 🎉

tisfeng commented 1 year ago

可以,感谢反馈,稍后会添加这个功能的。

Nat30 commented 1 year ago

同需要,感谢

tisfeng commented 1 year ago

收到,记下了。

focus7eleven commented 11 months ago

any roadmap on this issue?

tisfeng commented 11 months ago

暂时没有,要等设置页重构 https://github.com/tisfeng/Easydict/issues/227#issuecomment-1849027631 完成后,再来看这个。

yam-liu commented 10 months ago

I just found something that can be a temporary solution if we haven't figured out the long-term plan. Eudic itself has a not-so-bad vocabulary system.

https://my.eudic.net/OpenAPI/doc_api_study#-studylistapi-addwords

tisfeng commented 10 months ago

Currently, the new settings page is almost completed, and some related features can be done.

We can add a favorites button in the top right corner, and add a favorites and history Tab to the settings.

If you are interested in this feature, you can try to push this issue, PR is always welcome 🤗

yam-liu commented 10 months ago

@tisfeng Do you support the Eudic's solution or plan to do the app's history? Favorite and history Tabs are two features or the same one? Can you elaborate more?

tisfeng commented 10 months ago

For now, we can start by only supporting the Favorite/History feature, and Eudic can be put into another issue.

Favorite and History are very similar, we can use a simple way to do it, only record the information of the query word, such as word, queryFromLanguage, timestamp, etc., and don't record the result of the query for the time being.

Each time we perform a query word action, we record the word, which is the History list. If the user clicks on the New Favorite button in the upper right corner, we add the word to the Favorite list.

tisfeng commented 10 months ago

I previously added Realm package, you can use it to store favorite words.

Of course, if you have other better solutions, that's fine too.

ReZeroS commented 8 months ago

记单词能否提供一个配置选项,是否开启 翻译后一定会记录的功能

tisfeng commented 8 months ago

单词本:手动添加才会记录。 历史记录:每个查询都会被记录。

@yam-liu 你好,请问有在做这个功能吗

yam-liu commented 8 months ago

@tisfeng 暂时没有。

ellya00 commented 6 months ago

单词本:手动添加才会记录。 历史记录:每个查询都会被记录。

@yam-liu 你好,请问有在做这个功能吗

这里也有这个需求(就是搜词历史和单词收藏的功能)!!(search 了一下就不开新页面来建议了)

yam-liu commented 6 months ago

@ellya00 没有,不好意思最近开始忙起来了。而且 repo owner 貌似是想自己做一个数据库,我的想法是存到 eudic。这块想法不一样,因为时间不多所以没有深入讨论。

tisfeng commented 6 months ago

我也在使用 eudic,对于支持 eudic,将收藏的单词同步到 eudic 这部分没问题。

但考虑到不是所有用户都使用欧路词典,所以 Easydict 本身还是应该实现一个自己的单词记录模块(单词本和历史记录),将单词本同步到 eudic 可以是一个额外功能。

tisfeng commented 6 months ago

最近计划使用 SwiftUI 重写查询窗口 https://github.com/tisfeng/Easydict/issues/551 ,考虑到 SwiftUI 可能会改动许多数据存储结构,因此单词本功能需要等重写完成后。

ellya00 commented 6 months ago

嗯嗯是的,所以一共是有3个需求,Easydict 自己的单词记录模块里的(1单词本和 2历史记录),和3将单词本导出,应该可以设置特定的格式,导入很多词典吧。不着急更新,就是一些提议~