Commit Graph

52 Commits

Author SHA1 Message Date
rubickecho
b47fd0a8c2 test: Add e2e tests with playwright for website (#736)
* docs: update README, add deploy to vercel

* docs: update README

* feat: add e2e tests

* feat: add main feature e2e tests with playwright

* fix: ci env value and update gitignore

* fix: ci job conditions for execution

* chore: merge from main

---------

Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2024-02-17 16:04:59 +08:00
Kai
621daf0807 refact: remove daisy ui (#743) 2024-01-21 17:46:35 +08:00
Kai
d5cf54e588 feat: add word review feature and new dict detail ui (#728)
* feat: wrong words revision (#717)

* fix: db error

* feat: add shadon ui

* feat: basic implement of review mode and new ui

* feat: update default tab of dict detail

* chore: add new line

* chore: polish detail

* feat: add dark mode

---------

Co-authored-by: William Yu <52456186+WilliamYPY@users.noreply.github.com>
2023-12-25 23:03:39 +08:00
Kaiyi
1e66000ff1 feat: add recite to error book (#587) 2023-08-19 02:35:36 +08:00
hemoo
08e0d27952 Master export error chapters (#515)
Co-authored-by: peakhgrhill <peakhgrhill@porton.me>
Co-authored-by: eriksyang <eriksyang@gmail.com>
Co-authored-by: 邓亮 <787615673@qq.com>
Co-authored-by: Anthony H <anthonyhuanggr@gmail.com>
Co-authored-by: jasonw <111627243+Jasonw372@users.noreply.github.com>
Co-authored-by: EriksYang <35193151+EriksYang@users.noreply.github.com>
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-08-05 18:11:23 +08:00
NoManPlay
f772ed7880 Feature/data analysis page (#545)
Co-authored-by: qintianxing <qintianxing@100.me>
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-07-18 14:04:36 +08:00
HaoYu Dong
fb70d9d84e feat: add confetti style (#509)
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-05-26 11:17:42 +08:00
HaoYu Dong
1e97b4bd0f feat: add user custom word loop (#485)
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-05-23 15:37:45 +08:00
mancuoj
a76c821482 refactor: use unplugin-icons to unify all icons (#439)
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-04-28 12:30:36 +08:00
Kaiyi
846efd4e32 feat: remove dependence dayjs (#430) 2023-04-25 23:42:29 +08:00
Kaiyi
b29141c61c feat: new Gallery UI (#414) 2023-04-24 17:14:50 +08:00
Kaiyi
f1f98d263a feat: implement data import&export (#410) 2023-04-19 16:57:50 +08:00
KaiyiWing
0b6eb085b7 chore: add sort imports plugin to prettier 2023-04-18 16:24:41 +08:00
Kaiyi
c6b6db4553 feat: 用户练习数据记录 (#389) 2023-04-18 01:24:30 +08:00
Luyu Cheng
5d9eda45bd Use tabler icons and heroicons instead of FontAwesome (#403)
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-04-17 23:29:47 +08:00
KaiyiWing
4c6088f5ca feat: remove react-use 2023-04-17 17:42:42 +08:00
Luyu Cheng
914b6d895b Improve First Contentful Paint (FCP) Time (#399)
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
2023-04-17 17:35:20 +08:00
Luyu Cheng
8d31d7049d feat: show the latest commit hash at the footer (#394) 2023-04-16 23:57:50 +08:00
Kaiyi
6ba8c1d024 feat: add setting panel (#385) 2023-04-12 13:15:27 +08:00
Kaiyi
ec932d465b feat: update switcher ui & logic (#375) 2023-04-08 21:30:36 +08:00
Kaiyi
f6f2f5c909 feat: implement share pic (#371) 2023-04-01 23:42:26 +08:00
Kaiyi
91ec7b3b76 Reafactor current code base (#351) 2023-03-16 11:08:46 +08:00
Kaiyi
70377d0f54 chore: add prettier-plugin-tailwindcss, upgrade husky and lint-staged (#329) 2023-02-28 12:18:43 +08:00
KaiyiWing
33a471258c fix: github pages deploy error 2023-02-21 12:44:20 +08:00
Kaiyi
36056db727 feat: add mixpanel, remove single word loop mode (#318) 2023-02-17 16:22:13 +08:00
Luyu Cheng
b6b2becbda Build with Vite (#308) 2023-02-09 15:53:53 +08:00
Yangthemob
f639b69a1b Remake the summary page (#301)
Co-authored-by: Luyu Cheng <luyu.cheng@connect.ust.hk>
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
Co-authored-by: Luyu Cheng <chengluyu@live.cn>
2023-02-06 21:22:20 +08:00
Mahoo Huang
e550b8588a feat: 添加循环模式按钮 (#208) 2022-04-14 14:02:09 +08:00
AEPKILL
c5528e49ad feat: add sound play animation (#125)
* feat: add sound animation

* fix: press any key will be start

* fix: play multiple word sound

* fix: should only add howl listener

* fix: can trigger overlapping sounds manually

* fix: blocked attempt to create a WebMediaPlayer

- [Intervention] Blocked attempt to create a WebMediaPlayer as there are too many WebMediaPlayers already in existence.
- See crbug.com/1144736#c27

* revert: revert word sound setting

* refactor: give up using "useImperativeHandle"

* feat: add word pronunciation hot key tips

* feat: modify the hover content

Co-authored-by: zhangkaiyi004 <zhangkaiyi004@ke.com>
2021-08-04 11:28:05 +08:00
Luyu Cheng
3633476fdb fix: set environment variables with cross-env (#107) 2021-03-22 16:05:56 +08:00
Hollow Man
3b9f18cf3c test: 增加 ESLint 测试 (#93) 2021-03-05 14:00:13 +08:00
KaiyiWing
8a433f5cb3 fix(Header): 修改 package.json 对 endOfLine 的处理,增加 Header Padding避免出现滚动条 2021-02-10 13:57:35 +08:00
Luyu Cheng
b87cf90473 feat(pages): add a page for viewing and selecting dictionaries
* New deps: `swr` and `react-router-dom`
* New page "Gallery"
* New script (`update-dict-size.js`) for calculate dictionary size
2021-02-09 18:12:06 +08:00
KaiyiWing
b837054c1a chore(travis): 修改 package.json 测试 travis 部署问题 2021-02-08 18:29:36 +08:00
KaiyiWing
e9e841dcbc chore(config): 更新 package.json homepage 2021-02-08 17:11:17 +08:00
KaiyiWing
1e2732648b chore(config): 修改 package.json 设置 homepage 2021-02-08 17:07:04 +08:00
KaiyiWing
3a61d0cdb0 fix(lint): remove unused var and libray 2021-02-07 19:41:35 +08:00
KaiyiWing
c747594b74 fix(Word): 移除 replaceAll 方法 2021-02-07 16:12:01 +08:00
KaiyiWing
2e56f62572 refactor(Typing Page): 抽离出 wordList 管理hook 2021-02-05 18:26:36 +08:00
eb
fbcd4f30ce feat(js api):添加js的一些api 2021-02-01 21:02:13 +08:00
KaiyiWing
623e812e19 fix(polyfill): add polyfill 2021-02-01 17:24:36 +08:00
KaiyiWing
ecd40216dc feat(Info): add github info and email 2021-02-01 16:04:54 +08:00
Luyu Cheng
5577fc1264 feat(sound): add click, hint and beep sounds while typing 2021-02-01 02:23:53 +08:00
KaiyiWing
5f70692016 feat(Cookies): 使用 cookies 存储用户选择的字典和章节信息 2021-01-31 22:35:20 +08:00
KaiyiWing
88b436e6e0 chore(package.json): 关闭 vercel 将 warning 视作 error 的功能 2021-01-31 14:42:45 +08:00
KaiyiWing
806de8fe49 feat(Chapter): 完善章节切换功能,用户完成一章节后,可选择进一步的操作 2021-01-31 14:30:36 +08:00
KaiyiWing
e29718b32a feat(Chapter): 添加章节切换功能 2021-01-30 15:31:36 +08:00
KaiyiWing
042c029fa0 feat(Header): Header Component added 2021-01-29 16:56:50 +08:00
KaiyiWing
e29ab7a554 chore(deps): add tailwindCSS and carco 2021-01-23 20:55:35 +08:00
KaiyiWing
720c3f6945 refactor(all): 重构代码到 ts,切换脚手架到 CRA,修改 eslint 等配置 2021-01-23 20:07:34 +08:00