Skip to content

RDM-[11157,11158,11159,11187] : [JS-SDK]-Enhancements, Callbacks and Error Surfacing #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 29 commits into from

Conversation

giladAiola and others added 29 commits February 26, 2025 17:28
- Add Tabler Icons webfont for better visual indicators
- Redesign toggle buttons with more intuitive icons and state representation
- Improve layout and alignment of toggle controls and message container
- Update icon states dynamically during socket and recording interactions
- Delete jest.setup.js file containing global mocks for AudioContext
- Remove mock implementations for AudioWorkletNode, navigator.mediaDevices
- Clean up global mock configurations for URL, Blob, and socket.io
- Introduce AiolaSocketError and AiolaSocketErrorCode for structured error handling
- Add comprehensive error management in socket connection, recording, and keyword setting
- Implement keyword persistence and automatic resending on reconnection
- Update demo and library to support more granular error reporting and recovery
- Improve error logging and event handling for better debugging and user experience
- Delete aiola_streaming_sdk, aiola_tts_sdk, and their associated example directories
- Remove JavaScript client implementations for streaming and text-to-speech services
- Clean up redundant SDK and example code that is no longer in use
- Add AiolaSocketNamespace enum for standardized socket namespaces
- Enhance AiolaSocketConfig interface with more flexible configuration
- Implement default micConfig values for easier client initialization
- Update README with comprehensive configuration examples and references
- Refactor endpoint building to use baseUrl and namespace dynamically
- Separate example script in demo for better code organization
- Update TTS client to use form-urlencoded requests
- Add comprehensive voice selection and retrieval methods
- Enhance error handling and response processing
- Update README and demo with new voice selection approach
- Modify test suite to reflect new API interaction patterns
- Add .DS_Store to .gitignore to prevent system file tracking
- Modify TTS library tsconfig to exclude TypeScript test files from compilation
- Update package.json to serve with SSL certificate
- Add http-server as a dev dependency
- Implement socket error handling tests in STT library
- Modify AiolaStreamingClient to stop recording on socket errors
- Update demo script with placeholder configuration values
- Add instructions to run examples using `npm run serve` in root directory
- Simplify server startup steps in STT and TTS demo README files
- Provide consistent guidance for accessing example applications
- Update script.js to use generic placeholders for sensitive configuration
- Remove specific testing credentials
- Prepare demo script for easier configuration by users
- Introduce default voice support in AiolaTTSClient for speech synthesis and streaming
- Update README to reflect current SDK version and provide clearer usage examples
- Modify TTS demo to utilize new features and improve user experience
- Add tests to ensure error handling when no voice is provided for synthesis and streaming
- Add new dependencies for Rollup and TypeScript plugins in package.json and package-lock.json
- Update STT demo script to use a bundled version of the library and replace hardcoded credentials with specific testing values
- Modify AiolaStreamingClient to support websocket transport and improve connection handling
- Enhance tests for socket connection and keyword management in the STT library
- Add error handling and recording status callbacks in the AiolaStreamingClient
- Update README with detailed connection and recording instructions, including permission handling
- Improve STT demo script with additional logging for event callbacks
- Bump package version to 0.0.2 and add tests for automatic recording and permission handling
…for concurrent recordings and socket disconnections

- Enhance tests for socket connection and recording status management
- Update TTS client to remove unnecessary console logs and streamline voice retrieval
- Update jest.config.js to include isolatedModules and diagnostics settings for improved TypeScript support.
- Modify testMatch pattern to include tests from the tests directory.
- Refactor jest.setup.ts to utilize a centralized setup function for global mocks, improving test maintainability.
- Introduce additional test cases for error handling and socket connection scenarios in the AiolaStreamingClient.
- Remove outdated index.test.ts file to streamline test organization.
Copy link

sonarqubecloud bot commented Apr 3, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@giladAiola giladAiola closed this Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants