Skip to content

Prepare reel_text 0.4.2 reliability fixes - #29

Merged
KickNext merged 4 commits into
mainfrom
codex/reel-text-improvements
Jul 20, 2026
Merged

Prepare reel_text 0.4.2 reliability fixes#29
KickNext merged 4 commits into
mainfrom
codex/reel-text-improvements

Conversation

@KickNext

@KickNext KickNext commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • release the controller and measurement reliability fixes as reel_text 0.4.2
  • dispose temporary TextPainter instances on success and failure paths
  • discard pending transitions when switching ReelTextController instances
  • validate animation durations, timer intervals, and bounce values before mutating controller state
  • include the merged example dependency update from Bump google_fonts from 8.1.0 to 8.2.0 in /example in the example-dependencies group #30 (google_fonts 8.2.0)
  • add regression coverage and release notes

Why

The measurement path retained its temporary TextPainter, controller replacement could leave a target queued by the previous controller, and invalid timing values were accepted until lower-level Flutter APIs failed. These changes make those ownership and transition boundaries explicit while preserving the current public API.

Impact

Invalid timing input now fails consistently with ArgumentError at the API consumption boundary. Valid animations and the visual rendering model are unchanged.

Release

Validation

  • dart format --output=none --set-exit-if-changed lib test
  • flutter analyze
  • flutter test — 101 tests
  • flutter test --platform chrome — 101 tests
  • cd example && flutter analyze
  • cd example && flutter test — 28 tests
  • git diff --check
  • dart pub publish --dry-run — 0 warnings
  • flutter build macos --debug
  • launched the fresh macOS example and visually checked Home, Editor, and PERF; exercised the Editor transition from Ready to Invite copied in active and settled states

@KickNext KickNext changed the title Improve ReelText reliability Prepare reel_text 0.4.2 reliability fixes Jul 20, 2026
@KickNext
KickNext marked this pull request as ready for review July 20, 2026 09:41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 183c6e9828

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/src/reel_text_controller.dart
@KickNext

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 53ac6528d0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@KickNext
KickNext merged commit 265a502 into main Jul 20, 2026
1 check passed
@KickNext
KickNext deleted the codex/reel-text-improvements branch July 20, 2026 10:10
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