Skip to content

feat(tui): browse other weeks in the full timetable - #114

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

m1ngsama merged 1 commit into
mainfrom
feat/week-browse

Conversation

@m1ngsama

@m1ngsama m1ngsama commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

The client only ever showed the current week, so there was no way to check next week's classes or the week of an exam or fitness test.

In the full timetable (w):

  • ← on Monday turns to the previous week and → on Sunday to the next, stopping at week 1 and the term's last teaching week.
  • t returns to this week. The ? key list names it.
  • The title names the week and its dates, and says when it is adjacent: "下周 · 第 11 周 · 11/23–11/29", "第 16 周 · 12/28–1/3".
  • Weekday headers in the grid carry dates, as the week list already does in feat(tui): date the week, show class ranges, and list untimed courses #113.
  • Today's marker and highlight appear only in the week that contains today.
第 16 周  ·  12/28–1/3

→ 一 12/28  09:50–12:15 货币金融学(双语)          SB204
  ...
  五 1/1    ·
  ◇ 大学生体能测试Ⅰ  ·  时间待定

Validation: npm run check passes, and the full test suite also passes with TZ=America/Los_Angeles. In a pseudoterminal at 100×34, 40 presses of → from Wednesday of week 10 land on Monday of week 16, as expected.

@m1ngsama
m1ngsama changed the base branch from feat/today-week to main November 18, 2026 06:31
@m1ngsama m1ngsama closed this Nov 18, 2026
@m1ngsama m1ngsama reopened this Nov 18, 2026
@m1ngsama
m1ngsama merged commit 755772a into main Nov 18, 2026
4 checks passed
@m1ngsama
m1ngsama deleted the feat/week-browse branch November 18, 2026 06:35
@m1ngsama m1ngsama mentioned this pull request Nov 18, 2026
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