Skip to content

Today View 布局排版的更改#18

Open
HarryWu0423 wants to merge 1 commit intoComputerization:mainfrom
HarryWu0423:feature/lunch-divider-unified
Open

Today View 布局排版的更改#18
HarryWu0423 wants to merge 1 commit intoComputerization:mainfrom
HarryWu0423:feature/lunch-divider-unified

Conversation

@HarryWu0423
Copy link
Copy Markdown

  • 更改了Today View中的Schedule box,使其可以折叠
  • 更改了All Done for Today卡片的高度,使得页面最下方的四个框可见
  • Schedule box里添加了午餐分割线,自习课去除圆点,以与正课进行区分

@at-wr
Copy link
Copy Markdown
Member

at-wr commented Apr 18, 2026

I think the compact 5-class view is acceptable, but the current implementation always shows the first 5 periods via prefix(5). On 9-period days that means afternoon users still see the morning schedule by default, which hides the relevant part of the day.

I’d keep the compact mode, but make the default slice context-aware and stable rather than continuously sliding, e.g. earlier in the day show 1...5, later in the day show 5...9, and in general make sure the current / next class stays visible by default. The main concern here is not the collapse itself, it’s that the initial 5-period subset is currently anchored to the top of the schedule instead of the user’s actual context.

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.

3 participants