Skip to content

feat(tui): date the week, show class ranges, and list untimed courses - #113

Merged
m1ngsama merged 1 commit into
mainfrom
feat/today-week
Nov 18, 2026
Merged

m1ngsama merged 1 commit into
mainfrom
feat/today-week

Conversation

@m1ngsama

@m1ngsama m1ngsama commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

The week list did not say which date each day was, showed only start times, and looked the same for finished and upcoming classes. Courses without a fixed time, such as a fitness test, never appeared anywhere in the client.

本周
  一 11/16   09:50–12:15 货币金融学(双语)          SB204
  二 11/17   09:50–12:15 Excel在财务管理中的应用   sl203
             13:30–15:05 财务分析                  SC210
→ 三 11/18•  08:00–09:35 资产评估                  SF106
             13:30–16:05 中级财务会计Ⅱ             SB206
  • Each day in the week list carries its date, and each class its full time range. A narrow list falls back to start times.
  • Classes that have ended, earlier in the week or earlier today, are dimmed.
  • In the weeks it applies to, an untimed course appears under the week as "◇ 大学生体能测试Ⅰ · 时间待定".
  • The today timeline on Home and the Schedule hub shows the room for every class, not only the one in progress, and puts the status after the room so rooms line up. Narrow terminals still drop the room before anything else.

Validation: npm run check passes, and the full test suite also passes with TZ=America/Los_Angeles. I checked the hub and Home with the cached timetable in a pseudoterminal at 100×34 and 80×24.

@m1ngsama
m1ngsama changed the base branch from feat/class-detail to main November 18, 2026 06:26
@m1ngsama m1ngsama closed this Nov 18, 2026
@m1ngsama m1ngsama reopened this Nov 18, 2026
@m1ngsama
m1ngsama merged commit 2faf485 into main Nov 18, 2026
4 checks passed
@m1ngsama
m1ngsama deleted the feat/today-week branch November 18, 2026 06:31
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.

1 participant