# Release-20250624

- Merge pull request [#3998](https://github.com/tidbcloud/dbaas-ui/pull/3998) from tidbcloud/refactor/migrate-2-sharedcluster [906a2116](https://github.com/tidbcloud/dbaas-ui/commit/906a2116227f9d4bbdc77068e3ed4420b77052ba)

- Merge pull request [#4000](https://github.com/tidbcloud/dbaas-ui/pull/4000) from tidbcloud/fix/br_dual_region [9b71b821](https://github.com/tidbcloud/dbaas-ui/commit/9b71b821e1f92b67872f11b1b56235e951c94374)

- Merge pull request [#3995](https://github.com/tidbcloud/dbaas-ui/pull/3995) from tidbcloud/update-chatbot-api [3235ca0a](https://github.com/tidbcloud/dbaas-ui/commit/3235ca0a487c2fd87456dce2a6d9724f37bf1be7)

  - refactor: reorganize imports and enhance dual region backup logic [e1b914ec](https://github.com/tidbcloud/dbaas-ui/commit/e1b914ec30249b6c132fbb7e1a988d5ddfa18794)

  - fix: parse message content correctly in useMessages hook for proper markdown rendering [4a892115](https://github.com/tidbcloud/dbaas-ui/commit/4a8921151dde87f57243291ee9ffb267c2871384)

  - refactor: migrate 2 sharedCluster [f84b9d26](https://github.com/tidbcloud/dbaas-ui/commit/f84b9d26c60d49abc185fc31bc654aea2bdc928b)

  - chore: add comment to clarify public key usage in Chatbot API authorization header [7ac388ae](https://github.com/tidbcloud/dbaas-ui/commit/7ac388aea858ba83542cdfafa51bafbf13fbc416)

- Merge pull request [#3997](https://github.com/tidbcloud/dbaas-ui/pull/3997) from tidbcloud/feat/sqleditor-explore-data [741738c8](https://github.com/tidbcloud/dbaas-ui/commit/741738c8072daf209e40db8dfd8ed1f61131a425)

- Merge pull request [#3996](https://github.com/tidbcloud/dbaas-ui/pull/3996) from tidbcloud/feat/cmek-ga [3f52e95c](https://github.com/tidbcloud/dbaas-ui/commit/3f52e95c6da85bc77f757ca79301ead1650169b0)

  - fix: explore data max value opti [7a7a6296](https://github.com/tidbcloud/dbaas-ui/commit/7a7a6296ded5aa4d30411b77d96b830e411b4188)

  - fix: encryption access entry disabled [ef130b60](https://github.com/tidbcloud/dbaas-ui/commit/ef130b60b4abf1b254d97a47f9a6c8579b10c516)

  - fix: sqleditor explore data add default limit value [c39a71d8](https://github.com/tidbcloud/dbaas-ui/commit/c39a71d811eaca572a87f31176150240b15df1df)

- Merge pull request [#3968](https://github.com/tidbcloud/dbaas-ui/pull/3968) from tidbcloud/feat/log-redaction [0dd6bda3](https://github.com/tidbcloud/dbaas-ui/commit/0dd6bda3f15b675ca3f8bfcdfdf18ece4a21822a)

  - fix: encryption access entry disabled [4c7784be](https://github.com/tidbcloud/dbaas-ui/commit/4c7784be458431999dd30bd3a2cacbe784a0f970)

  - chore: fix component name [97593fd1](https://github.com/tidbcloud/dbaas-ui/commit/97593fd179f23fe604952d08421ecfca56a631f8)

  - fix: cmek link [340c83a9](https://github.com/tidbcloud/dbaas-ui/commit/340c83a997786264eac78d2ebc8fab9a9c02d9e3)

  - fix: remove services files [2685ffba](https://github.com/tidbcloud/dbaas-ui/commit/2685ffba3d04a183b2e2911e064bdccb5aa22a13)

  - fix: cmek typo add empty [8a2472e7](https://github.com/tidbcloud/dbaas-ui/commit/8a2472e7629bc94eb6116e57d80a3ab74d47a45d)

  - feat: cmek ga typo [708f1d2c](https://github.com/tidbcloud/dbaas-ui/commit/708f1d2c58bde68e090d51075ef7b35fb66e940a)

  - feat: encryption list add cloud [84b57109](https://github.com/tidbcloud/dbaas-ui/commit/84b57109f43952654239f670dd9d225ae187872c)

  - feat: cmek ga typo [00b45485](https://github.com/tidbcloud/dbaas-ui/commit/00b45485360a5d0623f03e2628f7e7371685214d)

  - fix: update preset messages in Chats component for improved user guidance [879a08c1](https://github.com/tidbcloud/dbaas-ui/commit/879a08c19fea3aefda08ba513a30da7b680e2e3b)

- Merge branch 'dev' into update-chatbot-api [f4f385d4](https://github.com/tidbcloud/dbaas-ui/commit/f4f385d49a00fba01384aaa64f913fd413766ed7)

  - refactor: update Chatbot API integration and feedback handling [a96e140f](https://github.com/tidbcloud/dbaas-ui/commit/a96e140fd5abc2f158888bae3af9fb522e454e83)

- Merge pull request [#3994](https://github.com/tidbcloud/dbaas-ui/pull/3994) from tidbcloud/hotfix/sql_editor [c315e207](https://github.com/tidbcloud/dbaas-ui/commit/c315e207ceb0d1a79ff409873d23fc3dcd42de72)

  - refactor: clean up action icon click handler in DatabaseList component [a5917dfe](https://github.com/tidbcloud/dbaas-ui/commit/a5917dfe130f1c4097023dd265db02ddb275abb3)

  - revert import sorts [964fe9d1](https://github.com/tidbcloud/dbaas-ui/commit/964fe9d16f4d1eb212c2f90a605f6611714c8f19)

  - hotfix: 202506231901 [bb0f5774](https://github.com/tidbcloud/dbaas-ui/commit/bb0f5774099aadcc4b8adb302ce12215e8f4fed7)

  - hotfix: update action icon visibility and make menu uncontrolled in sql editor db tree [00bbb418](https://github.com/tidbcloud/dbaas-ui/commit/00bbb4182083def1bcdffced7b25c7597b1202a9)

- Merge pull request [#3991](https://github.com/tidbcloud/dbaas-ui/pull/3991) from tidbcloud/feat/cmek_br [8f07dbbb](https://github.com/tidbcloud/dbaas-ui/commit/8f07dbbb04633ce1a2cadf890debfb124b580440)

  - feat: add CMEK accordion item to RestoreForDedicatedFromRecycleBin screen [4f85ae28](https://github.com/tidbcloud/dbaas-ui/commit/4f85ae2808e5f1cee92cb774dec9f552bd080944)

  - fix: refine CMEK alert message and ensure region selection is disabled for CMEK projects [c1dad11b](https://github.com/tidbcloud/dbaas-ui/commit/c1dad11b319d1c37d8067d2b5c1fb63796403ca7)

  - feat: add CMEK accordion item to RestoreForDedicated screen [a7ce789d](https://github.com/tidbcloud/dbaas-ui/commit/a7ce789d9e44f3e82a10c88e42e594714c27ff10)

  - fix: update region selection to be disabled for CMEK projects and add alert for region constraints [c72a99b1](https://github.com/tidbcloud/dbaas-ui/commit/c72a99b12648384a52cc9220e0287b211eb065d2)

- Merge pull request [#3990](https://github.com/tidbcloud/dbaas-ui/pull/3990) from tidbcloud/hotfix/oauth-org-fullname [21f2b2a5](https://github.com/tidbcloud/dbaas-ui/commit/21f2b2a54d704529cad855bd17e3e1442caec6be)

  - hotfix: 202506231034 [fadd1281](https://github.com/tidbcloud/dbaas-ui/commit/fadd128146a596389756e90aa73ea0169a18db9c)

- Merge pull request [#3987](https://github.com/tidbcloud/dbaas-ui/pull/3987) from tidbcloud/fix/region-select-disabled [cdc4d5f0](https://github.com/tidbcloud/dbaas-ui/commit/cdc4d5f0c8c6633ce10b41a2245c78c2e5a51c77)

- Merge pull request [#3988](https://github.com/tidbcloud/dbaas-ui/pull/3988) from tidbcloud/fix/region-select-disabled [7fe64791](https://github.com/tidbcloud/dbaas-ui/commit/7fe64791855cb5349f74a366ce894637d649a215)

  - hotfix: 202506191902 [0222d2a3](https://github.com/tidbcloud/dbaas-ui/commit/0222d2a327edec41efcb4d53db248265644d67be)

  - fix: region selection disabled [00b4f2ec](https://github.com/tidbcloud/dbaas-ui/commit/00b4f2ec25a03c0ab1d69c3b6f2bbf613cbf8656)

  - feat: adjust modal with [4a2e0db0](https://github.com/tidbcloud/dbaas-ui/commit/4a2e0db0b5ea1b5dd6538bbb135b5ead42a1fe0a)

- Merge pull request [#3985](https://github.com/tidbcloud/dbaas-ui/pull/3985) from tidbcloud/hotfix/20250619-sqleditor-empty-result [0d26b62a](https://github.com/tidbcloud/dbaas-ui/commit/0d26b62ae112e217c656598d69a44f7fa340d61a)

- Merge pull request [#3983](https://github.com/tidbcloud/dbaas-ui/pull/3983) from tidbcloud/fix/tcds-guidance-modal-close [a4d62cb0](https://github.com/tidbcloud/dbaas-ui/commit/a4d62cb0e17c0dd01d5f38a3965a3b241a0a1705)

- Merge pull request [#3980](https://github.com/tidbcloud/dbaas-ui/pull/3980) from tidbcloud/hotfix/20250618-sqleditor-download-csv [1c28f4a0](https://github.com/tidbcloud/dbaas-ui/commit/1c28f4a0be606123d739f9496d324e607e6a4714)

- Merge pull request [#3979](https://github.com/tidbcloud/dbaas-ui/pull/3979) from tidbcloud/fix-metrics-icon [b2afb7cc](https://github.com/tidbcloud/dbaas-ui/commit/b2afb7ccd2bd1811c0e3eb7c6133645e7c61aca6)

  - feat: pm feedbacks [c02db4ba](https://github.com/tidbcloud/dbaas-ui/commit/c02db4ba38d3774d92ce81dbf2facd6a24cf67e1)

  - feat: log redaction [63922238](https://github.com/tidbcloud/dbaas-ui/commit/6392223816f172c104fb0af08d3ddf2e4a9eb910)

  - fix: LabelTooltip style [f5fc8372](https://github.com/tidbcloud/dbaas-ui/commit/f5fc83721ea5c53c0083fc6a85157b85db2d8429)

- Merge pull request [#3935](https://github.com/tidbcloud/dbaas-ui/pull/3935) from tidbcloud/feat/import_v4 [9e0b016c](https://github.com/tidbcloud/dbaas-ui/commit/9e0b016cd1d24599f6209c90ac92e2711729772e)

  - fix: use v3 import temporarily [f05a0706](https://github.com/tidbcloud/dbaas-ui/commit/f05a0706c6323fec05013118af3b893b7591c48f)

  - refactor: move file [8b3b617e](https://github.com/tidbcloud/dbaas-ui/commit/8b3b617e034bb58f46b95b697c590f7339b81bf8)

  - fix: adjust S3 bucket access method for Aliyun clusters - Updated `s3_bucket_access_method` to use 'access_key' for Aliyun clusters, ensuring correct access configuration. - Maintained 'manual' access method for other cloud providers, enhancing flexibility in import settings. [8cd0e3c5](https://github.com/tidbcloud/dbaas-ui/commit/8cd0e3c5c65dd8cc9e920d96415a72722e9e1055)

  - fix: update bucket URI generation for import sources - Renamed `getBucketURIExampleV2` to `getBucketURIByImportSourceTypeServerless` for clarity and consistency with the new `ImportSourceTypeEnum`. - Adjusted the function to utilize `ImportSourceTypeEnum` for Azure, AWS, GCP, and Aliyun, ensuring accurate URI generation based on selected storage provider. - Updated `ConfigureConnection` to reflect the new function, enhancing user guidance for source URI input. [902a6ba1](https://github.com/tidbcloud/dbaas-ui/commit/902a6ba1b3706faf2b7db21e1ab528326decf477)

  - fix: update storage provider handling in import process - Replaced `CloudProviderConst` references with `ImportSourceTypeEnum` for AWS, GCP, Azure, and Aliyun in `normalizeImportSource` and related components, improving consistency and clarity in the import logic. - Adjusted default storage provider in `ConfigureConnection` to use `ImportSourceTypeEnum.S3`, aligning with the new enum structure. - Enhanced `sourceTypeOptions` to reflect the updated enum values, ensuring accurate representation of available cloud storage options. [17360902](https://github.com/tidbcloud/dbaas-ui/commit/17360902b54e47e13bb6e45bdafdeb60f4bb2378)

  - fix: streamline bucket URI generation in getBucketURIExampleV2 - Refactored `getBucketURIExampleV2` to use a common path variable for generating URIs across Azure, AWS, GCP, and Aliyun, improving code maintainability. - Updated return statements to ensure consistent URI formatting for all cloud providers. [e83f4f34](https://github.com/tidbcloud/dbaas-ui/commit/e83f4f34001afd942e15e92d9dc7a96a1ada3c0d)

  - fix: add support for multiple cloud storage URIs in import - Introduced `getBucketURIExampleV2` to generate URIs for Azure, AWS, GCP, and Aliyun, enhancing flexibility in source input. - Updated `source_uri` placeholder in `ConfigureConnection` to utilize the new function, improving user guidance based on selected storage provider. [fb8a08eb](https://github.com/tidbcloud/dbaas-ui/commit/fb8a08eb75e647dfb83a0b40d46c49c323b84cf4)

  - fix: enhance import source handling for multiple cloud providers - Updated `normalizeImportSource` to support Azure Blob and Aliyun OSS, adding respective authentication and target table info handling. - Modified `ConfigureConnection` to dynamically render input components based on selected storage provider, improving user experience for GCS, Azure, and Aliyun imports. [826ba0ad](https://github.com/tidbcloud/dbaas-ui/commit/826ba0ad0abd00280aa1a26c33935d0475b76ef9)

  - fix: enforce required fields in custom mapping inputs - Added `rules={{ required: true }}` to target table input fields, ensuring users must provide necessary information for successful imports. - Adjusted `Group` component alignment for better layout consistency in the form. [2c137b03](https://github.com/tidbcloud/dbaas-ui/commit/2c137b03bbf37afb8b7da39d5d0a782ce08c7743)

  - fix: auto-detect data format in custom mapping - Added logic to automatically detect the data format based on file extension when using custom mapping, enhancing import accuracy. - Integrated `FileExtensions` to streamline format checks for CSV, SQL, and PARQUET files, improving user experience during the import process. [e925d4d1](https://github.com/tidbcloud/dbaas-ui/commit/e925d4d1559302aecd04bdb6ab9aa2a6fa38af5e)

  - fix: enhance source input with hover info and update placeholders - Added a HoverCard to the source label, providing detailed guidance on file pattern specifications and wildcards. - Updated placeholder text for target database and table inputs to improve clarity for users. [6d8ce01d](https://github.com/tidbcloud/dbaas-ui/commit/6d8ce01d02aaa33c6a27dcbe00cc9b4221c63709)

  - fix: enhance single file import detection and naming convention logic - Added logic to auto-detect if the import source is a single file and set the `is_single_file` value accordingly. - Implemented automatic detection of data format based on file extension for single files, improving import accuracy. - Introduced checks for TiDB dumpling naming conventions, setting `use_tidb_dumpling_naming_conventions` based on filename structure, enhancing user guidance for file imports. - Updated handling of target table information when naming conventions are not followed, ensuring clarity in the import process. [a50ad200](https://github.com/tidbcloud/dbaas-ui/commit/a50ad200083c6b20c10de6f9d95b98b3e414d72c)

  - fix: add is_single_file logic to import process - Introduced `is_single_file` default value to the import form, enhancing the handling of single vs. multiple file imports. - Updated logic in `ConfigureConnection` to set `data_format` based on the file extension, improving import accuracy and user experience. [8bde5d1c](https://github.com/tidbcloud/dbaas-ui/commit/8bde5d1ca04b6b6c5071b78ed4fd87e96490b073)

  - fix: reorder logic in normalizeImportSource for clarity - Moved the storage provider check after filtering target table infos to improve code readability and maintainability. - This change ensures that the filtering logic is clearly separated from the provider-specific handling, enhancing overall code structure. [adcc9f94](https://github.com/tidbcloud/dbaas-ui/commit/adcc9f94c32241d7c6d4fbeef1bbd68be3a4fafd)

  - fix: enhance PreCheck component with expandable file list - Added an expandable feature to the `PrecheckResultItem` to show multiple matched data files, improving user interaction. - Introduced `IconChevronDown` for visual feedback on expandable sections, enhancing the overall user experience during the import process. [c1b3c702](https://github.com/tidbcloud/dbaas-ui/commit/c1b3c702d8f04bf2e3fd3fb11f944a5405fee596)

  - fix: enhance PreCheck component layout for target tables - Added `mah={600}` and `sx={{ overflowY: 'auto' }}` to the `Card.Section` for improved scrolling and visibility of target tables. This change enhances the user experience by ensuring that all target tables are accessible without layout issues. [4a7cb8fc](https://github.com/tidbcloud/dbaas-ui/commit/4a7cb8fc1c2ae36010721f491059a680f086ac00)

  - fix: set default storage provider to AWS in ImportFromCloudServerless - Updated the `storage_provider` default value to `CloudProviderConst.AWS` for consistency in the import process. - This change ensures users have a predefined provider, streamlining the initial setup. [5f0164c0](https://github.com/tidbcloud/dbaas-ui/commit/5f0164c093302bfd9ce33735db327c9e1f761d5f)

  - fix: update CSV format SVG files for improved design - Expanded the dimensions of the SVG files for better visibility and layout consistency. - Changed background colors and stroke colors to enhance contrast and readability. - Updated paths and elements to reflect a more modern design aesthetic, improving overall user experience. [e7b8c044](https://github.com/tidbcloud/dbaas-ui/commit/e7b8c044742e85177c891c020e5ac9041dfc9e93)

  - fix: update PreCheck component to handle naming conventions and custom mappings - Added logic to display messages based on whether naming conventions are followed or custom mappings are used, enhancing clarity for users during the import process. - Improved user guidance by clearly indicating how files will be imported based on the selected options. [634e861c](https://github.com/tidbcloud/dbaas-ui/commit/634e861cfe75198fb51baccdaf6648a091a1559a)

  - fix: enhance PreCheck component messaging for data file import - Updated the `Group` component to prevent wrapping and align items at the start, improving layout consistency. - Added a message to inform users to verify data format when no data files are found, enhancing clarity and user guidance during the import process. [a9578f80](https://github.com/tidbcloud/dbaas-ui/commit/a9578f809620260022eb2b88f5e4bfcaf686bd65)

  - fix: update placeholder for Source Files URI input in ImportFromCloudServerless step1 - Adjusted the placeholder for the `source_uri` input field to include a trailing slash, clarifying the expected format for users during the import process. [0ff6eca8](https://github.com/tidbcloud/dbaas-ui/commit/0ff6eca8da7085e8f53036edb6f92d1b57d31c8e)

  - fix: add alert for truncated file scans in PreCheck component - Introduced an alert to notify users when only the first 1000 files are scanned, emphasizing the importance of file naming conventions and formats to avoid import issues. - Updated imports to include `IconInfoCircle` for the new alert, enhancing user feedback during the import process. [39fd18df](https://github.com/tidbcloud/dbaas-ui/commit/39fd18dffe925be9b83ce7583f946371dcbcbd61)

  - fix: improve messaging in PreCheck component for table counts - Simplified the display of new and existing table counts by using template literals for better readability. - Removed redundant messaging about total tables, streamlining the user interface and enhancing clarity during the import process. [c79cd5f0](https://github.com/tidbcloud/dbaas-ui/commit/c79cd5f0e9ed3a8e5a5e7a31f1f661d9155394b5)

  - fix: refine PreCheck component error handling and messaging - Updated `disabled` state logic to check for `error_message` instead of `warning_message`, ensuring accurate user feedback during the import process. - Introduced new counts for tables being imported into existing tables and new tables using schema files, enhancing clarity in the UI. - Adjusted `FormErrorMessage` to only display validation errors, improving error handling consistency. - Updated `PrecheckResultItem` to reflect changes in error messaging, providing a clearer user experience. [c279b65c](https://github.com/tidbcloud/dbaas-ui/commit/c279b65cf985ce1698a379783aee292d150d1d52)

  - fix: update error messaging in import.swagger.json - Renamed `warning_message` to `error_message` for clarity in the API response, ensuring it accurately reflects the nature of the message. - Added `matched_schema_file` and `is_truncated` fields to enhance the response structure, providing more detailed information about the import process. [5b4a0fef](https://github.com/tidbcloud/dbaas-ui/commit/5b4a0fefa0966b5bfb3c0ed44a8cdb25d088f3cb)

  - fix: simplify normalizeImportSource function - Removed unused targetTableInfos parameter and streamlined the filtering logic to include custom_file checks, enhancing clarity and performance. - Updated PreCheck component to reflect the changes in normalizeImportSource, ensuring consistent data handling during the import process. [05b70852](https://github.com/tidbcloud/dbaas-ui/commit/05b7085267fde34e0da325564e4c98f5ab2c5b9f)

  - fix: enhance disabled state logic in PreCheck component - Updated the `disabled` state to include checks for target table warnings, improving user interaction by preventing actions when warnings are present. - Utilized `useMemo` for performance optimization in the calculation of the disabled state. [967223c0](https://github.com/tidbcloud/dbaas-ui/commit/967223c032bcfa798be26c2004fa1a0bd8c6545a)

  - fix: update PreCheck component UI and error handling - Replaced `color` prop with `c` for `IconCheckCircle` and `IconXCircle` to align with updated styling conventions. - Simplified `Card.Section` by removing unnecessary padding props. - Enhanced `PrecheckResultItem` layout with a `Box` wrapper for better styling and added a `HoverCard` for displaying warning messages, improving user experience during data import. [b69dfe8c](https://github.com/tidbcloud/dbaas-ui/commit/b69dfe8c2e5d7e4229ef92a7b86e5a8581469c73)

  - fix: enhance PreCheck component error messaging - Updated the `disabled` state to include a check for `warning_message`, preventing user actions when warnings are present. - Modified the `FormErrorMessage` to display the `warning_message` alongside validation errors, improving user feedback during the import process. [ee9e4ef2](https://github.com/tidbcloud/dbaas-ui/commit/ee9e4ef2166f05457771cdb74d4bed9f494fcae4)

  - fix: improve data file and table count messaging in PreCheck component - Updated the message in the PreCheck component to correctly pluralize "data file" and "table" based on the counts, enhancing clarity for users during the import process. [4eea8ec6](https://github.com/tidbcloud/dbaas-ui/commit/4eea8ec615858ed0d65987a5f714d1faa04a0184)

  - feat: add null value input field in CSV configuration - Introduced a new input field for specifying null values in the CSVConfiguration component, enhancing user control over data import settings. [1da219fa](https://github.com/tidbcloud/dbaas-ui/commit/1da219fab77886bd57da2fa78a1908615b843ae8)

  - fix: update CSV configuration link text for consistency - Changed "edit csv configuration here" to "edit CSV configuration here" for proper capitalization and improved readability in the ConfigureMapping component. [3dd3116e](https://github.com/tidbcloud/dbaas-ui/commit/3dd3116e402363ae696b76a08bf708ee4f9b6597)

  - fix: remove unused validation logic in PreCheck component - Eliminated the unused `validation_type` logic in the `onSubmit` function of the PreCheck component to clean up the code and improve readability. - Removed unnecessary import of `ImportValidationTypeEnum` as it is no longer needed. [f4167b68](https://github.com/tidbcloud/dbaas-ui/commit/f4167b68ebbb37d94cf3b5586e117e59af24ad30)

  - feat: add CSV format handling in normalizeImportOptions - Updated `normalizeImportOptions` to include `csv_format` when the selected data format is CSV, enhancing support for CSV configurations in the import process. [f24021f5](https://github.com/tidbcloud/dbaas-ui/commit/f24021f53fd3c3007c5b0343a6121705b01e2d65)

  - feat: add CSV configuration support in ConfigureMapping component - Introduced CSV format handling in the ConfigureMapping component, allowing users to edit CSV configurations through a popover interface. - Updated form data structure to include `csv_format` and integrated logic to conditionally render CSV configuration options based on selected data format. [2341e6aa](https://github.com/tidbcloud/dbaas-ui/commit/2341e6aa9e3f17f8ea33c0711da0ee255b7d9562)

  - fix: correct label typo in S3BucketAccess component - Changed label from "Credentials" to "Credential" in the S3BucketAccess component for consistency and clarity. [c452a9ff](https://github.com/tidbcloud/dbaas-ui/commit/c452a9fff68cd64d0dd7618a85fd15fa6acf758f)

  - fix: update Stack component in PrecheckResultItem for numeric font variant - Added `sx={{ fontVariantNumeric: 'tabular-nums' }}` to the Stack component in PrecheckResultItem to ensure consistent numeric formatting for displayed matched data files. [d86c9d0c](https://github.com/tidbcloud/dbaas-ui/commit/d86c9d0c2ca3ef5bb411eacc0130214c63fb034f)

  - feat: enhance PreCheck component with import validation and result display - Integrated validation and import creation logic using `useImportServiceValidateImport` and `useImportServiceCreateImport`. - Added loading state and error handling for the import process. - Updated UI to display the number of data files and target tables, with conditional rendering for success/error icons. - Introduced a collapsible section for detailed matched data files in the pre-check results. [35a55ccc](https://github.com/tidbcloud/dbaas-ui/commit/35a55ccc10c5bd8e073cc43b2debfb67a502eb77)

  - feat: enhance normalizeImportSource to support target table info - Updated `normalizeImportSource` function to accept an optional `targetTableInfos` parameter for improved handling of target table data from bucket scan results. - Adjusted the logic to map target table information when available, enhancing the import process for cloud sources. [03f830ab](https://github.com/tidbcloud/dbaas-ui/commit/03f830ab01a22fc96460f40919ece18d10a9c9e2)

  - feat: enhance PreCheck component with loading and error handling - Added loading and error states to the PreCheck component during file scanning. - Introduced visual feedback with Loader and icons for success/error messages. - Updated string interpolation for file import instructions to improve clarity. [bbfe8a1a](https://github.com/tidbcloud/dbaas-ui/commit/bbfe8a1a00cf5f1ce866cfed287e85f04aafc454)

  - fix: update string interpolation in ConfigureMapping component for clarity - Changed string interpolation from `{}` to `${}` for `db_name`, `table_name`, and `suffix` in the import instructions to ensure proper variable rendering in the UI. [eb8aa919](https://github.com/tidbcloud/dbaas-ui/commit/eb8aa919d60db3c57a2b5a5bae1376a958f9ce70)

  - feat: update import file type handling in Import feature - Added new file type mappings for SQL, AURORA_SNAPSHOT, CSV, and PARQUET to enhance import functionality. - Removed redundant import of ExportTargetTypeEnum for cleaner code. [32e7ef2b](https://github.com/tidbcloud/dbaas-ui/commit/32e7ef2b9ae868ea5f693253ad3aff08a7869ef3)

  - feat: enhance PreCheck component with cluster integration - Updated PreCheck to accept `cluster` prop for improved context during pre-check validation. - Integrated `useMount` to trigger pre-check API call with normalized import options and source data. - This change streamlines the import process for serverless clusters by ensuring relevant cluster data is utilized. [11d7a882](https://github.com/tidbcloud/dbaas-ui/commit/11d7a882c2f0c41a5f58ff65bfb6eca92c1691a8)

  - feat: add normalizeImportOptions function to handle import options - Introduced `normalizeImportOptions` to extract and structure file type from `ImportFromCloudFormData`. - This enhances data management for the import process in serverless clusters. [a57757f2](https://github.com/tidbcloud/dbaas-ui/commit/a57757f2cb098cab023243740c2a9a530f74746c)

  - feat: implement ImportFromCloud for serverless clusters with step-based wizard - Added ImportFromCloud component to facilitate importing from cloud storage with a multi-step wizard interface. - Integrated steps for connection configuration, mapping setup, and pre-check validation. - Created helper functions and types to manage form data effectively across steps. - Removed legacy step components to streamline the codebase. [d8ea5558](https://github.com/tidbcloud/dbaas-ui/commit/d8ea5558bea77489f5dcd403afbf4157a53eaf90)

  - fix: update onSubmit type in ConfigureMapping to use ConfigureMappingFormData - Changed the type of the `data` parameter in the `onSubmit` function from `any` to `ConfigureMappingFormData` for better type safety and clarity. [c23815e9](https://github.com/tidbcloud/dbaas-ui/commit/c23815e95ee1277e777baf4b2feea7e44fedc98a)

  - feat: enhance ConfigureConnection with S3 validation and error handling - Added validation for S3 bucket connection using `useImportServiceValidateImport`. - Implemented error messaging with `FormErrorMessage` for better user feedback. - Updated `s3_bucket_access_method` to support 'manual' and 'access_key' options. - Simplified source type options to only show AWS for now. - Refactored `onSubmit` to include connection testing before proceeding. [1fb30325](https://github.com/tidbcloud/dbaas-ui/commit/1fb303254da523776a6f64bc360d38f3c74d2fb5)

  - fix: update import path for ImportFromCloudForServerless component - Changed import statement to reference ImportFromCloudServerless for clarity and consistency in the codebase. [9234e9fd](https://github.com/tidbcloud/dbaas-ui/commit/9234e9fd0fd0bf77371d698bb1eb70bda07f28fc)

  - feat: implement ImportFromCloud component for serverless clusters - Added ImportFromCloud component with a step-based wizard for configuration. - Integrated form data management across steps using useSetState for better state handling. - Included steps for connection, mapping, and pre-check with respective components. [1460902f](https://github.com/tidbcloud/dbaas-ui/commit/1460902f153c45c1f7fc21c24927101848df46b2)

  - feat: add types for ImportFromCloud and enhance ConfigureConnection/Mapping forms - Introduced ImportFromCloudFormData type to combine connection and mapping form data. - Defined ConfigureConnectionFormData type for connection form fields. - Updated ConfigureMappingFormData type to include new fields and improved form handling. - Adjusted form initialization and input names for consistency and clarity. [571d5f5c](https://github.com/tidbcloud/dbaas-ui/commit/571d5f5c34af9685cbcee7bdcc0e303979456a36)

  - feat: update ConfigureMapping to conditionally render source and destination cards - Added logic to display source and destination cards based on the use of TiDB Dumpling naming conventions. - Updated text formatting in the cards for consistency. - Adjusted button layout for better alignment. [67107a53](https://github.com/tidbcloud/dbaas-ui/commit/67107a5363b228adad72a776b3c86e35fd27eb46)

  - feat: enhance ConfigureMapping with new form options - Added FormCheckbox for using TiDB Dumpling naming conventions. - Introduced FormRadioGroup for selecting data format with options for CSV, Parquet, Aurora, and SQL file. - Set default values for new form fields to improve user experience. [352d0f66](https://github.com/tidbcloud/dbaas-ui/commit/352d0f665694c7102b9bd2568e9a39c95f3d9658)

  - fix: adjust default values in ConfigureConnection form - Moved formData spread to include it after setting s3_bucket_access_method to 'manual' for proper initialization. - Ensured that storage_provider is still set based on the cluster's provider. [cf461759](https://github.com/tidbcloud/dbaas-ui/commit/cf461759c479e8820950276a5bc6a717b550c116)

  - feat: add S3 bucket access method to ConfigureConnection - Set default value for s3_bucket_access_method to 'manual' in form data. - Updated authTypeFormName to use s3_bucket_access_method for better clarity. [aa8e5ebb](https://github.com/tidbcloud/dbaas-ui/commit/aa8e5ebb00df8a86956e721c32db771d5a50df5c)

  - feat: update storage provider selection in ConfigureConnection - Added CloudStorageLabelConst to manage storage provider options dynamically. - Updated form to set default storage provider based on the cluster's provider. - Changed FormSelect to use the new sourceTypeOptions for better user experience. [6684ac93](https://github.com/tidbcloud/dbaas-ui/commit/6684ac9301034b6812bc74a55476673a9c28a598)

  - fix: clean up imports and streamline Menu component in ImportDropzone - Reordered imports for better readability. - Simplified Menu component by removing unnecessary props and conditions. - Adjusted click handler to directly use cluster ID for navigation. [eae8fb07](https://github.com/tidbcloud/dbaas-ui/commit/eae8fb07ca0102b9ce0929c4d376ece98151f3b3)

  - feat: enhance ImportFromCloud flow with form data management - Integrated form data handling in ImportFromCloud, allowing for state persistence across steps. - Updated ConfigureConnection, ConfigureMapping, and PreCheck components to accept formData and onFinish props for better data flow. - Changed button types to "submit" for proper form submission behavior. [27bbf0b6](https://github.com/tidbcloud/dbaas-ui/commit/27bbf0b637fbf49bda0acdd20644f6d4855be137)

  - feat: implement new ImportFromCloud flow for V4 - Added ImportFromCloud component for serverless clusters, integrating a step-based wizard for configuration. - Created step components: ConfigureConnection, ConfigureMapping, and PreCheck for enhanced user experience. - Updated S3BucketAccess to accept a dynamic label prop for better customization. - Refactored ImportFromCloud in V3 to pass cluster prop to the new V4 component. [36a5c4f6](https://github.com/tidbcloud/dbaas-ui/commit/36a5c4f6f101e127d28c69e6ac4ff8050f155f59)

  - feat: update import swagger [811c12c7](https://github.com/tidbcloud/dbaas-ui/commit/811c12c7b747e3f49d9eceb18de23a5bef78bf82)

- Merge pull request [#3978](https://github.com/tidbcloud/dbaas-ui/pull/3978) from tidbcloud/fix/icon [389060b6](https://github.com/tidbcloud/dbaas-ui/commit/389060b68eb0d4425d729765d2683af8809a6291)

  - fix: remove hard-coded stroke width for help icon [4e6a295b](https://github.com/tidbcloud/dbaas-ui/commit/4e6a295b3b564321e58203785e5e9578a338a191)

- Merge pull request [#3801](https://github.com/tidbcloud/dbaas-ui/pull/3801) from tidbcloud/fix/icon [7a38467d](https://github.com/tidbcloud/dbaas-ui/commit/7a38467d1fbe663879bd45886666642bfec2063c)

  - fix: remove menu icon in dot action [1c784b4f](https://github.com/tidbcloud/dbaas-ui/commit/1c784b4fbf9d7b138d8ff0b1ae9ab85f1c498e94)

  - refactor: optimize import statements and menu item structure in Editor and Actions components [01c661f0](https://github.com/tidbcloud/dbaas-ui/commit/01c661f08fe1da69e9d379714465ef8201954515)

- Merge pull request [#3976](https://github.com/tidbcloud/dbaas-ui/pull/3976) from tidbcloud/hotfix-202506171836 [892d2aee](https://github.com/tidbcloud/dbaas-ui/commit/892d2aee9b5a5c080cc7533e6d2f37360adc5187)

  - refactor: enhance Imports component structure and UI interactions [9256d9bb](https://github.com/tidbcloud/dbaas-ui/commit/9256d9bbe59f465bd797968f33f9c6aecdb3a705)

  - style: remove commented-out .tiui-icon styles in global.css [ebffedbd](https://github.com/tidbcloud/dbaas-ui/commit/ebffedbd184831f93403951dd10685f5e7057dbe)

  - refactor: streamline icon imports and menu item usage in Cluster Operations [26ad7729](https://github.com/tidbcloud/dbaas-ui/commit/26ad77298a76eb62c26888df00b32f6978741b1c)

  - style: comment out .tiui-icon styles in global.css for future reference [fb7737b3](https://github.com/tidbcloud/dbaas-ui/commit/fb7737b3eb7cb6895c6ba348263193c277a175f2)

  - chore: update @tidbcloud/uikit version to 2.4.0 in package.json and yarn.lock [5d5ba66a](https://github.com/tidbcloud/dbaas-ui/commit/5d5ba66a445a6321028ac88874c2d0c5b34dfa6c)

  - chore: update @tidbcloud/uikit version to 2.3.3 in package.json and yarn.lock [e8af3a64](https://github.com/tidbcloud/dbaas-ui/commit/e8af3a6448bc9f40fb769016c20ed07263b6003c)

  - fix: update icon imports and usage across multiple components [e089cb00](https://github.com/tidbcloud/dbaas-ui/commit/e089cb00d868547d81f4f9017a6c7dec10524de0)

  - style: move non-scaling stroke to .tiui-icon parent selector in global.css [6014d614](https://github.com/tidbcloud/dbaas-ui/commit/6014d614a78ccccacd3c0956982389f7f643d64d)

  - style: add non-scaling stroke and stroke-width to .tiui-icon in global.css [6f1e9c4c](https://github.com/tidbcloud/dbaas-ui/commit/6f1e9c4c495c3b1750ee7b717fd5a23fe3c6cc31)

- Merge pull request [#3974](https://github.com/tidbcloud/dbaas-ui/pull/3974) from tidbcloud/release-20250617 [aa14610c](https://github.com/tidbcloud/dbaas-ui/commit/aa14610c2a72b13c5a3482cf19b02c4114a296cf)
