feat(schedule): simplify calendar home and detail chrome - #304
Merged
Conversation
Keep the selected date beside account controls, connect occurrence cards with a timeline rail, and drop type badges from the agenda and detail sheets.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Extend the timeline through row gaps and give occurrence cards a fixed height so wrapping titles do not change the list rhythm.
Keep the simplified calendar chrome from this PR, and show schedule category as copy instead of restoring type badges.
Merging main made ScheduleOccurrenceView.category required, so the calendar screen factory no longer typechecked.
Category belongs in the detail sheet as copy, not next to the list location.
LUPENGHAN
approved these changes
Aug 20, 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.
Summary
未包含 mock 预览数据、mock 语音助手、登录预填等非 UI 改动。
Closes #308
Test plan
Verification
cd frontend npx jest --runInBand tests/unit/features/schedule/presentation/ScheduleCalendarScreen.test.tsx tests/unit/features/schedule/presentation/ScheduleRows.test.tsx tests/unit/features/schedule/presentation/ScheduleDetailSheet.test.tsx tests/unit/features/schedule/presentation/scheduleDisplay.test.ts本地结果:
Test Suites: 4 passed,Tests: 31 passed。覆盖要点:
height: 88;无分类设计对照
截图由作者提供,不进源码树,只作为 Review 附件:
日历主页(今天有日程)
改前(「我的日程」+「当日安排 / 日程」):
改后(日期与账号同一行,「今日安排」,左侧轴线):
时段列表 + 地点提醒
改前(「至」、位置触发、「位置日程」标签):
改后(时间轴 + 等高卡片,仅「地点提醒」):
过去日期空状态
改前(「这一天暂时没有日程」+ 添加提示):
改后(「8月19日的安排」+「这一天是属于你的」):
日程详情
改前(「时间日程 / 一次性 / 全天」badges):
改后(去掉类型 badges,时间卡片里仍保留「全天」):
列表不再展示分类、详情分类为文案:对比图待用户提供。