Repository navigation
fix(calendar): 重做日历界面并修复周月切换 - #326
Merged
freedomkk-qfeng merged 13 commits intoNov 16, 2026
Merged
Conversation
展示公示的考试和假期区间,同时保留按整周归类的教学周查询。
整合月历、周历与学年总览,保留视图间的日期并统一弹窗及操作入口。日历作为插件装配,配色跟随宿主。
在详情底部用确认操作替换普通操作,避免同时显示两个删除入口。拖选生成个人日程,预览复用个人日程配色并覆盖按下态的底色混合。
详情去掉页脚的关闭按钮后,浏览器测试仍需通过宿主标题栏的关闭入口继续操作。
在同一个宿主弹窗内切换详情、改期、写笔记和删除确认。编辑态只保留当前表单与保存、取消,避免同时出现整条日程的编辑和删除入口。
取消日程编辑与个人设置的嵌套卡片,将出现时间放进独立侧栏,窄面板按阅读顺序堆叠。
复用现有备注数据,保存旧日程时先保全两份内容。保留只读来源说明,个人备注须显式选择才进入 ICS。
日程弹窗使用简化的工具区和主要操作,整页编辑把表单、出现时间和个人设置分成独立分区。切换分区不重建表单,保留未保存的草稿。
使用宿主色处理操作按钮与选中日期,使用中性色标记假期。保留后台更新期间的编辑内容,并覆盖窄屏键盘及课程颜色路径。
Zewang0217
marked this pull request as ready for review
November 16, 2026 04:52
Contributor
Author
|
@freedomkk-qfeng 老师,#325 的日历界面已重构,想请您看看月历和日程侧栏的使用体验。 界面参考了「拾光课程表」的周网格和课程配色,以及「嘎嘎课程表」的当日安排时间线和课程详情布局。 拾光课程表 · 嘎嘎课程表 UI 底座使用开源前端库 FullCalendar 7.1.5,负责月历和周历网格、重叠日程排布及拖选。校历阶段、课程配色、日程侧栏和宿主主题适配由 EduWork 日历插件实现。正文里附了两张 Windows Electron 装配截图。 FullCalendar |
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #325
在本地 Windows Electron 整包(EduWork
0.4.6-dev.20261019.1,DSH0.2.1-rc.2)装配验证,另在 Web 装配切换红蓝深浅主题。日历包 227 项测试、40 项真实浏览器验收通过。以下为示例数据。