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.
๐ค[deprecated] Generated by Copilot at cc2c0e3
Summary
๐๐๏ธ๐
This pull request improves the database provider API, adds the feature of deleting the last element in the
TagTextarea
component, and supports different commands for the enterprise and open source versions of Sealos. It also refactors some code, updates some translations, and deletes an unused file.Walkthrough
dbTypeMap
object to use abase
object and the spread operator to reduce duplication and improve readability (link)dbTypeMap
object instead of hard-coded keys (link)PublicNetMigration
array to enable the public net migration feature for MongoDB databases (link)type
to theonUpdateValue
function in theTagTextarea
component to implement the feature of deleting the last element using the backspace key (link)onKeyDown
event handler of theInput
component in theTagTextarea
component to call theonUpdateValue
function with the 'delete' type (link)overflowY
prop to theBox
component that wraps theTagTextarea
component to set the overflow behavior to 'auto' (link)enterprise
to theCommandForm
component and theCommandFormProps
type to support different commands for different versions of Sealos (link)basePath
string in theCommandForm
component to set the--proxy-prefix
flag according to theenterprise
prop (link)TagTextarea
components that collect the master IPs and the node IPs from '50px' to '80px' to increase the space for the input and the tags (link, link)Input
component that collects the ssh password from 'ไธๅกซๅๅ ๅฏ็ปๅฝ' to '้ป่ฎคๅ ๅฏ็ปๅฝ' to clarify the default behavior of the ssh login (link)Input
component that collects the cloud port from 'Sealos Cloud ็ซฏๅฃ' to 'Cloud ็ซฏๅฃ' to simplify the label (link)Input
components that collect the certificate path and the certificate key path from 'ไธๅกซๅไฝฟ็จ Sealos ๆไพ็่ช็ญพ่ฏไนฆ' to '้ป่ฎคไฝฟ็จ Sealos ๆไพ็่ช็ญพ่ฏไนฆ' to clarify the default behavior of the certificate (link, link)enterprise
prop to theCommandForm
component in theTutorial
component that shows the command for the enterprise version of Sealos and set it to true (link)basePath
string in theTutorial
component that shows the command for the open source version of Sealos to ensure the script is executed with bash (link)common.json
files for the English and Chinese locales to support the new feature of theTagTextarea
component (link, link)getServiceByName.ts
andgetStatefulSetByName.ts
files from 'db get service name err' to 'api:getServiceByName' and 'api:getStatefulSetByName' respectively to make them more informative and accurate (link, link)dbName
,dbType
, andqueryKey
variables in thegetMonitorData.ts
file to clean up the code and avoid unnecessary logging (link)params
variable in thegetMonitorData.ts
file to debug the code and check the value of theparams
variable (link)frontend/providers/template/delRoleBinding.ts
(link)