Repository navigation
feat(webui): add chat composer collapse toggle, dynamic theme color mixing, and mobile canvas rail responsiveness - #1863
Open
mdnaimul22 wants to merge 10 commits into
Open
mdnaimul22 wants to merge 10 commits into
mdnaimul22 wants to merge 10 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR enhances the WebUI experience by introducing a chat composer collapse/expand toggle, dynamic theme highlight color mixing, and responsive mobile canvas rail positioning—all built with clean CSS specificity and zero
!importantanti-patterns.Key Features & Improvements
1. 🎛️ Chat Composer Collapse / Expand Toggle
#progress-bar-boxallowing users to collapse/expand the bottom controls and extensions toolbar.composerCollapsed,toggleComposerCollapsed()) in Alpine.jsinput-store.js.2. 🎨 Dynamic Theme Highlight & Color Mixing
--color-highlightin light and dark theme definitions inindex.css.chat-bar-input.htmlto use moderncolor-mix(in srgb, var(--color-highlight) ...)for smooth hover and active state transitions instead of hardcoded hex values..chat-buttonto2.5remand its internal SVG icon to1.3remfor optimal touch-target balance.3. 📱 Mobile Right Canvas Rail Alignment & Responsive Breakpoints
.right-canvas-railwith the upstreamtop: 33%; transform: translateY(-50%)proportion, ensuring perfect upper-third positioning across mobile phones, tablets, and vertical/portrait monitors.480pxbreakpoint.4. 🧹 Code Cleanliness & Zero
!importantFlags!importantoverrides acrossprogress.html,right-canvas.css, andchat-bar-input.html, relying strictly on natural CSS specificity and stylesheet cascade.Changed Files
webui/components/chat/input/input-store.js— Composer collapse state.webui/components/chat/input/progress.html— Collapse toggle button and clean collapsed styling.webui/components/chat/input/chat-bar-input.html— Dynamic color mixing and rem dimensioning.webui/components/chat/input/bottom-actions-bar.html— Actions bar responsiveness.webui/components/canvas/right-canvas.css— Standardized 480px breakpoint and 33% vertical alignment.webui/index.css—--color-highlighttheme token.Checklist