Skip to content

Keep session controls on the selected card and reduce callback latency - #414

Merged
Time4Mind merged 1 commit into
mainfrom
fix/switch-final-responsiveness
Nov 26, 2026
Merged

Time4Mind merged 1 commit into
mainfrom
fix/switch-final-responsiveness

Conversation

@Time4Mind

Copy link
Copy Markdown
Owner

Fixes two problems seen when a final answer arrives during session navigation.

  • Keep the live keyboard on the selected session when a previous send, paint or keyboard cleanup finishes late.
  • Acknowledge the switch while the previous Telegram edit is still pending.
  • Store the answer pages and request needed for delivery receipts. Compact existing snapshots on load and preserve their delivery status and pagination.

The full local suite passed with 2,519 tests and two skips. Regression tests exercise delayed sends and keyboard edits as well as recovery of existing snapshots. On a copy of the production queue all 83 answer identities and delivery statuses survived compaction. A checkpoint dropped from 1.8 seconds to about 2–3 milliseconds.

@Time4Mind
Time4Mind merged commit 0d4409c into main Nov 26, 2026
4 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.

1 participant