A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: move dynamic sync statuses up
thecodrr40715c88a5ea
diff --git a/apps/web/src/components/status-bar/index.js b/apps/web/src/components/status-bar/index.jsindex a683d8b37..9f300baf4 100644--- a/apps/web/src/components/status-bar/index.js+++ b/apps/web/src/components/status-bar/index.js@@ -188,29 +188,6 @@ function SyncStatus() {}const syncStatusFilters = [- {- key: "emailNotConfirmed",- check: (_syncStatus, user) => !user.isEmailConfirmed,- icon: Alert,- iconColor: "warn",- text: "Sync disabled",- tooltip: "Please confirm your email to start syncing.",- },- {- key: "neverSynced",- check: (_syncStatus, _user, lastSynced) => !lastSynced,- icon: Sync,- text: "Synced never",- tooltip: "Click to sync your notes.",- },- {- key: "failed",- check: (syncStatus) => syncStatus === "failed",- icon: SyncError,- color: "error",- text: "Sync failed",- tooltip: "Sync failed to completed. Please try again.",- },{key: "synced",check: (syncStatus) => syncStatus === "synced",@@ -246,4 +223,27 @@ const syncStatusFilters = [text: "Merge conflicts",tooltip: "Please resolve all merge conflicts and run the sync again.",},+ {+ key: "emailNotConfirmed",+ check: (_syncStatus, user) => !user.isEmailConfirmed,+ icon: Alert,+ iconColor: "warn",+ text: "Sync disabled",+ tooltip: "Please confirm your email to start syncing.",+ },+ {+ key: "neverSynced",+ check: (_syncStatus, _user, lastSynced) => !lastSynced,+ icon: Sync,+ text: "Synced never",+ tooltip: "Click to sync your notes.",+ },+ {+ key: "failed",+ check: (syncStatus) => syncStatus === "failed",+ icon: SyncError,+ color: "error",+ text: "Sync failed",+ tooltip: "Sync failed to completed. Please try again.",+ },];