Column headings say NEW and WHEN, not UNREAD and TIME
The chat picker's unread count is headed NEW and its last-message age WHEN; the channel list's unread count is NEW; the live feed's timestamp lane is WHEN. Short words over a badge and an age, which UNREAD outgrew by a cell and had to borrow the gap for. The command line's columns keep their names: they are a documented contract of their own. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
6ff39fba89
commit
17f57b1bbc
7 files changed
+19
-16
No files matched your search
@@ -540,7 +540,7 @@ def _lanes_header(slot_w: int, name_w: int, scope_w: int, width: int) -> str:
|
||||
Lane("SLOT", slot_w + 2 + cell_len(channel_glyph("Public", None)) + 1),
|
||||
Lane("CHANNEL", name_w + 2),
|
||||
*([Lane("SCOPE", scope_w + 2)] if scope_w else []),
|
||||
Lane("UNREAD", _BADGE_WIDTH + 2),
|
||||
Lane("NEW", _BADGE_WIDTH + 2),
|
||||
# Right-aligned, because the values under them are: an age and a count are
|
||||
# padded to the right edge of their lane, so a left-aligned label would sit
|
||||
# off the digits it names.
|
||||
|
||||
@@ -588,7 +588,7 @@ class LiveFeedScreen(Screen):
|
||||
|
||||
Laid out lane for lane against :meth:`_feed_row`, the pointer column included, so
|
||||
every label sits over the values it names. Nothing here sorts — the feed is a
|
||||
stream, and its one order (newest first) is what the ``TIME`` lane reads down — so
|
||||
stream, and its one order (newest first) is what the ``WHEN`` lane reads down — so
|
||||
no column carries the contact list's sort triangle or its lit active-column style;
|
||||
these are signposts, not controls. On a terminal too narrow for the class label
|
||||
the header drops its ``CLASS`` too, leaving the icon lane unlabelled rather than
|
||||
@@ -600,7 +600,7 @@ class LiveFeedScreen(Screen):
|
||||
down the whole column.
|
||||
"""
|
||||
header = Text(" ", style="muted") # the pointer lane
|
||||
header.append(fit_cells("TIME", _TIME_LANE))
|
||||
header.append(fit_cells("WHEN", _TIME_LANE))
|
||||
header.append(fit_cells("CLASS", _ICON_LANE + _FEED_CLASS_WIDTH + _LANE_GAP))
|
||||
header.append(fit_cells("SUBJECT", lanes.subject + _LANE_GAP))
|
||||
header.append(fit_cells("SCOPE", _SCOPE_LANE))
|
||||
|
||||
@@ -364,7 +364,7 @@ class Lane:
|
||||
terminal. Only a lane the line actually overruns is ever shortened.
|
||||
width: Cells the label is padded to — the lane's own width *plus* the gap before
|
||||
the next lane, so a label wider than its column absorbs that gap instead of
|
||||
shifting every lane after it right (``UNREAD`` over a narrower badge lane).
|
||||
shifting every lane after it right (``WHEN`` over the chat picker's 3-cell ages).
|
||||
Zero (the default) for a trailing lane, which just runs to the edge.
|
||||
"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user