Skip to content

fix(schedule): polish the hub, grid, detail card, and term density - #79

Merged
m1ngsama merged 1 commit into
mainfrom
fix/schedule-polish
Sep 26, 2026
Merged

m1ngsama merged 1 commit into
mainfrom
fix/schedule-polish

Conversation

@m1ngsama

Copy link
Copy Markdown
Member

Between 80 and 119 columns the Schedule hub fell back to a one-day strip over empty rows, exporting collapsed it, and term density was a wall of blocks.

  • Below 120 columns the hub shows the week agenda when it fits, trimming blank lines and then today's timeline before falling back to the one-day strip. At 101–119 columns the grid spreads spare width evenly with a fixed gap after the time column.
  • Exporting keeps the hub and adds one status line, "已保存:", with a middle ellipsis for long paths.
  • Term density is a bar chart scaled to the busiest week, with week numbers, month labels, the current week highlighted and a summary such as "共 17 周 · 每周 19 节 · 本周 19 节".
  • The class detail card reads "周一 08:00–09:40", and times use one dash everywhere. Timeline status and location columns line up on Home and Schedule.
  • The next-class banner uses ● instead of the → cursor, so it no longer looks selected. [w] is hidden while the hub already shows the full grid, and the footer labels Esc.

- Keep the hub layout after [e]; show "Saved: <path>" on one line with a
  middle ellipsis instead of a wrapped "Success:" block.
- Show the week agenda below 120 columns when it fits, and only use the
  grid when names fit unclipped or the frame cannot grow further.
- Spread spare grid width evenly across days, keep a three-column gutter
  after the time column, and stay inside the frame rule.
- Name the weekday in the class detail ("周一"/"Mon") and use one range
  dash for times and week spans.
- Replace the term density strip with a bar chart scaled to the busiest
  week, with week numbers, months, this week, and a one-line summary.
- Align the status and location columns in the day timelines.
- Label Esc in the schedule footer when it fits.
- Hide [w] while the hub already shows the whole week grid.
- Mark the next-class banner with a dot instead of the selection arrow.
@m1ngsama
m1ngsama merged commit 252453a into main Sep 26, 2026
4 checks passed
@m1ngsama
m1ngsama deleted the fix/schedule-polish branch September 26, 2026 15:39
@m1ngsama m1ngsama mentioned this pull request Sep 26, 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