Skip to content

feat(chat): open date separators after a one-hour pause - #1867

Merged
bmc08gt merged 1 commit into
code/cashfrom
feat/chat-hourly-separators
Oct 28, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
feat/chat-hourly-separators

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Transcript date separators now open after a one-hour pause instead of three hours, so a morning and an afternoon exchange on the same day no longer read as one run. iOS makes the same change in code-payments/code-ios-app#1145.

  • SeparatorConfig.Continuous defaults to 1.hours. This is the config ChatViewModel uses for the transcript.
  • TimeGap stays at three hours. Its only use is the animated preview in ConversationPreview.kt.
  • New SeparatorConfigTest: a 90-minute pause separates; 30 minutes and exactly one hour do not.

The transcript's SeparatorConfig.Continuous started a new separator only after
a three-hour pause, so a morning and an afternoon exchange on the same day read
as one run. Drop the gap to one hour. iOS gets the same change so both apps
split a transcript in the same places.
@bmc08gt bmc08gt self-assigned this Oct 28, 2026
@github-actions github-actions Bot added the type: feature New functionality label Oct 28, 2026
@bmc08gt
bmc08gt merged commit 8811019 into code/cash Oct 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant