Skip to content

refactor: Remove placeholder loading text and caption usage hint from streaming components.#919

Open
nan-yu wants to merge 1 commit intogoogle:mainfrom
nan-yu:streaming-parser-cleanup
Open

refactor: Remove placeholder loading text and caption usage hint from streaming components.#919
nan-yu wants to merge 1 commit intogoogle:mainfrom
nan-yu:streaming-parser-cleanup

Conversation

@nan-yu
Copy link
Collaborator

@nan-yu nan-yu commented Mar 20, 2026

Description

Before

  • contact.lookup.streaming.demo.webm
  • restaurant.finder.sample.streaming.demo.webm

After

  • streaming.demo.contact.lookup.webm
  • streaming.demo.restaurant.finder.webm

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

The intent is to clean up the loading text in the intermediate states.
@nan-yu nan-yu force-pushed the streaming-parser-cleanup branch from eee6d8b to 9402f1d Compare March 20, 2026 17:06
@@ -1232,8 +1232,7 @@ def traverse(obj, parent_key=None):
"id": placeholder_id,
"component": {
"Text": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's empty, do we need to keep the text components at all? And if we need something to show, couldn't it be a Row with no children or something? And since they're all identical, they could be defined once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants