Find a file
Russell Ballestrini 2315e476c8 feat: add comprehensive session error regression tests to prevent modal failures
Add 10 new regression tests in Section 10 targeting specific errors encountered:

🚨 Session Error Prevention:
- Async generator wrapper validation (prevents "not iterable" errors)
- Dynamic import wrapper error handling (prevents undefined function errors)
- Module import path verification (prevents wrong module imports)
- Variable scope isolation (prevents direct chatHistory access)
- Runtime function availability (prevents window.function undefined errors)
- Module export consistency (prevents import/export mismatches)
- Async/await pattern validation (prevents promise handling errors)
- Error boundary patterns (prevents cascading failures)
- Generator function delegation (prevents yield* delegation errors)
- Function signature compatibility (prevents parameter mismatches)

These tests specifically target the JavaScript errors we encountered:
- sendMessageWithCustomHistory(...) is not iterable
- fetchModelsFromEndpoints is not a function
- loadConversationHistory is not a function
- clearConversationHistory is not a function
- saveConversationHistory is not a function
- getSelectedModel is not a function
- chatHistory is not defined
- window.openTTSModal is not a function
- window.openTranslateModal is not a function

All tests validate current fixes and prevent regression of these specific patterns.
2025-07-03 18:32:03 -04:00
css fix(translation): correct syntax and logic in translation modal 2025-07-01 18:23:02 -04:00
src feat: add comprehensive modal error regression tests and fix saveConversationHistory import 2025-07-03 18:27:11 -04:00
.gitignore f 2024-10-21 11:22:44 +00:00
.gitlab-ci.yml Update .gitlab-ci.yml file 2025-01-25 00:47:41 +00:00
biome.json feat(ui): add comprehensive language localization system 2025-07-03 11:09:10 -04:00
CLAUDE.md docs: update CLAUDE.md with Makefile and CI pipeline information 2025-07-03 18:22:43 -04:00
demo.html feat(translation): add smart translate dropdown with native language names 2025-07-02 18:43:35 -04:00
favicon.ico some theme 2024-10-15 21:46:57 +00:00
index.html feat(translation): add smart translate dropdown with native language names 2025-07-02 18:43:35 -04:00
integration_tests.js feat: add comprehensive session error regression tests to prevent modal failures 2025-07-03 18:32:03 -04:00
journal.rst docs: document translation system and update ui-translations module 2025-07-03 12:51:52 -04:00
Makefile feat: add translation verification to CI pipeline using verify-translations.js 2025-07-03 17:27:06 -04:00
package.json feat: add comprehensive Makefile for development workflow and add module type to package.json 2025-07-03 17:17:21 -04:00
simple_tests.js feat: add translation verification to CI pipeline using verify-translations.js 2025-07-03 17:27:06 -04:00
uncloseai.js feat(ui): add comprehensive language localization system 2025-07-03 11:09:10 -04:00
uncloseai.js.orig new file: src/chat.js 2025-06-30 20:28:42 -04:00
validate_exports.js fix: improve export validation to handle destructured exports 2025-07-03 18:07:52 -04:00