Theming expirmentaiton part 2 (revamp)#81
Open
arthrod wants to merge 3545 commits into
Open
Conversation
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.
User description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
PR Type
Enhancement
Description
Comprehensive theming system overhaul with new
Themes.sveltecomponent providing theme import/export, search, sorting, and community theme discoveryTheme editor integration with warning dialogs for version compatibility and animation script handling
Extended Tailwind color palette with CSS variables for
black,white, and completebluecolor palette (100-950)Enhanced image generation settings with flat configuration structure, ComfyUI workflow editing, and support for OpenAI/Gemini API parameters
Redesigned prompts interface with view filtering (created/shared), improved layout, and empty state messaging
Model valves support in message input with new
ValvesModalcomponent and improved clipboard image handlingExpanded permissions system with import/export operations and default permission enforcement
Refactored Functions page with grid layout, enhanced filtering, and view selection capabilities
Improved Ollama model management with update cancellation, better error handling, and enhanced user feedback
New ProseMirror list drag handle plugin for enhanced rich text editing with drag-and-drop support
Bug fixes including debounce timer cleanup in AI autocompletion and memory leak prevention
UI refinements across multiple settings pages with consistent spacing, styling updates, and better visual feedback
Locale support added for British English date formatting
Diagram Walkthrough
File Walkthrough
9 files
listDragHandlePlugin.js
Add list drag handle plugin for ProseMirror editorsrc/lib/components/common/RichTextInput/listDragHandlePlugin.js
items in ProseMirror editor
configurable item type names
ghost elements during dragging
types
dayjs.js
Add British English locale support to dayjssrc/lib/dayjs.js
en-gblocale to support British English dateformatting
Images.svelte
Refactor image generation settings with flat config structuresrc/lib/components/admin/Settings/Images.svelte
top-level properties (e.g.,
config.comfyui.COMFYUI_BASE_URL→config.COMFYUI_BASE_URL)configuration
CodeEditorModalcomponent for editing JSON workflows inlineimage generation
engine-specific configurations
fields
Prompts.svelte
Redesign prompts interface with view filtering and improved layoutsrc/lib/components/workspace/Prompts.svelte
ViewSelectorcomponent for filtering prompts by "created" vs"shared" views
prompt button repositioned
setFilteredItemsfunction
better spacing
MessageInput.svelte
Add model valves support and improve clipboard handlingsrc/lib/components/chat/MessageInput.svelte
Knobsicon andValvesModalcomponent to supportmodel valves functionality
object URLs for better data handling
{#if recording}...{:else}towith class binding for cleaner structure
for tool/function valve selection
of direct image URLs
visual feedback
Themes.svelte
Add comprehensive theme management UI componentsrc/lib/components/chat/Settings/Themes.svelte
functionality
discovery features
compatibility and animation scripts
features, and author information
editing/active states
Permissions.svelte
Expanded permissions system with import/export and default enforcementsrc/lib/components/admin/Users/Groups/Permissions.svelte
defaultPermissionsconstant toDEFAULT_PERMISSIONSandexpanded it with new permission fields for import/export operations
and additional sharing/feature options
defaultPermissionsas an exported prop to support default userpermissions that cannot be disabled
for nested permission controls
that remain enabled
Models Access enables Import/Export Models)
Functions.svelte
Refactored Functions page with grid layout and enhanced filteringsrc/lib/components/admin/Functions.svelte
functionsto_functionsto avoid namingconflicts with local state
getFunctionList,ViewSelector,TagSelector,capitalizeFirstLetter, andSpinnercomponentsfunctionsstate management with loading state andfiltering logic supporting view options (created/shared) and type
filtering
filtering, and view selection capabilities
ManageOllama.svelte
Added model update cancellation and improved error handlingsrc/lib/components/admin/Settings/Models/Manage/ManageOllama.svelte
updateModelsControllerstracking andupdateCancelledflagAbortErrorand othererrors, preventing error toasts on cancellation
modelTransferringtomodelLoadingfor consistency and clarityTooltipcomponents to buttons and improved button disabledstates based on input validation
and cancel functionality
1 files
tailwind.config.js
Extend Tailwind color palette with CSS variablestailwind.config.js
blackandwhitecolor variables using CSS custom properties withfallbacks
bluecolor palette (100-950) with CSS variables fortheming support
1 files
AutoCompletion.js
Add cleanup for debounce timer in AI autocompletionsrc/lib/components/common/RichTextInput/AutoCompletion.js
viewlifecycle method to properly clean up debounce timeron destroy
destroyed
2 files
Evaluations.svelte
Refine evaluations settings styling and spacingsrc/lib/components/admin/Settings/Evaluations.svelte
mb-2.5tomt-0.5 mb-2.5for section headersborder-gray-100/30andborder-gray-850/30)CodeExecution.svelte
Refine spacing and styling in code execution settingssrc/lib/components/admin/Settings/CodeExecution.svelte
mb-3.5tomt-0.5 mb-2.5forconsistent spacing
border-gray-100/border-gray-850toborder-gray-100/30/border-gray-850/30for lighter appearancedark:bg-gray-900class from multiple select and input elementsfor cleaner styling
101 files