Commit graph

26 commits

Author SHA1 Message Date
oobabooga 9eacd4a207 UI: Minor morphdom optimizations 2026-03-14 16:07:16 -07:00
oobabooga 9f657d3976 UI: Fix a minor glitch 2026-03-14 14:19:12 -07:00
oobabooga d4c22ced83 UI: Optimize syntax highlighting and autoscroll by moving from MutationObserver to morphdom updates 2026-03-13 15:47:14 -03:00
oobabooga a4bef860b6 UI: Optimize chat streaming by batching morphdom to one update per animation frame
The monitor physically cannot paint faster than its refresh rate, so
intermediate morphdom calls between frames do redundant parsing, diffing,
and patching work that is never displayed.
2026-03-13 06:45:47 -03:00
oobabooga f2fe001cc4 Fix message copy buttons not working over HTTP 2026-03-06 19:01:38 -08:00
oobabooga 942ff8fcb4 Remove obsolete stuff after custom gradio updates 2026-03-04 16:43:32 -08:00
oobabooga 866c48e55b Simplify dark theme handling using gradio fork's new dark_theme parameter 2026-03-03 18:41:47 -08:00
oobabooga d78b7d0fad Lint 2025-08-28 20:22:07 -07:00
oobabooga 2720955478 Fix a bug after d9eec31886 2025-08-28 19:48:16 -07:00
oobabooga d9eec31886 UI: Suppress "Attempted to select a non-interactive or hidden tab" warnings 2025-08-28 17:46:29 -07:00
oobabooga 2517ea9c9e Lint 2025-06-19 15:23:06 -07:00
oobabooga 3344510553 Force dark theme on the Gradio login page 2025-06-19 12:11:34 -07:00
oobabooga 4cf39120fc Fix chat area sometimes not scrolling up to edit message 2025-06-10 18:03:00 -07:00
oobabooga 9bd7359ffa Scroll the textarea into view when editing a message 2025-06-04 10:47:14 -07:00
oobabooga bb409c926e
Update only the last message during streaming + add back dynamic UI update speed (#7038) 2025-06-02 09:50:17 -03:00
oobabooga 27641ac182 UI: Make message editing work the same for user and assistant messages 2025-05-28 17:23:46 -07:00
Underscore 5028480eba
UI: Add footer buttons for editing messages (#7019)
---------

Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
2025-05-28 00:55:27 -03:00
Underscore 355b5f6c8b
UI: Add message version navigation (#6947)
---------

Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
2025-05-27 22:54:18 -03:00
Daniel Dengler c25a381540
Add a "Branch here" footer button to chat messages (#6967) 2025-05-20 11:07:40 -03:00
oobabooga 195a45c6e1 UI: Make thinking blocks closed by default 2025-04-30 15:12:46 -07:00
oobabooga d35818f4e1
UI: Add a collapsible thinking block to messages with <think> steps (#6902) 2025-04-25 18:02:02 -03:00
oobabooga 5e99dded4e UI: add "Continue" and "Remove" buttons below the last chat message 2025-01-21 09:05:44 -08:00
oobabooga 2344366c9b Remove a debug message 2025-01-14 17:23:44 -08:00
oobabooga c85e5e58d0 UI: move the new morphdom code to a .js file 2025-01-13 06:20:42 -08:00
oobabooga a0492ce325
Optimize syntax highlighting during chat streaming (#6655) 2025-01-11 21:14:10 -03:00
oobabooga 1b9121e5b8 Add a "refresh" button below the last message, add a missing file 2025-01-11 12:42:25 -08:00