Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Resolves #11849
This PR is a resubmission as requested, as part of the now-closed #11850 .
Fixed
Fix the style issue with the
WeightedScore
componentWeightedScore
component slightly overlapped with other elements.Fix the issue of Echarts charts and Markdown tables being too wide in conversations
Add missing i18n items
Modification Details
This pull request includes several updates to the user interface and internationalization files. The most important changes involve adjustments to the layout and styling of components, as well as updates to translations.
User Interface Adjustments:
web/app/components/app/configuration/dataset-config/params-config/weighted-score.tsx
: Adjusted padding and margin in theWeightedScore
component to improve layout. [1] [2]web/app/components/base/chat/chat/question.tsx
: Modified padding and width properties in theQuestion
component to enhance the chat bubble appearance.web/app/components/base/markdown.tsx
: Updated theCodeBlock
component to make the chart container responsive and add a horizontal scroll for better display on smaller screens.Internationalization Updates:
web/i18n/en-US/common.ts
: Added a new translation key for "Image copied".web/i18n/zh-Hans/common.ts
: Added a new translation key for "图片已复制" (Image copied).