Commit graph

181 commits

Author SHA1 Message Date
oobabooga 1a2b840938 UI: Fix scroll jump when toggling thinking blocks during streaming 2026-03-15 09:52:31 -07:00
oobabooga 9955e54a1f UI: Fix autoscroll not engaging when regenerating short chats 2026-03-14 18:51:12 -07:00
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 c09a367c64 UI: Fix dark theme using light theme syntax highlighting 2026-03-14 14:08:03 -07:00
oobabooga 16636c04b8 UI: Minor fix/optimization 2026-03-13 19:06:04 -07:00
oobabooga 0cd245bcbb UI: Make autoscroll more robust after the optimizations 2026-03-13 12:58:56 -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 4628825651 Better solution to fef95b9e56 2026-03-13 03:17:36 -07:00
oobabooga fef95b9e56 UI: Fix an autoscroll race condition during chat streaming 2026-03-13 03:05:09 -07: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 09d5e049d6 UI: Improve the Tools checkbox list style 2026-03-12 16:53:49 -07:00
oobabooga bb00d96dc3 Use a new gr.DragDrop element for Sampler priority + update gradio 2026-03-11 19:35:12 -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
mamei16 abb7cc02e9
Re-introduce inline LaTeX rendering with more robust exception handling (#7402) 2026-03-04 17:44:19 -03:00
oobabooga 866c48e55b Simplify dark theme handling using gradio fork's new dark_theme parameter 2026-03-03 18:41:47 -08:00
jakubartur 21b979c02a
Fix code block copy button on HTTP (Clipboard API fallback) (#7358) 2026-01-14 19:34:21 -03:00
oobabooga 59285d501d Image generation: Small UI improvements 2025-12-03 16:03:31 -08:00
oobabooga a83821e941 Revert "UI: Optimize typing in all textareas"
This reverts commit e24ba92ef2.
2025-12-01 10:34:23 -08:00
oobabooga e24ba92ef2 UI: Optimize typing in all textareas 2025-12-01 08:05:21 -08:00
oobabooga 005fcf3f98 Formatting 2025-09-17 21:58:37 -07:00
oobabooga e4412f0634 Slightly more robust syntax highlighting 2025-09-17 21:57:17 -07:00
oobabooga ba62783b72 UI: Don't use $ $ for LaTeX, only $$ $$ 2025-09-02 14:22:22 -07:00
oobabooga 2395c647d4 Fix the instruct message height on mobile 2025-09-02 12:11:15 -07:00
oobabooga 5631d4e3d6 Minor change after 21d790f87e 2025-08-30 15:34:49 -07:00
oobabooga 5920ad8834 UI: Give streaming instruct messages more vertical space 2025-08-30 15:22:50 -07:00
oobabooga 21d790f87e Optimize LaTeX rendering during streaming for long replies 2025-08-30 14:52:22 -07:00
oobabooga d78b7d0fad Lint 2025-08-28 20:22:07 -07:00
oobabooga fc2eb48664 Style fixes after 73442a2b6d 2025-08-28 20:21:55 -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 73442a2b6d UI: Better handle the chat input position with CSS
This also solves scrolling issues with the main chat content
when the height of the textarea increases.
2025-08-27 05:43:13 -07:00
oobabooga ccc8a2229d Revert "UI: Preserve chat scroll position on textarea resize"
This reverts commit 750adf793d.
2025-08-26 13:59:54 -07:00
oobabooga 750adf793d UI: Preserve chat scroll position on textarea resize 2025-08-26 12:19:23 -07:00
oobabooga 2f6a629393 UI: Minor improvement after 0e88a621fd 2025-08-12 08:51:01 -07:00
oobabooga b10d525bf7 UI: Update a tooltip 2025-08-11 12:05:22 -07:00
oobabooga d1e9301a43 Remove fragile js from 9a58964834 2025-07-08 19:57:46 -07:00
oobabooga 42191a36ab Keep navigation icons visible when switching versions 2025-07-08 07:10:04 -07:00
oobabooga 74d98186fc Slightly more robust autoscroll 2025-07-07 13:23:23 -07:00
Philipp Claßen 959d4ddb91
Fix for chat sidebars toggle buttons disappearing (#7106) 2025-07-06 20:51:42 -03:00
oobabooga c4d5331c03 Fix autoscroll after fonts load 2025-07-04 13:21:52 -07:00
oobabooga cbba88f565 Fix scrolling during streaming when thinking blocks are present 2025-07-03 18:16:29 -07:00
oobabooga 9a58964834 Keep the last message visible when the input height changes 2025-06-22 20:44:04 -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 e33921a629 Fix jittering while typing on Firefox (closes #7086) 2025-06-18 17:54:34 -07:00
oobabooga 8b7eb5c87c Code simplification 2025-06-18 10:22:36 -07:00
oobabooga 22cc9e0115 Remove 'Send to Default' 2025-06-18 10:21:48 -07:00
oobabooga a2cdd06afc Revert "Workaround for jittering while typing on firefox"
This reverts commit b4edfce993.
2025-06-17 15:29:40 -07:00