Keep single Save button, Show next sync, default to prod Khoj URL in Desktop app

- Make mutable syncing variable not a const
- Show next sync time to make users aware of data sync is automated
- Keep a single Save button to reduce confusion. It does what Save All
  previously did. Intent to manual sync should Save All
- Default to using app.khoj.dev as default Khoj URL to ease setup
This commit is contained in:
Debanjum Singh Solanky
2023-11-09 13:34:27 -08:00
parent e1f0128576
commit d6e6ed1cfa
3 changed files with 7 additions and 7 deletions

View File

@@ -91,10 +91,7 @@
</div>
<div class="section-action-row">
<div class="card-description-row">
<button id="sync-data" class="sync-data">💾 Save</button>
</div>
<div class="card-description-row">
<button id="sync-force" class="sync-data">💾 Save All</button>
<button id="sync-force" class="sync-data">💾 Save</button>
</div>
<div class="card-description-row">
<button id="delete-all" class="sync-data">🗑️ Delete All</button>