Files
oak-gpui/crates
Cole MillerandAgus Zubiaga 9358690337 Fix flicker when agent plan updates (#35739)
Currently, when the agent updates its plan, there are a few frames where
the text after `Current:` in the plan summary is blank, causing a
flicker. This is because we treat that field as markdown, and the
`MarkdownElement` renders as blank until the raw text has finished
parsing in the background.

This PR fixes the flicker by changing `Markdown::new_text` to
optimistically render the source as a single `MarkdownEvent::Text` span
until background parsing has finished.

Release Notes:

- N/A

Co-authored-by: Agus Zubiaga <agus@zed.dev>
2025-08-06 22:38:00 +00:00
..
2025-08-06 09:01:06 +00:00
2025-08-06 14:01:34 +00:00
2025-08-05 18:16:47 +00:00
2025-08-06 09:01:06 +00:00
2025-08-06 09:01:06 +00:00
2025-07-29 13:24:34 -07:00
2025-08-05 18:16:47 +00:00
2025-07-21 13:44:51 +02:00
2025-08-06 00:02:26 +00:00
2025-06-17 20:26:27 +00:00
…
2025-08-06 09:01:06 +00:00
2025-07-17 14:25:55 +00:00
2025-07-08 14:34:57 +00:00
2025-08-06 00:02:26 +00:00
2025-08-06 00:02:26 +00:00
2025-08-06 01:18:21 +00:00
2025-08-04 09:49:51 -03:00
2025-08-06 14:01:34 +00:00
2025-08-06 13:11:46 +00:00