Imad Saddik
b6536f6589
Format code
2026-01-03 08:41:30 +01:00
Imad Saddik
36f334f4af
Put the constant into constants/chat-width.ts
2026-01-03 08:40:21 +01:00
Imad Saddik
00e6cafda6
Rename component to ChatSettingsComboboxCustomWidth
2026-01-03 08:37:09 +01:00
Imad Saddik
d7528b41fa
Merge remote-tracking branch 'upstream/master' into feat/change_chat_screen_width
2026-01-03 08:34:29 +01:00
Anri Lombard
d5574c919c
webui: fix code copy stripping XML/HTML tags ( #18518 )
...
* webui: fix code copy stripping XML/HTML tags
* webui: update static build
2026-01-01 13:44:11 +01:00
Xuan-Son Nguyen
51a48720b8
webui: fix prompt progress ETA calculation ( #18468 )
...
* webui: fix prompt progress ETA calculation
* handle case done === 0
2025-12-29 21:42:11 +01:00
Pascal
c9a3b40d65
Webui/prompt processing progress ( #18300 )
...
* webui: display prompt preprocessing progress
* webui: add percentage/ETA and exclude cached tokens from progress
Address review feedback from ngxson
* webui: add minutes and first chunk (0%) case
* Update tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
* Update tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
* webui: address review feedback from allozaur
* chore: update webui build output
* webui: address review feedback from allozaur
* nit
* chore: update webui build output
* feat: Enhance chat processing state
* feat: Improve chat processing statistics UI
* chore: update webui build output
* feat: Add live generation statistics to processing state hook
* feat: Persist prompt processing stats in hook for better UX
* refactor: Enhance ChatMessageStatistics for live stream display
* feat: Implement enhanced live chat statistics into assistant message
* chore: update webui build output
* fix: Proper tab for each stage of prompt processing/generation
* chore: update webui build output
* fix: Improved ETA calculation & display logic
* chore: update webui build output
* feat: Simplify logic & remove ETA from prompt progress
* chore: update webui build output
---------
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
2025-12-29 19:32:21 +01:00
Pascal
5b6c9bc0f3
webui: apply webui_settings on first load ( #18223 )
...
* webui: apply webui_settings on first load
The webui_settings from /props were not applied on initial load
when default_generation_settings.params was null
Now syncs whenever serverProps is available, regardless of params,
works for both single-model and router modes
* chore: update webui build output
2025-12-23 15:48:03 +01:00
Imad Saddik
9b87eaf898
Updated the disabled text
2025-12-20 15:42:21 +01:00
Imad Saddik
37be01ac4c
Applied formatting
2025-12-20 15:26:23 +01:00
Imad Saddik
689b7a5bd6
Removed console log and refactored the code
2025-12-20 15:25:41 +01:00
Imad Saddik
6db71973ab
Applied formatting
2025-12-20 15:18:41 +01:00
Imad Saddik
b519235e0a
Added the ability to set custom pixel values in the combobox
2025-12-20 15:17:52 +01:00
Imad Saddik
3be006dcaf
Display the custom chat width combobox in the settings with just presets
2025-12-20 14:29:15 +01:00
Imad Saddik
14929a77b0
Added the command and popover components
2025-12-20 11:10:06 +01:00
Imad Saddik
416bb35130
Used the new getChatWidth function in ChatProcessingInfo
2025-12-20 09:28:55 +01:00
Imad Saddik
62614a5faa
Used the new getChatWidth function in all chat messages components that need it
2025-12-20 09:27:49 +01:00
Imad Saddik
dccfcc02eb
Used the new getChatWidth function in ChatForm
2025-12-20 09:09:45 +01:00
Imad Saddik
33d8d0f461
Performed formatting
2025-12-20 09:07:54 +01:00
Imad Saddik
61d99bbd88
Used the new chat width logic in ChatScreen and ChatWarning
2025-12-20 09:07:04 +01:00
Imad Saddik
b6dbbcc1fb
Moved and renamed the width-classes.ts file
2025-12-20 09:04:13 +01:00
Imad Saddik
d784cf9bea
Renamed the settings keys and added a new field in the settings
2025-12-20 08:51:27 +01:00
Imad Saddik
fe680a932b
Added support for custom width presets and renamed the constants
2025-12-20 08:49:46 +01:00
Imad Saddik
1cccfaea0f
Added new records to SETTING_CONFIG_DEFAULT
2025-12-20 08:25:01 +01:00
Aleksander Grygier
acb73d8340
webui: Add editing attachments in user messages ( #18147 )
...
* feat: Enable editing attachments in user messages
* feat: Improvements for data handling & UI
* docs: Update Architecture diagrams
* chore: update webui build output
* refactor: Exports
* chore: update webui build output
* feat: Add handling paste for Chat Message Edit Form
* chore: update webui build output
* refactor: Cleanup
* chore: update webui build output
2025-12-19 11:14:07 +01:00
Pascal
f9ec8858ed
webui: display prompt processing stats ( #18146 )
...
* webui: display prompt processing stats
* feat: Improve UI of Chat Message Statistics
* chore: update webui build output
* refactor: Post-review improvements
* chore: update webui build output
---------
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
2025-12-18 17:55:03 +01:00
Aleksander Grygier
9ce64aed7d
webui: Fix selecting generated output issues during active streaming ( #18091 )
...
* draft: incremental markdown rendering with stable blocks
* refactor: Logic improvements
* refactor: DRY Markdown post-processing logic
* refactor: ID generation improvements
* fix: Remove runes
* refactor: Clean up & add JSDocs
* chore: update webui static output
* fix: Add tick to prevent race conditions for rendering Markdown blocks
Suggestion from @ServeurpersoCom
Co-authored-by: Pascal <admin@serveurperso.com>
* chore: Run `npm audit fix`
* chore: update webui static output
* feat: Improve performance using global counter & id instead of UUID
* refactor: Enhance Markdown rendering with link and code features
* chore: update webui static output
* fix: Code block content extraction
* chore: update webui static output
* chore: update webui static output
---------
Co-authored-by: Pascal <admin@serveurperso.com>
2025-12-18 11:13:52 +01:00
Kim S.
900316da4e
webui: fix chat screen shadow width ( #18010 )
...
* webui: fix chat screen shadow width
* chore: add index.html.gz
2025-12-18 11:08:42 +01:00
Pascal
6ce3d85796
server: (webui) add --webui-config ( #18028 )
...
* server/webui: add server-side WebUI config support
Add CLI arguments --webui-config (inline JSON) and --webui-config-file
(file path) to configure WebUI default settings from server side.
Backend changes:
- Parse JSON once in server_context::load_model() for performance
- Cache parsed config in webui_settings member (zero overhead on /props)
- Add proper error handling in router mode with try/catch
- Expose webui_settings in /props endpoint for both router and child modes
Frontend changes:
- Add 14 configurable WebUI settings via parameter sync
- Add tests for webui settings extraction
- Fix subpath support with base path in API calls
Addresses feedback from @ngxson and @ggerganov
* server: address review feedback from ngxson
* server: regenerate README with llama-gen-docs
2025-12-17 21:45:45 +01:00
Kim S.
d37fc93505
webui: fix chat header width when sidebar is closed ( #17981 )
...
* webui: fix chat header width when sidebar is closed
* chore: add index.html.gz
2025-12-17 20:05:45 +01:00
Aleksander Grygier
3034836d36
webui: Improve copy to clipboard with text attachments ( #17969 )
...
* feat: Create copy/paste user message including "pasted text" attachments
* chore: update webui build output
* chore: update webui static output
* fix: UI issues
* chore: update webui static output
* fix: Decode HTML entities using `DOMParser`
* chore: update webui build output
* chore: update webui static output
2025-12-16 07:38:46 +01:00
Aleksander Grygier
a20979d433
webui: Add setting to always show sidebar on Desktop ( #17809 )
...
* feat: Add setting to always show Sidebar on Desktop
* chore: update webui build output
* feat: Add auto-show sidebar setting
* fix: Mobile settings dialog UI
* chore: update webui build output
* feat: UI label update
* chore: update webui build output
* chore: update webui build output
* chore: update webui build output
* refactor: Cleanup
* chore: update webui build output
2025-12-16 07:31:37 +01:00
Darius Lukas
40d9c394f4
Webui: Disable attachment button and model selector button when prompt textbox is disabled. ( #17925 )
...
* Pass disabled state to the file attachments button and the model
selector button.
* Update index.html.gz
* Fix model info card in non-router mode.
* Update index.html.gz
2025-12-16 07:15:49 +01:00
Imad Saddik
c638bfeb21
Updated the MAX_WIDTH_CLASSES constant
2025-12-15 22:02:42 +01:00
Imad Saddik
20f5f32d4d
Added custom breakpoints
2025-12-15 22:01:15 +01:00
Pascal
0f4f35e7be
Fix unreadable user markdown colors and truncate long texts in deletion dialogs ( #17555 )
...
* webui: limit conversation name length in dialogs
* webui: fix unreadable colors on links and table cell hover in user markdown
* webui: keep table borders visible in user markdown
* webui: updating unified exports
* Update tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentThumbnailFile.svelte
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
* chore: update webui build output
* chore: update webui build output
* chore: update webui build output
---------
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
2025-12-15 16:34:53 +01:00
Thomas Jarosch
e73d548659
webui: add "delete all conversations" button to import/export tab ( #17444 )
...
* webui: add "delete all conversations" button to import/export tab
- Add 'Delete all conversations' functionality with confirmation dialog
- Add Trash icon and destructive styling for clear visual indication
- Redirects to "?new_chat=true#/" by using conversationsStore.deleteAll()
* chore: update webui build output
2025-12-15 11:29:29 +01:00
Imad Saddik
cb2926b904
Fixed indentation
2025-12-14 22:01:12 +01:00
Imad Saddik
ce0a7e3acc
Added new width constants to implement the responsive chat width feature
2025-12-14 21:59:19 +01:00
Imad Saddik
dc0ba44991
Fixed the indentation
2025-12-14 21:11:04 +01:00
Imad Saddik
232eba99b4
Added a new setting to control the width of elements based on the screen size
2025-12-14 20:53:08 +01:00
Aleksander Grygier
12280ae905
webui: Fix parsing non-LaTeX occurrencies of `\(` or `\)` ( #17810 )
...
* fix: Improve latex protection logic to prevent turning non-latex `\(` into `$`
* chore: update webui build output
2025-12-12 15:13:36 +01:00
Pascal
a81a569577
Add a search field on model selector / improve mobile display ( #17765 )
...
* webui: add search field to model selector and fixes mobile viewport overflow
* webui: simplify model search style and code
* refacor: Search Input component & consistent UI for Models Selector search
* feat: Use Popover component + improve interactions
* fix: Fetching props for only loaded models in ROUTER mode
* webui: prevent models selector popover from overflowing viewport
Use Floating UI's auto-positioning with 50dvh height limit and proper
collision detection instead of forcing top positioning. Fixes overflow
on desktop and mobile keyboard issues
* webui: keep search field near trigger in models selector
Place search at the 'near end' (closest to trigger) by swapping layout
with CSS flexbox order based on popover direction. Prevents input from
moving during typing as list shrinks
* chore: update webui build output
---------
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
2025-12-11 18:21:21 +01:00
Aleksander Grygier
a28e3c7567
webui: Stop generation from chat sidebar ( #17806 )
...
* feat: Add stop generation button for Conversation Item
* chore: update webui build output
2025-12-06 13:29:15 +01:00
Aleksander Grygier
e31b5c55c3
webui: Fix context available value in Multi-model Router mode ( #17804 )
...
* fix: Use context size from `/props?model=...` in ROUTER mode
* chore: update webui build output
2025-12-06 13:23:29 +01:00
Aleksander Grygier
21f24f27a9
webui: Per-conversation system message with UI displaying, edition & branching ( #17275 )
...
* feat: Per-conversation system message with optional display in UI, edition and branching (WIP)
* chore: update webui build output
2025-12-06 13:19:05 +01:00
Piotr Wilkin (ilintar)
c6d1a00aa7
Add a couple of file types to the text section ( #17670 )
...
* Add a couple of file types to the text section
* Format + regenerate index
* Rebuild after rebase
2025-12-03 21:45:06 +01:00
Aleksander Grygier
e9f9483464
Use OpenAI-compatible `/v1/models` endpoint by default ( #17689 )
...
* refactor: Data fetching via stores
* chore: update webui build output
* refactor: Use OpenAI compat `/v1/models` endpoint by default to list models
* chore: update webui build output
* chore: update webui build output
2025-12-03 20:49:09 +01:00
Andika Wasisto
41c5e02f42
webui: Fix zero pasteLongTextToFileLen to disable conversion being overridden ( #17445 )
...
* webui: Fix zero pasteLongTextToFileLen to disable conversion being overridden
Zero pasteLongTextToFileLen should disable the conversion, but it was
overwritten with 2500.
* Apply suggestions from code review
* Update webui build
2025-12-03 20:45:17 +01:00
Aleksander Grygier
cee92af553
Add context info to server error ( #17663 )
...
* fix: Add context info to server error
* chore: update webui build output
2025-12-02 09:20:57 +01:00