Skip to content

Refactor chat scroll coordination#1994

Merged
crossle merged 7 commits into
mainfrom
refactor/performance-optimization
Jun 17, 2026
Merged

Refactor chat scroll coordination#1994
crossle merged 7 commits into
mainfrom
refactor/performance-optimization

Conversation

@YeungKC

@YeungKC YeungKC commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Move chat scroll ownership out of MessageBloc into a dedicated coordinator that handles restore, loaded-window jumps, visible date tracking, and edge preloading.
  • Route quote, pinned message, shared media, selected conversation, and latest-message jumps through the same chat jump helpers.
  • Add paging guards for duplicate load-more requests and update the clamping viewport behavior around center changes.
  • Keep macOS Profile builds on arm64 because ogg_opus_player includes an arm64-only macOS static library.

Validation

  • Ran targeted Flutter analysis for the changed Dart files.
  • Ran targeted chat scroll, chat jump, paging, and clamping viewport tests.
  • Built the macOS Profile app successfully.
  • Ran diff whitespace checks.

@crossle crossle requested a review from boyan01 June 17, 2026 05:44
@crossle crossle merged commit 43ed10e into main Jun 17, 2026
3 checks passed
@crossle crossle deleted the refactor/performance-optimization branch June 17, 2026 07:35
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.

3 participants