Skip to content

feat(tui): report omitted events, show the next event, inspect heatmap days - #97

Merged
m1ngsama merged 2 commits into
mainfrom
feat/home-and-heatmap-details
Oct 28, 2026
Merged

m1ngsama merged 2 commits into
mainfrom
feat/home-and-heatmap-details

Conversation

@m1ngsama

@m1ngsama m1ngsama commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Four rough edges found while testing Prompt in a real pseudoterminal. This branch builds on #92; the base is feat/ascii-art-tui and should move to main once #92 merges.

Closes #93, closes #94, closes #95, closes #96.

  • Home says how many events are not shown ("还有 3 项"). When a single wrapped event does not fit the remaining rows, it stays reachable by scrolling instead of disappearing, as it did at 24×10.
  • Without a timetable, Home shows the next event and its countdown when the first event still fits below it.
  • In the one-year heatmap, ↑↓ moves one day, ←→ one week, and the selected day's date, event count, and events appear below the grid. ⏎ opens that day as a list. When the Events tab already draws the heatmap, the browse menu offers "逐日查看活跃度".
  • ASCII terminals show an ASCII emblem with the same ring, eyes, and arc as the Braille badge. The emblem is 26 columns by 11 rows; when it and the tagline do not fit, the three-line wordmark is used as before.

Validation: npm run check (1,084 tests, package check, audit with zero vulnerabilities). Checked in a real pseudoterminal at 24×10, 30×12, and 80×24, and with LANG=C. No new dependencies.

@m1ngsama
m1ngsama force-pushed the feat/home-and-heatmap-details branch from aaf9e35 to 57947d6 Compare October 28, 2026 11:42
@m1ngsama
m1ngsama merged commit 12acc8c into main Oct 28, 2026
4 checks passed
@m1ngsama m1ngsama mentioned this pull request Oct 28, 2026
@m1ngsama
m1ngsama deleted the feat/home-and-heatmap-details branch October 28, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant