Repository navigation
Android: the AI screen is a conversation about one widget - #90
Merged
Merged
Conversation
Generate with AI and Improve with AI now open a multi-turn conversation, as the Mac app's AI window does: the preview and its versions on top, the turns below, the request field above the keyboard. A change that does not run is repaired up to three times; one that never runs leaves the widget as it was. Versions can be stepped through, a conversation continues from the version on screen, and unsaved conversations are kept as drafts. - core: AiConversation, its file store and the turn handling, ported from the Swift sources, with the turn prompt and reply form. 20 JVM tests. - app: AiConversationScreen replaces the single request screen. An installed widget is changed only by Apply to widget, which asks before adding a host. Conversations live in the no-backup directory and are bound to a widget's installation id. - The New widget button has a name for screen readers. - -PdevSuffix=.dev installs a debug copy beside the Play Store app, and device-test.sh takes SUFFIX for it. - AiConversationUiTest drives the real screen with a scripted model. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
On Android, Generate with AI and Improve with AI open a multi-turn conversation like the Mac app's: describe a widget, see it, ask for a change, see it again.
Security and compatibility
Checks run
playandfossdebug builds.-PdevSuffix=.dev): app device suite 66 passed, including the two newAiConversationUiTesttests, which drive the real screen and runtime with a scripted model.Not run
release-readiness.sh(it does not cover Android).Not in this change
Streaming of the reply, three sizes side by side, and a place in the editor; noted in
docs/android/TODO.md.🤖 Generated with Claude Code