Repository navigation
[ZEPPELIN-6775] Show the Assistant conversation list's empty state only after a successful load - #5621
Merged
voidmatcha merged 3 commits intoNov 26, 2026
Conversation
Member
|
@miinhho Could you rebase this PR? |
- Require a successful list response before showing empty or no-match messages. - Cover delayed loading, locally created rows, and retry recovery.
- Replace the empty-state display switch with the list query contract. - Keep loading, retry, and empty-result decisions inside ConversationList.
- Use listState and ConversationListState to distinguish the loaded data and request state from the search term.
miinhho
force-pushed
the
ZEPPELIN-6775-assistant-list-empty-state
branch
from
November 26, 2026 00:49
9537be8 to
169cded
Compare
voidmatcha
approved these changes
Nov 26, 2026
Member
|
Merged into master (2127bde). |
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?
The AI Assistant conversation list starts with no rows, so it can show No conversations yet. alongside the loading indicator or an error. Neither state tells the user whether the list is actually empty.
The panel model now supplies the list's data and load state.
ConversationListuses that state to render loading, errors, retry, and empty results. Empty and no-match messages wait for a successful response, but locally created conversations remain visible while the first request is pending.What type of PR is it?
Bug Fix
What is the Jira issue?
How should this be tested?
From
zeppelin-web-angular/projects/zeppelin-react, run:npm test -- ConversationList.spec.tsx AssistantConversationPanel.spec.tsx useAssistantPanel.spec.tsxWith the initial list response delayed, open the conversation list and verify that it shows loading without an empty message. If the first request fails, verify that the error and Retry appear and that the empty message stays hidden while retrying. A successful empty response should show No conversations yet.; a successful non-empty response should show the returned conversations.
Questions: