1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop, Mobile: Resolves #10664: Allow user to generate deletion logs (#11083)

This commit is contained in:
pedr
2024-11-07 10:45:29 -03:00
committed by GitHub
parent 5a44f62fb6
commit 02a0d0d0cc
8 changed files with 167 additions and 0 deletions

View File

@ -155,6 +155,10 @@ class ConfigScreenComponent extends BaseScreenComponent<ConfigScreenProps, Confi
void NavService.go('Log');
};
private deletionLogButtonPress_ = () => {
void NavService.go('Log', { defaultFilter: 'DeleteAction' });
};
private manageSharesPress_ = () => {
void NavService.go('ShareManager');
};
@ -543,6 +547,7 @@ class ConfigScreenComponent extends BaseScreenComponent<ConfigScreenProps, Confi
addSettingButton('profiles_buttons', _('Manage profiles'), this.manageProfilesButtonPress_);
addSettingButton('status_button', _('Sync Status'), this.syncStatusButtonPress_);
addSettingButton('log_button', _('Log'), this.logButtonPress_);
addSettingButton('deletion_log_button', _('Deletion log'), this.deletionLogButtonPress_);
addSettingButton('fix_search_engine_index', this.state.fixingSearchIndex ? _('Fixing search index...') : _('Fix search index'), this.fixSearchEngineIndexButtonPress_, { disabled: this.state.fixingSearchIndex, description: _('Use this to rebuild the search index if there is a problem with search. It may take a long time depending on the number of notes.') });
const syncTargetInfo = SyncTargetRegistry.infoById(this.state.settings['sync.target']);
if (syncTargetInfo.supportsShare) {