Skip to content

feat: save theme configuration objects on demand#5

Merged
lixl39505 merged 7 commits intomasterfrom
fix-ux
Jun 12, 2025
Merged

feat: save theme configuration objects on demand#5
lixl39505 merged 7 commits intomasterfrom
fix-ux

Conversation

@lixl39505
Copy link

@lixl39505 lixl39505 commented Jun 12, 2025

关联 Issue

主要改动

  1. 改进了:主题数据进行差异化按需保存
  2. 改进了:重置主题直接保存
  3. 调整了:移除了 redux-persist(复杂且有 Bug)

界面截图

  • 不改变任何默认值
image
  • 修改 Primary 和 Background
image
  • 修改 Typography
image
  • Server 测试 Blocklet.js

image

reset 之后

image

完全移除 theme(目前会保留 palette 和 typography)

image

测试计划

  • 主题编辑/保存/预览,功能正常

检查清单

  • 本次变更新增了文件需要被包含在 npm 包的文件,且对应 package.json 的 files 字段包括了这些新增的文件
  • 本次变更需要更新文档,并且我更新了相关文档,如果还没更新文档,请新建文档更新的 Issue 并关联上来
  • 本次变更的兼容性测试覆盖了 Chrome
  • 本次变更的兼容性测试覆盖了 Safari
  • 本次变更的兼容性测试覆盖了 PC 端
  • 本次变更的兼容性测试覆盖了移动端【手机浏览器、钱包内置浏览器】

@lixl39505 lixl39505 merged commit d51d0af into master Jun 12, 2025
4 checks passed
@lixl39505 lixl39505 deleted the fix-ux branch June 12, 2025 07:33
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