Commit graph

82 commits

Author SHA1 Message Date
37722fe392 fix floating button by removing duplicate check before creation 2025-06-30 16:55:05 -04:00
0b573a2a86 implement class-based initialization system and DRY refactoring for uncloseai.js
- Add .uncloseai class support with data-features configuration
- Create shared utility functions for buttons, chat messages, TTS controls, voice selects, and modal headers
- Refactor class-based feature creators to use shared utilities
- Add comprehensive documentation for class-based integration in index.html
- Add live examples of class-based usage in demo.html
- Maintain backward compatibility with existing floating button and API functions
2025-06-30 16:50:16 -04:00
db57965ef4 fix unicode handling in content hash generation for hermes introduction caching 2025-06-30 15:54:53 -04:00
fac46e5afa make modal use full viewport height and react to onscreen keyboard changes 2025-06-30 15:50:02 -04:00
6c0f3df6ef improve close button styling for PureCSS with proper theming and hover effects 2025-06-30 15:43:23 -04:00
b2a63f44f4 add auto-scroll to bottom for all chat messages and streaming responses 2025-06-30 15:26:01 -04:00
6e84ee58b1 fix TTS button text, progress indicator z-index, and hermes introduction loading feedback 2025-06-30 15:14:44 -04:00
c318e68b5a fix hermes introduction to add to chat history and update system prompt with hermes identity 2025-06-30 14:55:51 -04:00
d6b28dc126 remove max-width/height constraints from modal and reduce button min-width for mobile responsiveness 2025-06-30 14:35:52 -04:00
9340c410ff align labels and dropdowns horizontally using grid layout 2025-06-30 13:21:15 -04:00
79d8c590fd convert modal layout from flexbox to CSS grid 2025-06-30 12:01:42 -04:00
0cc64921cf override min-width constraints to fix modal hiding on narrow mobile screens 2025-06-30 11:51:24 -04:00
08eae89f5b add webpage title under hermes chat and move action buttons above model selection 2025-06-30 11:44:09 -04:00
48d4261a54 make modal fullscreen on mobile - 100% width and height 2025-06-30 11:41:21 -04:00
53693f5ff0 fix voice label styling to respect USE_CUSTOM_STYLING flag 2025-06-30 09:19:25 -04:00
4cdbcbcbc3 Fix TTS modal z-index and scale down modal for PureCSS
- Fixed TTS modal z-index detection after dialog conversion (hermes-modal vs hermes-modal-backdrop)
- Added 60% scale transform to modal when custom styling disabled for better fit
- Reduced chat area minimum heights (300px->200px, 250px->150px) for more compact layout
- Modal now appears properly sized for PureCSS framework integration
2025-06-29 21:51:55 -04:00
d21913611b Convert Hermes modal to dialog element and reduce CSS in JS
- Changed Hermes modal from div+backdrop to proper dialog element like TTS modal
- Removed inline CSS when custom styling disabled, using semantic classes instead
- Added uncloseai-controls and uncloseai-button-group classes for framework styling
- Modal now properly inherits CSS framework styling without hardcoded backgrounds
- Cleaner separation between custom styling and framework integration
2025-06-29 21:36:02 -04:00
407713d1b7 Improve floating button size and fix modal layout/theming
- Increased floating button width from 80px to 120px for better proportions
- Added proper minimum heights to chat areas for PureCSS sites
- Removed hardcoded white background from modal to respect dark theme
- Improved spacing and padding for framework consistency
2025-06-29 21:12:36 -04:00
b78bc6ab2f Fix Hermes modal to respect styling configuration
Applied conditional styling to Hermes modal header, container, title, close button, and send button. Modal now properly inherits framework styling when UNCLOSEAI_CUSTOM_STYLING is false, removing gradients and custom fonts for clean PicoCSS integration.
2025-06-29 19:32:13 -04:00
459291addf Add optional styling system and disable custom styling for this repo
- Added USE_CUSTOM_STYLING configuration flag to uncloseai.js
- TTS modal now uses clean HTML elements when custom styling disabled
- Updated index.html and demo.html to disable custom styling
- This repo will now use clean PicoCSS styling instead of custom gradients
- Other sites can still enable custom styling by setting window.UNCLOSEAI_CUSTOM_STYLING = true
2025-06-29 19:22:06 -04:00
888910c8b4 Consolidate and improve TTS modal, add theme-aware floating button
- Consolidated duplicate TTS modals into single function with smart z-index
- Updated floating button to be theme-aware (black/white based on dark mode)
- Added toggle functionality to floating button (click to open/close modal)
- Fixed voice controls layout with proper line breaks
- Redesigned TTS modal with consistent styling matching site theme
2025-06-29 19:02:35 -04:00
7698a63362 Replace popup menu with full Hermes chat modal
Replaced simple skills popup with comprehensive modal interface featuring chat area, model/voice selection, action buttons (Read Page, TTS, Refresh Models), file upload, and TTS playback for responses. Modal uses ChunkFive branding and gradient styling.
2025-06-29 18:46:33 -04:00
af67a7be99 Add floating AI button with skills menu
Added always-on floating 'uncloseai.' button in bottom right corner that provides quick access to all AI skills: Chat, Read Page, TTS Anything, Upload File, and Refresh Models. Button uses ChunkFive font and gradient styling with smooth animations.
2025-06-29 18:36:44 -04:00
84a90f4dc2 AI responses now use main page voice selection
new file:   CLAUDE.md
	modified:   uncloseai.js
2025-06-29 18:11:05 -04:00
9ce4e261e0 disable analytics.unturf.com 2025-06-01 09:08:30 -04:00
6f2be4436b Merge branch 'Groupr-master-patch-68456' into 'master'
Update uncloseai.js Removed naptha

See merge request engineering/unturf/ai.unturf.com!2
2025-05-24 15:52:18 +00:00
6d4857503a Update index.html 2025-05-23 19:00:24 +00:00
c1fcb56aa6 Update uncloseai.js Removed naptha 2025-05-23 14:42:20 +00:00
faea5e1628 Update uncloseai.js 2025-04-22 11:24:11 +00:00
ce5f6adf3e redundant hermes 2025-04-21 21:47:24 +00:00
0bf99fbba8 redundant hermes on 4090 2025-04-21 20:07:25 +00:00
90b7c3fcdd Update uncloseai.js 2025-04-21 19:55:44 +00:00
4f81c0c3e2 Update uncloseai.js 2025-03-29 13:06:12 +00:00
efcb776f7c Update uncloseai.js 2025-03-16 01:32:09 +00:00
0414ed3ad8 Update uncloseai.js 2025-02-28 13:37:07 +00:00
f143d4180c Update uncloseai.js 2025-02-25 12:13:57 +00:00
a7ecdcb7e2 Update uncloseai.js 2025-02-19 14:35:50 +00:00
a22b4ddeaf Dynamic model chooser!
modified:   uncloseai.js
2025-02-19 07:59:23 -05:00
d26ab6dc76 another attempt to turn context window 2025-02-02 12:27:23 -05:00
7abe4975de much bigger context window switching to fp8!
modified:   index.html
	modified:   uncloseai.js
2025-02-01 14:29:39 -05:00
472d2e1100 Update .gitlab-ci.yml file 2025-01-25 00:47:41 +00:00
cbfa7af914 Update .gitlab-ci.yml file 2025-01-25 00:47:03 +00:00
68fdd28f7a Update .gitlab-ci.yml file 2025-01-25 00:46:42 +00:00
root
89d12da47a YOLO
modified:   uncloseai.js
2024-12-09 15:09:28 +00:00
root
ada3297b59 modified: uncloseai.js 2024-12-09 14:12:40 +00:00
root
c44eb6ffcd logo goes to home 2024-12-09 13:58:41 +00:00
root
9f1219ca1e modified: index.html 2024-12-09 13:56:44 +00:00
root
a245e48c20 TTS for user uploaded content for uncloseai.js
modified:   uncloseai.js
2024-12-09 12:09:30 +00:00
root
a833cb5699 progress indicator for upload processing.
demo.html page

	new file:   demo.html
	modified:   uncloseai.js
2024-12-08 22:59:06 +00:00
root
68ddb3d054 MegaFarce pdg and doc uploads to chat
modified:   uncloseai.js
2024-12-08 22:41:22 +00:00