Skip to content

fix(a2ui_flutter): adopt a2ui_core's renderer renames - #3223

Merged
nan-yu merged 2 commits into
mainfrom
fix/flutter-adapter-core-renames
Oct 14, 2026
Merged

nan-yu merged 2 commits into
mainfrom
fix/flutter-adapter-core-renames

Conversation

@andrewkolos

@andrewkolos andrewkolos commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Description

#3194 renamed several a2ui_core APIs after #3084's last CI run, so--after I merged #3084--a2ui_flutter's tests no longer compile on main. This PR updates the adapter's tests and README sample to the new names:

  • A2uiClientAction and A2uiClientError to A2uiRendererAction and A2uiRendererError
  • MessageProcessor.groupModel to MessageProcessor.model
  • getClientDataModel to getRendererDataModel
  • EventSource.addListener and removeListener to subscribe and Subscription.unsubscribe

Pre-launch Checklist

One time:

For this PR:

  • I have updated the relevant CHANGELOG.md file.
  • I updated/added relevant documentation.
  • My code changes (if any) have tests.
  • If my branch is on a fork, I have verified that scripts/e2e_test.sh passes.

If you need help, consider asking for advice on the discussion board.

#3194 renamed A2uiClientAction and A2uiClientError to A2uiRendererAction
and A2uiRendererError, MessageProcessor.groupModel to model and
getClientDataModel to getRendererDataModel, and replaced
EventSource.addListener with subscribe. The adapter's tests and README
still used the old names, so the package's tests no longer compiled on
main.

⚠️ Agent-generated

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the a2ui_flutter package to align with API changes, renaming groupModel to model, updating client-related types to renderer-related types, and migrating event listeners from addListener/removeListener to a subscription-based model (subscribe/unsubscribe). A review comment points out that the syntax ?processor.getRendererDataModel() in the README is invalid Dart syntax and suggests using a collection if instead.

Comment thread dart/a2ui_flutter/README.md Resolved
#3205 standardized LICENSE files on http://www.apache.org/licenses/ and
made the license check enforce it. a2ui_flutter's LICENSE, added in
#3084, used https, so the static-checks job fails on main.

⚠️ Agent-generated
@andrewkolos
andrewkolos marked this pull request as ready for review October 14, 2026 22:38
@nan-yu

nan-yu commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Merge this PR now to address the license check failure.

@nan-yu
nan-yu merged commit 63cc377 into main Oct 14, 2026
38 checks passed
@nan-yu
nan-yu deleted the fix/flutter-adapter-core-renames branch October 14, 2026 23:04
@github-project-automation github-project-automation Bot moved this from Todo to Done in A2UI Oct 14, 2026
andrewkolos added a commit that referenced this pull request Oct 15, 2026
…r-basic-catalog

Brings in #3223 (the merged renames and LICENSE fix) and #3192
(a2ui_core 0.3.0). The README conflict is the basic catalog's Material
note next to lines #3223 left unchanged. Keep the note.

⚠️ Agent-generated
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