feat(database): Add database compression function (#1027)
* feat(database): Add database compression function Add database compression functionality to the connection statistics page to reduce the size of the database file Add multi-language support and related UI interactions * fix(database): Update the description of database compression operations and fix the statistics cleanup logic Update the description of database compression operations in the multilingual files to explicitly state that data will not be lost Fix the connection statistics cleanup logic to ensure correct matching of server IDs Add error handling for the compression operation to prevent the UI from freezing * Update lib/l10n/app_en.arb Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -395,6 +395,24 @@ abstract class AppLocalizations {
|
||||
/// **'Clear This Server Statistics'**
|
||||
String get clearThisServerStats;
|
||||
|
||||
/// No description provided for @compactDatabase.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Compact Database'**
|
||||
String get compactDatabase;
|
||||
|
||||
/// No description provided for @compactDatabaseContent.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Database size: {size}\n\nThis will reorganize the database to reduce file size. No data will be deleted.'**
|
||||
String compactDatabaseContent(Object size);
|
||||
|
||||
/// No description provided for @confirm.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Confirm'**
|
||||
String get confirm;
|
||||
|
||||
/// No description provided for @closeAfterSave.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
||||
Reference in New Issue
Block a user