feat: display file backup status in file context menu (#2044) (skip e2e)

* feat: show file backup status in context menu

* feat: show backup status in list cell

* feat: mapping cache

* feat: add to linking menu + date format

* fix: types
This commit is contained in:
Mo
2022-11-22 19:58:48 -06:00
committed by GitHub
parent 096d82f7af
commit 7c2e832065
22 changed files with 196 additions and 55 deletions

View File

@@ -30,6 +30,7 @@ import {
ArchiveManager,
AutolockService,
KeyboardService,
PreferenceId,
RouteService,
RouteServiceInterface,
ThemeManager,
@@ -387,4 +388,11 @@ export class WebApplication extends SNApplication implements WebApplicationInter
FeatureIdentifier.PlainEditor
)
}
openPreferences(pane?: PreferenceId): void {
this.getViewControllerManager().preferencesController.openPreferences()
if (pane) {
this.getViewControllerManager().preferencesController.setCurrentPane(pane)
}
}
}

View File

@@ -6,4 +6,5 @@ export {
DesktopClientRequiresWebMethods,
FileBackupsMapping,
FileBackupsDevice,
FileBackupRecord,
} from '@standardnotes/snjs'