Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加进度选项的自定义功能 #51

Merged
merged 8 commits into from
Mar 6, 2025
Merged

Conversation

Autumnal-Joy
Copy link
Collaborator

refactor:

  1. 增加站点设置组件,将同步题目进度组件迁移至设置组件内部
  2. ProblemCatetory.tsx拆分到多个文件
  3. 用useSyncExternalStore重写useStorage,实现同标签页、不同标签页组件都能根据key共享相同state

feature:

  1. 新增自定义选项的功能,支持实时预览效果 建议进度增加“有思路需优化” #23

image

fix:

  1. 修复进度下拉选项颜色显示错误
  2. 修复Form.Control在Link内部导致颜色选择器无法正常显示的问题

@huxulm
Copy link
Owner

huxulm commented Mar 6, 2025

感谢你的关注和付出,挺不错的改进。我早期按灵神提供的建议做了这个周赛训练的网页工具,为了图简单就用 react-bootstrap 来开发,这个框架比较成熟,缺点是样式系统非常不灵活。这也是我年前在 #34 讨论提到的,想用 tailwindcss 来重新布局优化一下这个项目。如果有兴趣可以看一下,或者更进一步的来推动这个事情。

参考:

@huxulm huxulm merged commit 69c3e02 into huxulm:main Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants