Commit graph

128 commits

Author SHA1 Message Date
oobabooga 3a722a36c8
Use morphdom to make chat streaming 1902381098231% faster (#6653) 2025-01-11 12:55:19 -03:00
oobabooga 979e1f1bd6 Fix a bug after 9163951f3a 2025-01-01 17:57:09 -08:00
oobabooga 9163951f3a UI: reduce the CPU usage during text streaming 2025-01-01 17:49:57 -08:00
oobabooga 0a15cff6a0 UI: close sidebars by clicking outside their areas on mobile 2024-12-18 12:27:06 -08:00
oobabooga 636a6621cc UI: fix sidebars closing when typing on mobile 2024-12-18 12:16:59 -08:00
oobabooga 0c069e5b3f UI: remove obsolete js event 2024-12-18 12:16:26 -08:00
oobabooga d769618591
Improved UI (#6575) 2024-12-17 00:47:41 -03:00
oobabooga d364aa0a3c Lint 2024-10-01 10:22:57 -07:00
Hanusz Leszek e4b0467f9f
Add beforeunload event to add confirmation dialog when leaving page (#6279) 2024-09-29 01:14:19 -03:00
oobabooga 6bab4c2faa UI: add back single $ for equations 2024-07-26 23:03:53 -07:00
oobabooga 9e82f8c394 UI: Fix chat sometimes not scrolling down after sending a message 2024-07-26 22:35:30 -07:00
oobabooga e777b73349 UI: prevent LaTeX from being rendered for inline "$" 2024-07-23 19:04:19 -07:00
oobabooga e1085180cf UI: better handle scrolling when the input area grows 2024-07-21 21:20:22 -07:00
oobabooga f77cf159ba UI: fix a glitch when switching tabs with "show controls" unchecked 2024-07-02 20:57:03 -07:00
oobabooga 220c1797fc UI: do not show the "save character" button in the Chat tab 2024-06-28 22:11:31 -07:00
oobabooga 5c6b9c610d
UI: allow the character dropdown to coexist in the Chat tab and the Parameters tab (#6177) 2024-06-29 01:20:27 -03:00
oobabooga 3691451d00
Add back the "Rename chat" feature (#6161) 2024-06-25 22:28:58 -03:00
oobabooga e7e1f5901e
Prompts in the "past chats" menu (#6160) 2024-06-25 15:01:43 -03:00
oobabooga a43c210617
Improved past chats menu (#6158) 2024-06-25 00:07:22 -03:00
oobabooga 564a3e1553 Remove the awkward "Tab" keyboard shortcut 2024-06-23 22:31:07 -07:00
oobabooga d5bde7babc UI: improve the performance of code syntax highlighting 2024-05-06 17:45:03 -07:00
oobabooga 6761b5e7c6
Improved instruct style (with syntax highlighting & LaTeX rendering) (#5936) 2024-04-26 10:13:11 -03:00
oobabooga 1bdceea2d4 UI: Focus on the chat input after starting a new chat 2024-04-06 12:57:57 -07:00
oobabooga 168a0f4f67 UI: do not load the "gallery" extension by default 2024-04-06 12:43:21 -07:00
Lounger 0f68c6fb5b
Big picture fixes (#5565) 2024-02-25 14:10:16 -03:00
oobabooga 36c29084bb UI: fix instruct style background for multiline inputs 2024-02-17 20:09:47 -08:00
oobabooga 904867a139 UI: fix scroll down after sending a multiline message 2024-02-17 19:27:13 -08:00
oobabooga e1dd5ee2de UI: focus on the chat input when switching to the chat tab 2024-01-10 05:12:49 -08:00
oobabooga ec2da5adef Docs: document keyboard shortcuts 2024-01-10 03:58:39 -08:00
oobabooga 89e7e107fc Lint 2024-01-09 16:27:50 -08:00
oobabooga 4d730a759a Focus on the rename text area when it becomes visible 2024-01-09 04:00:47 -08:00
oobabooga 4f7e1eeafd
Past chat histories in a side bar on desktop (#5098)
Lots of room for improvement, but that's a start.
2024-01-09 01:57:29 -03:00
oobabooga dc1df22a2b
Press Tab to switch between current tab and Parameters tab (#5210) 2024-01-08 23:23:55 -03:00
Guanghua Lu 3bb4b0504e
Close the menu on second click. (#5110) 2024-01-04 13:52:11 -03:00
oobabooga a4079e879e CSS: don't change --chat-height when outside the chat tab 2023-12-27 11:51:55 -08:00
oobabooga c419206ce1 Lint the JS/CSS 2023-12-27 09:59:23 -08:00
oobabooga 2ad6c526b8 Check if extensions block exists before changing it 2023-12-25 14:43:12 -08:00
oobabooga 8d0359a6d8 Rename some CSS variables 2023-12-25 14:10:07 -08:00
oobabooga 5466ae59a7 Prevent input/chat area overlap with new --my-delta variable 2023-12-25 14:07:31 -08:00
Lounger 554a8f910b Attempt at shrinking chat area when input box grows 2023-12-22 04:51:20 +01:00
Lounger e3e053ab99 UI: Expand chat vertically and handle header wrapping 2023-12-21 03:42:23 +01:00
Lounger 40d5bf6c35 Set margin on other tabs too 2023-12-19 23:42:13 +01:00
Lounger f42074b6c1 UI: Remove header margin on chat tab 2023-12-19 23:27:11 +01:00
oobabooga aa200f8723 UI: remove no longer necessary js in Default/Notebook tabs 2023-12-16 19:39:00 -08:00
oobabooga 7a84d7b2da
Instruct style improvements (#4951) 2023-12-16 22:16:26 -03:00
oobabooga 8cf05c1b31 Fix disappearing character gallery 2023-11-19 08:31:01 -08:00
oobabooga 5fcee696ea
New feature: enlarge character pictures on click (#4654) 2023-11-19 02:05:17 -03:00
oobabooga fae8062d39
Bump to latest gradio (3.47) (#4258) 2023-10-10 22:20:49 -03:00
oobabooga cf4d89ee65 Lint the javascript code 2023-10-07 19:07:57 -07:00
oobabooga 12e312ae9c Focus on the chat input always 2023-09-21 20:32:24 -07:00
oobabooga 00ab450c13
Multiple histories for each character (#4022) 2023-09-21 17:19:32 -03:00
oobabooga e2fddd9584 More robust autoscrolling (attempt) 2023-09-19 13:12:34 -07:00
missionfloyd cc8eda298a
Move hover menu shortcuts to right side (#3951) 2023-09-17 22:33:00 -03:00
oobabooga 52c4fb75ff Remove extra space in --chat-buttons 2023-09-15 20:56:30 -07:00
missionfloyd 2ad6ca8874
Add back chat buttons with --chat-buttons (#3947) 2023-09-16 00:39:37 -03:00
oobabooga 644a9b8765 Change the chat generate button 2023-09-14 05:16:44 -07:00
oobabooga ecc90f9f62 Continue on Alt + Enter 2023-09-14 03:59:12 -07:00
oobabooga 27dbcc59f5
Make the chat input expand upwards (#3920) 2023-09-14 07:06:42 -03:00
oobabooga 6b6af74e14 Keyboard shortcuts without conflicts (hopefully) 2023-09-14 02:33:52 -07:00
oobabooga fc11d1eff0 Add chat keyboard shortcuts 2023-09-13 19:22:40 -07:00
oobabooga 7cd437e05c Properly close the hover menu on mobile 2023-09-13 11:10:46 -07:00
oobabooga 9fc46d3c19 Move "Show controls" to the right 2023-09-13 10:02:25 -07:00
oobabooga 5e3d2f7d44
Reorganize chat buttons (#3892) 2023-09-13 02:36:12 -03:00
oobabooga a821928877 Reduce chat width 2023-09-12 10:26:43 -07:00
oobabooga dae428a967 Revamp cai-chat theme, make it default 2023-09-11 19:30:40 -07:00
oobabooga 828d97a98c Minor CSS improvement 2023-08-29 16:15:12 -07:00
oobabooga c75f98a6d6 Autoscroll Notebook/Default textareas during streaming 2023-08-28 18:22:03 -07:00
oobabooga 558e918fd6 Add a typing dots (...) animation to chat tab 2023-08-28 13:50:36 -07:00
oobabooga 57e9ded00c
Make it possible to scroll during streaming (#3721) 2023-08-28 16:03:20 -03:00
oobabooga fdef0e4efa Focus on chat input field after Ctrl+S 2023-08-27 16:45:37 -07:00
oobabooga 0986868b1b Fix chat scrolling with Dark Reader extension 2023-08-27 14:53:42 -07:00
oobabooga b2296dcda0 Ctrl+S to show/hide chat controls 2023-08-27 13:14:33 -07:00
oobabooga 8545052c9d Add the option to use samplers in the logit viewer 2023-08-22 20:18:16 -07:00
oobabooga 6394fef1db Rewrite tab detection js 2023-08-20 21:02:53 -07:00
oobabooga bdb6eb5734 Restyle the chat input box + several CSS improvements
- Remove extra spacing below the last chat message
- Change the background color of code blocks in dark mode
- Remove border radius from selected header bar elements
- Make the chat scrollbar more discrete
2023-08-17 11:10:38 -07:00
oobabooga 46408465ce
Improved chat scrolling (#3601) 2023-08-17 01:03:40 -03:00
oobabooga a1a9ec895d
Unify the 3 interface modes (#3554) 2023-08-13 01:12:15 -03:00
oobabooga 65aa11890f
Refactor everything (#3481) 2023-08-06 21:49:27 -03:00
Renamed from css/main.js (Browse further)