Skip to content
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

refactor: Update Session history layout #485

Merged
merged 2 commits into from
Dec 11, 2024
Merged

refactor: Update Session history layout #485

merged 2 commits into from
Dec 11, 2024

Conversation

530051970
Copy link
Collaborator

@530051970 530051970 commented Dec 11, 2024

Fixes #
Update Session history layout

🤖 AI-Generated PR Description (Powered by Amazon Bedrock)

Description

This pull request updates the localization files (en.json and zh.json) with new translations for the chatbot feature. Additionally, it modifies the ChatBot.tsx file to incorporate the new translations and improve the user experience of the chatbot interface.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

File Stats Summary

File number involved in this PR: 3, unfold to see the details:

The file changes summary is as follows:

Files
Changes
Change Summary
source/portal/src/locale/en.json 3 added, 0 removed The code changes add new keys for "conversation", "chatHistory", "chatHistoryDescription", and modify the description for "chat".
source/portal/src/locale/zh.json 3 added, 0 removed 这些代码更改添加了"conversation"、"chatHistory"和"chatHistoryDescription"新的字符串资源,可能与显示聊天历史记录相关。
source/portal/src/pages/chatbot/ChatBot.tsx 11 added, 11 removed The code changes update the navigation links, replace "chatbot" with "conversation", and modify the chat interface to display chat history or a new chat based on the presence of a history session ID. It also conditionally renders the input field and "Start New Chat" button based on the history session ID.

@530051970 530051970 requested a review from NingLu December 11, 2024 02:56
@NingLu NingLu merged commit 96b8ba5 into dev Dec 11, 2024
6 checks passed
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