You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Integrate WidgetConfigProvider
- Added WidgetConfigProvider to App component for centralized configuration management.
- Updated Logo component to load a logo from a CDN if available, with fallback to a local asset.
- Enhanced NavBar component to conditionally display donation and help buttons based on configuration settings.
- Refactored sound configuration to utilize WidgetConfig for audio sources, ensuring flexibility in audio management.
- Set default logo source in Logo component based on language selection.
- Adjusted NavBar component to conditionally handle URLs, avoiding 'no' values for donation and homepage links.
- Removed unnecessary state management for instructions in useAudio hook, optimizing audio playback logic.
* feat: Enhance WidgetConfigProvider with i18n support for URL configuration
- Integrated useTranslation from react-i18next to localize default URLs in WidgetConfigProvider.
- Updated default URL values to utilize translation keys for improved internationalization.
- Removed unused parameters from test functions that don't require page access
- All linting issues now resolved
- Added logoSrc to WidgetConfigContext for dynamic logo handling based on configuration.
- Updated WidgetConfigProvider to manage logo and audio URL parameters.
- Refactored Logo component to utilize logoSrc from context, improving logo management.
- Introduced new tests for widget configuration, verifying logo and audio functionality.
- Enhanced Playwright tests for better coverage of widget configuration scenarios.
0 commit comments