Commit Graph
5 Commits
Author SHA1 Message Date
Chris Scott 44240f0aab Fix TTS sanitization and message handling bugs
- Add duplicate config validation to backend
- Fix TTS button comparison using original text
- Track original vs sanitized text in TTS context
- Update toast import in message hooks
- Add type safety for error handling
2025-12-18 22:44:07 -05:00
Chris Scott 0e1517f068 Refactor JSONC parsing to shared utility and fix code duplication 2025-12-12 15:38:10 -05:00
Chris Scott 4eec4e5c27 Add comprehensive JSONC support for opencode.jsonc files
- Store raw JSONC content in database, parse on-the-fly for validation
- Return rawContent field in API response for editing with comments preserved
- Update frontend to use rawContent for config editing
- Accept string or object content in create/update requests
- Download configs as .jsonc when they contain comments
- Add strip-json-comments dependency for JSONC parsing
- Add .jsonc MIME type support in backend file service

This preserves comments in opencode.jsonc files when editing through the UI
2025-12-12 15:29:53 -05:00
Chris Scott d650287211 Fix CreateConfigDialog event propagation and mobile scrolling 2025-11-29 18:32:56 -05:00
Chris Scott c0c18a5bde Add settings dialogs and improve settings UI components 2025-11-29 18:01:25 -05:00