Skip to content

chat: no day stamp over blank space for a folded inter-bot run - #485

Merged
SiddDevZ merged 2 commits into
DuskBotAI:devfrom
colorlesspilgrimage:fix/mobile-blank-inter-bot-messages
Dec 3, 2026
Merged

SiddDevZ merged 2 commits into
DuskBotAI:devfrom
colorlesspilgrimage:fix/mobile-blank-inter-bot-messages

Conversation

@colorlesspilgrimage

Copy link
Copy Markdown
Contributor

Fixes #484.

A teammate's question to the bot, or the bot's own ask, draws no line and its exchange run starts folded with no chip to open it. The run's lead row still drew the day stamp and the unread divider, leaving a bare stamp over blank space on mobile.

A folded run that draws no line now returns nothing, via a small exchangeDrawsNothing helper in src/lib/peer-exchange.ts. The unread divider falls to the next visible row.

Verification:

  • src/lib/peer-exchange.test.ts and src/components/PeerExchangeLine.test.ts: 13 tests pass.
  • Not run: typecheck (ran out of memory in my environment), full suites, and a check on a device. The new test covers the helper, not the rendered list.

Known gap: the row after a hidden run measures its time gap from the hidden row, so a stamp can be skipped after a long quiet spell.

🤖 Generated with Claude Code

colorlesspilgrimage and others added 2 commits December 1, 2026 09:41
…day stamp and unread divider over blank space

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…r divider

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@SiddDevZ
SiddDevZ merged commit 38283f7 into DuskBotAI:dev Dec 3, 2026
17 of 21 checks passed
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.

2 participants