Skip to content

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

Open
Daniel-ADFA wants to merge 3 commits into
mainfrom
feat/ADFA-6767-chat-screen-space
Open

Daniel-ADFA wants to merge 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.
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