Commit History
-
Disable zoom on mobile view (#2008)
Unverified signatureDisable mobile zoom - Update viewport meta tag with maximum-scale=1 and user-scalable=no - Add touch-action: pan-x pan-y to prevent pinch-to-zoom gestures Co-authored-by: Claude <noreply@anthropic.com>e8b095b
-
New tools rendering (#2005)
Unverified signature* Optimize message update handling and rendering Refactors ChatMessage.svelte to interleave tool and stream updates for more accurate message rendering, consolidates consecutive stream tokens, and updates ToolUpdate.svelte styles for improved spacing. Also optimizes update handling in both the client and server to merge consecutive stream updates, reducing unnecessary array growth and improving performance. * Improve message updates reactivity and storage efficiency In the Svelte page, message update merging now creates new objects and arrays to ensure UI reactivity when streaming tokens are merged. On the server, ephemeral stream tokens and keep-alive updates are filtered out before persisting messages to the database, reducing payload size and improving rehydration performance. * Improve chat message block handling and update persistence Refactors ChatMessage.svelte to better handle interleaved tool and stream updates, ensuring correct text chunking and fallback behavior. Update…72bda43 -
Prevent overscroll on html and body elements
Added 'overscroll-behavior: none;' to html and body in main.css to prevent scroll chaining and improve scroll handling.f43a7e1
-
Highlight router model and improve descriptions
Adds a gradient highlight for the router (Omni) model tile in the models page, updates its description in both backend and UI, and refines active model border styling for better theme support. Also tweaks the chat input dropdown hover style for consistency.f18ddf0
-
safari: Add custom background for scrollbars in dark mode
Introduces a transparent background for .scrollbar-custom scrollbars and sets a dark background in dark mode using ::-webkit-scrollbar selectors.1cfefdd
-
Reduce heading sizes for .prose-sm class
Overrides the default heading font sizes for the .prose-sm class to 55% of their original size and applies font-semibold. This ensures more compact typography for small prose sections.4e1ceff
-
Add responsive scrolling to tables in prose
Applied block display, max width, and custom scrollbar styles to tables within elements with the 'prose' class to improve horizontal scrolling and appearance, especially on smaller screens.cede9a2
-
fix CI (#1884)
Eliott C.Unverified signature* fix CI * add playwright as dev dep * lint * clean up spaces-config with community tools * try to make mongo run?2883086
-
style: update no scrollbar styles
035f80d -
light theme: Update code block styles and highlight.js themes
1287d07
-
HuggingChat 2026 (#1875)
Unverified signature* refactor: remove tokenizer-related functionality and dependencies - Removed tokenizer dependencies from package.json. - Deleted TokensCounter component and its usages across the application. - Updated model configurations to exclude tokenizer properties. - Refactored model processing logic to support only OpenAI-compatible endpoints. - Adjusted API responses to omit tokenizer information. - Cleaned up related utility functions and imports. * Remove web search functionality and related components - Deleted endpoints for various web search APIs (serpApi, serpStack, serper, webLocal, youApi). - Removed generateQuery function and its usage in search. - Eliminated web search related types and interfaces from the codebase. - Updated Assistant and Conversation types to remove references to web search and embedding models. - Cleaned up related utility functions and message updates for web search. - Adjusted API routes and components to reflect the removal of web search features. - Updated…4331e77
-
chores(svelte): migration to svelte 5 (#1685)
Unverified signature* chores(svelte): migration to svelte 5 * chores(svelte5): remove preventDefault & stopPropagation legacy handlers * chores(deps): version bumps * fix: closing modal works properly * fix: messagte loading reactivity * fix: loading indicator * fix: conversation list reactivity * fix: bug on tool logo rendering * fix: infinite loading circular dep * feat: hide new chat button on new chats * fix: move apply directive to main.css * fix: remove legacy syntax in `TokensCounter.svelte` * fix: replace legacy `run` with Svelte 5 `$effect` in NavMenu * fix: replace legacy `run` with Svelte 5 `$effect` in ScrollToPreviousBtn * fix: migrate `settings/[modelId]` page to Svelte 5 syntax * fix: replace legacy `run` with Svelte 5 `$effect` in ToolUpdate component * fix: migrate ToolEdit component to Svelte 5 syntax * fix: simplify login required handling in ChatInput21b8785
-
fix: move katex styling to global stylesheet
Unverified signatured63153f
-
Add tailwind prettier (#123)
Adrien DenatUnverified signature* add tailwind-prettier plugin * lint all project files70bf8f4
-
Styling improvements (#82)
Adrien DenatUnverified signature* add custom scrollbar everywhere * fix scroll to bottom button positioning + add hover * fix non-scrollable transparent area above input text * replace slate color by gray * add custom scrollbars for codeblock * fix chat messages overflowing on small viewports * fix codeblock scrollbar color on light mode + remove !important * fix send icon hover + make disabled buttons default cursor5db11d9
-
Prettier update (#54)
Unverified signature* Update .prettierrc * prettify everthing prettify everything1d04bf7 -
remove unneeded hack in main.css (#51)
Adrien DenatUnverified signaturec095260
-
rm theme override (#42)
Unverified signaturececf9de -
add basic html sanitizing (#40)
Adrien Denat +1: Eliott C.Unverified signature* add basic html sanitizing * fix prose overriding styling of code block * lazy load HTML sanitizer * simplify sanitization * make sure sanitizedContent is kicking in on prop changes Co-authored-by: Eliott C. <coyotte508@gmail.com> * fix reactive statement not running on SSR --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>611343e -
Syntax highlighting + copy to clipboard button (#30)
Adrien Denat +1: Eliott CUnverified signature* add highlight.js for syntax highlighting + add CodeBlock and CopyToClipboard components * use clipboard.js for CopyToClipboard button + add Tooltip component * do not include Tailwind classes in template since it can't parse them * remove hack to strip model messages "endoftext" for now since it breaks code blocks * move styles.css to /styles/main.css * fix import + remove unused component * auto detect language if not returned by model * remove clipboard.js dependency and use native API * rename icons with Icon prefix --------- Co-authored-by: Eliott C <coyotte508@gmail.com>fd8a2ca