1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-05-13 19:35:07 +00:00

5 Commits

Author SHA1 Message Date
孙悟元
3cfd47a011 fix: update MAX_IMAGE_SIZE_MB to 10 for background image settings 2026-04-11 14:05:20 +00:00
孙悟元
91ef84d871 fix: update URL presets for background images 2026-04-11 14:05:00 +00:00
copilot-swe-agent[bot]
1f33d6d637
fix: use MAX_IMAGE_SIZE_MB constant consistently in template and error messages
Agent-Logs-Url: https://github.com/ZeroCatDev/Classworks/sessions/6dfae4c0-df49-4612-88b8-9e31287538b0

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2026-04-11 13:58:41 +00:00
copilot-swe-agent[bot]
c4279acdae
fix: address code review feedback for background feature
- Use SETTINGS_CHANGED_EVENT constant to prevent typos
- Enforce 2MB image size limit (block upload instead of warn)
- Fix resetAll to force re-render SettingItem for enabled toggle
- Optimize watchSettings callback to only reload on relevant key changes

Agent-Logs-Url: https://github.com/ZeroCatDev/Classworks/sessions/6dfae4c0-df49-4612-88b8-9e31287538b0

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2026-04-11 13:56:41 +00:00
copilot-swe-agent[bot]
3f6e0b88bd
feat: add custom background image with frosted glass effect
- Add background settings (enabled, url, imageData, blur, opacity) to settings.js
- Add watchSettings same-tab reactivity via custom DOM event dispatch
- Create BackgroundSettingsCard.vue with URL input, file upload, sliders, preview
- Apply background layer in App.vue with blur filter and dark overlay
- Add background settings tab to settings.vue navigation

Agent-Logs-Url: https://github.com/ZeroCatDev/Classworks/sessions/6dfae4c0-df49-4612-88b8-9e31287538b0

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2026-04-11 13:53:32 +00:00