Skip to content

ADFA-6767 | Put prompt actions beside the bubble and add a full-screen chat - #154

Merged
Daniel-ADFA merged 3 commits into
mainfrom
feat/ADFA-6767-chat-screen-space
Nov 22, 2026
Merged

Daniel-ADFA merged 3 commits into
mainfrom
feat/ADFA-6767-chat-screen-space

Conversation

@Daniel-ADFA

@Daniel-ADFA Daniel-ADFA commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

ADFA-6767

  • A prompt's copy and edit buttons sit beside its bubble, level with its last line, and fall back to under it only when they don't fit.
  • A new header button opens the same chat full screen through IdeUIService.openPluginScreen; there it closes it again.

Checked on an emulator at font scale 1.0 and 2.0.

A run sets the agent Idle and clears its generating flag a moment
later, on another thread. The tests waited for Idle alone, so the
next send, edit or version switch could still be refused as busy and
the test failed intermittently. They now also wait for
canChangePrompts, which turns true only once that flag is clear.
…reen chat

Each ChatFragment kept its own attached files, draft and edit state,
so the bottom-sheet chat and the full-screen one drifted apart: chips
for files no longer sent, a draft lost when full screen closed, and an
edit that full screen showed as plain chips.

ChatViewModel now owns the attached files, the composer draft and the
edit in progress as StateFlows, and both fragments render them. An
edit is still restored from saved state after a killed process, but
only when the ViewModel is new. A double tap on the full-screen button
opens one screen.
@Daniel-ADFA
Daniel-ADFA merged commit 2cb452e into main Nov 22, 2026
@Daniel-ADFA
Daniel-ADFA deleted the feat/ADFA-6767-chat-screen-space branch November 22, 2026 18:45
davidschachterADFA added a commit that referenced this pull request Nov 24, 2026
…and a rebuilt plugin-api.jar

Brings in main at 16ece3e: ADFA-7213 (#169), ADFA-7214 (#170),
CLAUDE.md versioning (#171), ADFA-7231 (#172), ADFA-6767 (#154),
ADFA-7068 (#161), ADFA-7147 (#167), ADFA-7186 (#168), and the libs update
from CodeOnTheGo@21b649d364f6.

One conflict, libs/plugin-api.jar, the only file both sides changed.
main's jar is built from CodeOnTheGo 21b649d36 (ADFA-3570, #2242:
ProjectLifecycleListener and FileSaveListener); this branch's was built
from sqlite-debugger/ADFA-7139 at 8e7473b76 (DebuggerEndpointService).
Resolved by rebuilding the jar with :plugin-api:createPluginApiJar, as
scripts/update-libs.sh does, from CodeOnTheGo 47512a2b6, the head of
sqlite-debugger/ADFA-7139 (#2261), which contains 21b649d36. plugin-api
is unchanged between 21b649d36 and stage at 759474fb7.

Checked with javap -p over every class: against main's jar the new one
only adds (DebuggerEndpoint, DebuggerEndpointService, the
DEBUGGER_ENDPOINTS permission); against this branch's old jar it only
adds (the two ADFA-3570 listeners and their add/remove methods), except
that getEndpoints() now declares throws InterruptedException
(CodeOnTheGo 4f1230a3e, after 8e7473b76). Kotlin compiles the call the
same either way, and AutomaticServers.readEndpoints already catches it
as a failed read. libs/gradle-plugin.jar is main's; this branch never
changed it.

This PR's own diff is unchanged apart from the jar. AI-Agent-MCP
already bumps its version (2.0.0, versionCode 3), as #171's rule asks.

Tests: AI-Agent-MCP testDebugUnitTest 350, 0 failures (350 at 744da89),
assemblePlugin and the addons check, after a clean build. Its 9 Kotlin
warnings are in its own code, which this merge does not change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vh2DAYT7GPoC2cDzo8LErn
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.

2 participants