khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.63k stars 640 forks source link

Add a synced icon to files in the desktop client if they are synced #705

Closed sabaimran closed 5 months ago

sabaimran commented 5 months ago

In the desktop UI, make it clear which files are already shared/synced with the server. Currently, there's no obvious indicator.

You can see how we get information about synced files in this method. You'll need to add a method in the preload.js file to communicate to the frontend (config.html) and get which files are indexed.

Current view:

Image