ECHO-320 Refactor Project Chat to always display Chat Templates#235
ECHO-320 Refactor Project Chat to always display Chat Templates#235
Conversation
WalkthroughThe conditional logic for displaying the Changes
Estimated code review effort1 (~2 minutes) 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧠 Learnings (2)📓 Common learningsecho/frontend/src/routes/project/chat/ProjectChatRoute.tsx (2)Learnt from: ussaama Learnt from: ussaama 🧰 Additional context used🧠 Learnings (2)📓 Common learningsecho/frontend/src/routes/project/chat/ProjectChatRoute.tsx (2)Learnt from: ussaama Learnt from: ussaama ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
* Enhance conversation data handling by adding 'live' status (#234) * Introduced a new 'live' field to the Conversation type to indicate ongoing activity based on recent chunks. * Updated the useConversationsByProjectId hook to calculate the 'live' status for conversations. * Modified ConversationAccordion component to display a visual indicator for live conversations. * Update conversation filtering logic in components (#235) * Refined the ConversationAccordion component to exclude conversations from the "CLONE" source when displaying live status indicators. * Adjusted the OngoingConversationsSummaryCard to filter out both "DASHBOARD_UPLOAD" and "CLONE" sources for ongoing conversations, enhancing data accuracy and user experience. * Refactor conversation status indicators and localization updates * Updated the ConversationAccordion component to change the "Live" status label to "Ongoing" for better clarity. * Adjusted the filtering logic in the useConversationsByProjectId hook to exclude only "DASHBOARD_UPLOAD" sources from recent chunks. * Updated localization files for German, English, Spanish, French, and Dutch to reflect the new "Ongoing" status and ensure accurate mapping for conversation status messages. * fix type issues * fix issues --------- Co-authored-by: Sameer Pashikanti <sameer@dembrane.com>
Refactor ProjectChatRoute to always display ChatTemplatesMenu and simplify layout
* Enhance conversation data handling by adding 'live' status (#234) * Introduced a new 'live' field to the Conversation type to indicate ongoing activity based on recent chunks. * Updated the useConversationsByProjectId hook to calculate the 'live' status for conversations. * Modified ConversationAccordion component to display a visual indicator for live conversations. * Update conversation filtering logic in components (#235) * Refined the ConversationAccordion component to exclude conversations from the "CLONE" source when displaying live status indicators. * Adjusted the OngoingConversationsSummaryCard to filter out both "DASHBOARD_UPLOAD" and "CLONE" sources for ongoing conversations, enhancing data accuracy and user experience. * Refactor conversation status indicators and localization updates * Updated the ConversationAccordion component to change the "Live" status label to "Ongoing" for better clarity. * Adjusted the filtering logic in the useConversationsByProjectId hook to exclude only "DASHBOARD_UPLOAD" sources from recent chunks. * Updated localization files for German, English, Spanish, French, and Dutch to reflect the new "Ongoing" status and ensure accurate mapping for conversation status messages. * fix type issues * fix issues --------- Co-authored-by: Sameer Pashikanti <sameer@dembrane.com>
Summary by CodeRabbit