Repository navigation
feat(tui): mute secondary data and color the week overview - #118
Merged
Merged
Conversation
This was referenced Nov 19, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Secondary text rendered at full strength, so finished classes, rooms, empty cells, and separators all competed with what students look for. #92 removed
chalk.dimfromtype.hintso status and navigation text follow the terminal foreground; that decision stays. As a side effect, the dimming that #113 added for finished classes never reached the terminal.A new
type.mutedtier now marks data that is present but not current. It is a fixed#7c8594gray on truecolor terminals and ANSI bright black elsewhere. SGR dim is avoided because some palettes render it nearly invisible. It applies to:Home's week overview showed classes and events in the same gray
▓▓. When a day had both, the two cells joined into one bar. Classes are now brand blue and events green, free days are muted, and the legend names both. A lower block,▆▆, leaves a gap between the two rows, and the legend wraps rather than switching narrow terminals to the vertical layout.weekAheadBusy("有安排") had no remaining use, so it is removed.NO_COLORand--plainoutput is unchanged:nbtca events --month --plaincontains no escape codes.Validation:
npm run checkpasses, and the full test suite also passes withTZ=America/Los_Angeles. New tests pin the muted color at each color level and check that a finished class is muted while a later one is not. I compared Home and the Schedule hub before and after with the cached timetable at 100×34.