Add Tamil language support#318
Conversation
…ocket fix: initial switch and common flow websocket fixes
…ming-flow feat: ws streaming flow
…eMachineDefineChallenge - Implemented a new API endpoint for paraphrasing chat conversations. - Updated StateMachineDefineChallenge to utilize the paraphraseChatConversation function for improved user experience. - Enhanced ChatWindow component to display loading state during paraphrasing.
…ohini-app-frontend into feature/state-machine-challenges
…state-machine-challenges Feature/state machine challenges
management in PdfViewer component
…nce chat history update in StateMachineDefineChallenge - Streamlined loading state logic in SelectObjective to improve readability. - Updated StateMachineDefineChallenge to set comprehensive paragraph as user problem statement and enhance chat history management with new message structure.
…state-machine-challenges refactor: simplify loading state handling in SelectObjective and enha…
…essage handling in CommonFlow and ChatWindow - Updated Card component to conditionally render buttons based on the show prop and sourceUrl availability. - Added ToastContainer to CommonFlow for better user notifications. - Improved chat message handling in CommonFlow to manage sources more effectively. - Introduced formatSources function in ChatWindow to organize source data and display it conditionally.
…e message handling in CommonFlow - Updated Card component to conditionally render the "Show" button based on the presence of showSourcePopup. - Removed unnecessary console log in CommonFlow and improved message handling to include sources from extra_content.
…ts for improved state management and UI - Updated StateMachineDefineChallenge to include setParaphrasedProblemStatement for better handling of paraphrased content. - Modified ChatWindow to adjust CSS classes for improved layout of user messages. - Added paraphrasedProblemStatement to the initial state in aiCreationData for better state management.
- Added axios-retry package to handle retry logic for API requests. - Configured retry settings in chat flow endpoints to retry on 500 errors. - Updated ApiClient to utilize axios-retry for enhanced error handling. - Minor adjustments in TitleGeneration component for state management.
… configuration - Updated retryCondition in getObjectiveList and getActionList to use optional chaining for safer access to error response status. - This change prevents potential runtime errors when the error response is undefined.
…state-machine-challenges refactor: enhance Card component button visibility and improve chat m…
…state management - Updated Card component to conditionally render the "Show" button based on the presence of the show prop. - Added useMemo for flow type comparison in CommonFlow to optimize performance. - Improved handling of initial switch chat history in CommonFlow to ensure correct message sending. - Adjusted Source component to refine the logic for displaying the source button based on item chunks.
- Introduced a timeout mechanism for sending messages based on initial switch chat history and pending messages. - Ensured proper cleanup of timeouts to prevent memory leaks during component unmounting.
- Added a timeoutRef to track active timeouts for message sending, ensuring proper cleanup during component unmounting. - Improved the logic for setting timeouts based on initial switch chat history and pending messages to prevent memory leaks.
- Eliminated the timeout cleanup logic in the CommonFlow component as it is no longer needed with the updated timeout management approach. - This change simplifies the component's effect hook and enhances readability.
- Added getCommonFlowChatHistory to retrieve common flow chat history, improving the logic for message sending based on both initial switch chat history and common flow chat history. - Updated conditional checks to ensure proper handling of user messages and prevent unnecessary message sending when common flow chat history is empty.
…and adjusting WebSocket connection logic - Removed unused BOT user type from CONVERSATION_USER_TYPES to streamline the code. - Updated WebSocket connection logic to remove the unnecessary parameter, enhancing clarity and functionality.
…ro message query, improving loading condition handling.
…1.0.6.1 Release 1.0.6.1
…home page and reload the window after language selection.
…1.0.6.1 Update navigation logic in DynamicVoiceChat component to redirect to …
…eurship_development
… and loading states in DynamicVoiceChat component to improve debugging.
…app-frontend into release-1.0.6.1
…mline code and enhance readability.
…app-frontend into release-1.0.6.1
…1.0.6.1 Release 1.0.6.1
… by removing redundant checks and adding loading state for company bot data.
…1.0.6.1 Refactor DynamicVoiceChat component to improve loading state handling…
…ranslations; update session constants and DynamicVoiceChat flow mappings.
…1.0.6.1 Add PPPI completion messages in English, Hindi, Kannada, and Telugu t…
…sha_samvad Fixed the closing line message for shiksha samvad flow
…elugu translations; update DynamicVoiceChat to use new heading based on discussion flow.
…2.0.0 Guest Discussion Heading Change
…sha_samvad Chat Language to be stored in session storage
Replace threat of "restricted access or legal consequences" with encouraging tone across en/hi/kn/or/te translations and voice chat privacy policy text.
Translation file changes for Terms and Conditions
- add ta/translation.json with Tamil translations - add ODIYA to LANGUAGE_ENUMS - add Tamil (ta) to languageValueMap Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Important Review skippedToo many files! This PR contains 324 files, which is 174 over the limit of 150. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (20)
📒 Files selected for processing (324)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
public/locales/ta/translation.jsonwith 148 Tamil translationsODIYAtoLANGUAGE_ENUMSinenum.jsta: "தமிழ்") tolanguageValueMapTest plan
🤖 Generated with Claude Code