Commit Graph

6124 Commits

Author SHA1 Message Date
PVBLIC Foundation
4f8126d429 fix: restore working search functionality in Step 2
🐛 **Problem**: Refactoring broke search - showing 'No results' for valid queries
🔧 **Root Cause**: Replaced working on:input handler with reactive statement
 **Solution**: Restored on:input={handleInput} approach

**Why the reactive statement failed:**
- `$: performSearch(searchQuery)` runs before history prop is ready
- Svelte reactive statements execute immediately on component init
- History prop from parent may not be available yet, causing search to fail

**Why on:input works better:**
 Explicit user-triggered execution (only when typing)
 Ensures history prop is available when search runs
 Cleaner separation of concerns (input vs reactive computations)
 Matches existing OpenWebUI patterns

**Functionality restored:**
- Real-time search through chat messages 
- Accurate result counting 
- Case-insensitive matching 
- Navigation between results 

The search now works exactly as it did before the refactoring attempt.
2025-06-20 08:50:45 -07:00
PVBLIC Foundation
ecb3000c32 feat: implement Step 1 - Basic Chat Search Overlay
 Features:
- Add ChatSearch.svelte component with clean, professional design
- Implement Ctrl+F global keyboard shortcut for chat pages
- Add showChatSearch store following existing patterns (showSearch, showSidebar)
- Non-intrusive overlay that doesn't block page scrolling

🎨 UI/UX:
- Floating search box in top-right corner with smooth animations
- Auto-focus search input when opened
- Visual feedback with placeholder result counter
- Consistent styling with OpenWebUI design system

 Technical Implementation:
- Reuse existing icon components (Search, ChevronUp, ChevronDown, XMark)
- Follow OpenWebUI patterns for global state management via stores
- Proper click-outside detection without blocking page interaction
- Clean event handling with proper cleanup (onMount/onDestroy)
- Accessibility features (ARIA labels, keyboard navigation)

🔧 Keyboard Shortcuts:
- Ctrl+F: Open/close search (chat pages only)
- Escape: Close search
- Enter/Shift+Enter: Navigate results (placeholder)

📁 Files Modified:
- src/lib/components/chat/ChatSearch.svelte (new)
- src/lib/stores/index.ts (add showChatSearch store)
- src/lib/components/chat/Chat.svelte (integrate search component)
- src/routes/(app)/+layout.svelte (add Ctrl+F handler)

🧪 Testing:
-  Ctrl+F opens search overlay
-  Page scrolling works while search is open
-  Click outside closes search
-  Escape key closes search
-  Clean, professional appearance
-  No duplication - reuses existing components and patterns

Ready for Step 2: Basic text search functionality
2025-06-20 08:41:25 -07:00
Timothy Jaeryang Baek
b6ea043d18 chore: format 2025-06-16 17:59:07 +04:00
Timothy Jaeryang Baek
b082a7edbe enh: allow iframe in content 2025-06-16 17:43:17 +04:00
Timothy Jaeryang Baek
11476eb6ee chore: format 2025-06-16 17:21:22 +04:00
Tim Jaeryang Baek
7096baff1b Merge pull request #15021 from rgaricano/dev
i18n: es-ES Translation v.0.6.15
2025-06-16 17:19:44 +04:00
Tim Jaeryang Baek
2885ed9648 Merge pull request #15019 from itk-dev/feature/high-contrast-mode-tools-section
Feature/high contrast mode tools section
2025-06-16 17:19:30 +04:00
_00_
b13a824047 UPD: es-ES Translation v.0.6.15
UPD: es-ES Translation v.0.6.15
2025-06-16 15:06:33 +02:00
Timothy Jaeryang Baek
9cbe2644b1 refac 2025-06-16 16:59:47 +04:00
Timothy Jaeryang Baek
6c54ca552a feat: global image compression 2025-06-16 16:52:57 +04:00
Timothy Jaeryang Baek
2949be4f27 refac 2025-06-16 16:33:48 +04:00
Timothy Jaeryang Baek
8e139b04f0 refac: iframe include allow-downloads by default 2025-06-16 16:24:51 +04:00
Timothy Jaeryang Baek
76fe344eb8 refac 2025-06-16 16:21:57 +04:00
Timothy Jaeryang Baek
7a1afa9c66 feat: custom stt content type
Co-Authored-By: Bryan Berns <berns@uwalumni.com>
2025-06-16 16:13:40 +04:00
Sine Jespersen
437b7c5171 add aria label to button without label for accessibility 2025-06-16 13:33:45 +02:00
Sine Jespersen
5211602c2f add text high contrast mode for accessibility 2025-06-16 13:33:25 +02:00
Timothy Jaeryang Baek
bc7defbdd0 refac: allow editing own email 2025-06-16 15:23:03 +04:00
Timothy Jaeryang Baek
99e18d49dc enh: system prompt user permission
Some checks failed
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-main-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda126-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda126-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Python CI / Format Backend (3.11.x) (push) Has been cancelled
Python CI / Format Backend (3.12.x) (push) Has been cancelled
Frontend Build / Format & Build Frontend (push) Has been cancelled
Frontend Build / Frontend Unit Tests (push) Has been cancelled
Deploy to HuggingFace Spaces / deploy (push) Has been cancelled
Create and publish Docker images with specific build args / merge-main-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-cuda-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-cuda126-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-ollama-images (push) Has been cancelled
2025-06-16 15:12:32 +04:00
Timothy Jaeryang Baek
1af128fb24 chore 2025-06-16 15:05:35 +04:00
Tim Jaeryang Baek
b8103807cf Merge pull request #15018 from itk-dev/feature/interface-tab-settings-modal-accessibility
Feat: interface tab settings modal accessibility
2025-06-16 14:25:01 +04:00
Tim Jaeryang Baek
d4f67bb266 Merge pull request #15017 from Bek85/i18n-uzbek
i18n: Add Uzbek (Cyrillic and Latin) i18n support
2025-06-16 14:24:30 +04:00
Timothy Jaeryang Baek
f3deb8b8de refac 2025-06-16 14:01:03 +04:00
Timothy Jaeryang Baek
7753f57d42 chore: format 2025-06-16 13:48:50 +04:00
Timothy Jaeryang Baek
d802c718a4 refac: max file count behaviour 2025-06-16 13:28:31 +04:00
Bekzod Akbarov
ace2345a69 Add Uzbek (Cyrillic and Latin) i18n support
- Added `uz-Cyrl-UZ` and `uz-Latn-UZ` folders with `translation.json` files
- Updated `languages.json` to include both Uzbek language variants
2025-06-16 14:25:22 +05:00
Timothy Jaeryang Baek
59324a82e0 refac 2025-06-16 13:19:00 +04:00
Sine Jespersen
6fcdd11fb2 add labels to image compression inputs 2025-06-16 10:56:54 +02:00
Sine Jespersen
047d8cec5d aria-labelledby on buttons to connect to labels 2025-06-16 10:51:12 +02:00
Timothy Jaeryang Baek
51e05988bd refac 2025-06-16 12:46:04 +04:00
Tim Jaeryang Baek
b37907671e Merge pull request #15010 from itk-dev/feature/outline-hidden-depend-on-high-contrast-mode
Feat: outline hidden depend on high contrast mode
2025-06-16 12:43:33 +04:00
Tim Jaeryang Baek
0e245c0afc Merge pull request #15011 from itk-dev/feature/outline-hidden-depend-on-high-contrast-mode-selects-general-tab
outline-hidden depend on highcontrastmode in selects
2025-06-16 12:42:54 +04:00
Timothy Jaeryang Baek
b748d5edee fix: direct tool servers permissions 2025-06-16 12:42:16 +04:00
Sine Jespersen
1909505466 make header h1 instead of div 2025-06-16 10:33:48 +02:00
Timothy Jaeryang Baek
f98ea78964 refac: remove user & access_control field from files 2025-06-16 12:31:52 +04:00
Sine Jespersen
f1e38fa376 outline-hidden depend on highcontrastmode in selects 2025-06-16 10:26:54 +02:00
Timothy Jaeryang Baek
afca606063 refac: banner scrollbar 2025-06-16 12:06:33 +04:00
Sine Jespersen
0d473a456a maje outline-hidden depend on highContrastMode due to accessibility 2025-06-16 10:05:34 +02:00
Timothy Jaeryang Baek
4a2428123b refac 2025-06-16 12:04:31 +04:00
Timothy Jaeryang Baek
ba6fc385bb refac: styling 2025-06-16 12:04:15 +04:00
Timothy Jaeryang Baek
4db0da2b75 refac 2025-06-16 12:02:34 +04:00
Timothy Jaeryang Baek
5ab95cbc3a refac: remove redundant overlay with temp chat 2025-06-16 11:57:56 +04:00
Timothy Jaeryang Baek
3b0da53457 feat: load-url search param added
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-06-16 11:55:23 +04:00
Tim Jaeryang Baek
5d90e31ab6 Merge pull request #15009 from itk-dev/feature/password-button-accessibility-again
Feat: password button accessibility again
2025-06-16 11:52:39 +04:00
Timothy Jaeryang Baek
dc3055873b refac: display full model name on hover 2025-06-16 11:50:26 +04:00
Timothy Jaeryang Baek
f5d250820b refac 2025-06-16 11:46:02 +04:00
Timothy Jaeryang Baek
8892c14984 refac 2025-06-16 11:44:07 +04:00
Sine Jespersen
75883dc835 outline-hidden depend on high contrast mode 2025-06-16 09:43:47 +02:00
Sine Jespersen
d1677635a5 add label visible to screen readers to sensitive input 2025-06-16 09:41:29 +02:00
Sine Jespersen
400c4c3d12 add aria pressed to toggle visibility button, to show current state 2025-06-16 09:40:41 +02:00
Timothy Jaeryang Baek
a47e3b429e fix/refac: enforce multiple models permission to imported chats 2025-06-16 11:40:13 +04:00