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.
What does this PR do
This pull request includes several changes aimed at fixing bugs, improving UI, and enhancing functionality in the Data Management module. The most important changes include bug fixes and UI optimizations in the release notes, updates to the
DatePicker
component, and enhancements to theDiscover
andInsight
components.Bug Fixes and Improvements:
docs/content.en/docs/release-notes/_index.md
: Fixed the error of obtaining suggestions of field's value in discover and optimized the UI of histogram and datepicker in discover.docs/content.zh/docs/release-notes/_index.md
: Fixed the error of obtaining suggestions of field's value in discover and optimized the UI of histogram and datepicker in discover.UI Enhancements:
web/src/common/src/DatePicker/index.jsx
: Adjusted the width ofButton.Group
based on the presence of theonRefresh
prop.web/src/common/src/DatePicker/index.less
: Updated the minimum and maximum width of the.play
class to 32px.Discover Component Enhancements:
web/src/pages/DataManagement/Discover.jsx
: UpdatedsearchInfo
to usetotal
instead ofhits
and addedhistogramProps
to the component. [1] [2]Insight Component Enhancements:
web/src/pages/DataManagement/Insight/Histogram/index.jsx
: Added a new component for displaying a histogram with a popover.web/src/pages/DataManagement/Insight/Histogram/index.less
: Added styles for the histogram popover.web/src/pages/DataManagement/Insight/InsightBar/index.tsx
: Integrated the new histogram component and updated props to includehistogramProps
. [1] [2] [3]SearchInfo Component Enhancements:
web/src/pages/DataManagement/Insight/SearchInfo/Info.tsx
: Changedhits
tototal
in the props and updated the display logic accordingly. [1] [2] [3]web/src/pages/DataManagement/Insight/SearchInfo/index.tsx
: Added logic to auto-hide the result count after a delay and updated the display logic to usetotal
instead ofhits
. [1] [2]Rationale for this change
Standards checklist