Repository navigation
[ZEPPELIN-6778] Keep Send visible and preserve focus in the Assistant composer - #5620
Merged
voidmatcha merged 1 commit intoNov 28, 2026
Conversation
- Let the textarea scroll within the available sidebar height. - Restore focus only on deliberate submission, with no focus change on stream events. - Cover keyboard submission, real browser bounds, and focus across a controlled stream.
jongyoul
approved these changes
Nov 25, 2026
voidmatcha
approved these changes
Nov 28, 2026
Member
|
Merged into master (258d27b). |
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.
What is this PR for?
On short viewports, a multiline question can push Send outside the visible Assistant sidebar. The textarea now scrolls within the available space so Send stays visible and keyboard-accessible.
Submitting with Send or Enter returns focus to the question input. If the user moves focus back to the notebook, streaming updates and answer completion leave it there. The input remains read-only while a response is in progress, as before.
What type of PR is it?
Improvement
What is the Jira issue?
How should this be tested?
With Zeppelin running, set
PLAYWRIGHT_BASE_URLto the server address. Fromzeppelin-web-angular, run:npm run e2e -- e2e/tests/notebook/assistant/assistant-conversation.spec.ts --project=chromium -g 'keeps Send reachable on a short viewport'The scenario uses a controlled Assistant stream. It checks that the textarea scrolls and Send stays fully inside the sidebar and reachable by Tab, that both submission paths return focus to the input, and that streaming and completion do not steal focus from the notebook.
Questions: