longy2k / obsidian-bmo-chatbot

Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) from Ollama, LM Studio, Anthropic, Google Gemini, Mistral AI, OpenAI, and more for Obsidian.
https://ko-fi.com/longy2k
MIT License
319 stars 39 forks source link

Issue with Sidebar Auto-Opening in Recent Versions of BMO Plugin #95

Closed PandaNocturne closed 1 month ago

PandaNocturne commented 1 month ago

First and foremost, I would like to extend my heartfelt gratitude for developing the BMO plugin. In my opinion, it is the most useful GPT plugin available for Obsidian. However, I have encountered an issue with a recent version of the plugin.

The new version introduced a feature where the sidebar automatically opens and displays the BMO interface whenever I switch notes. While this functionality can be convenient in certain situations, I typically prefer to keep the sidebar collapsed. As a result, the auto-opening sidebar occasionally disrupts my writing flow.

I would like to inquire if there is a way to disable this feature, as it has been somewhat bothersome for my workflow. If there is a setting or a workaround to keep the sidebar from auto-opening, I would greatly appreciate your guidance.

Thank you once again for your excellent work on this plugin.

BlackUdon commented 1 month ago

I am getting this too. It's very random, but I had been able to reproduce the behavior by:

  1. Delete file from within Obsidian

OR

  1. Open file from Obsidian (like .docx)
  2. Close file from launched application
longy2k commented 1 month ago

v2.3.2

Thank you for your feedback.

For now, I have only removed the auto focus on the view when deleting files. I am not sure if that relates to the note switching since I was not able to reproduce it.

If the issue is still reoccurring in this version, please explain step-by-step of what you're doing that leads to the view to activate.

Thanks again!

longy2k commented 1 month ago

@BlackUdon

I have not tested opening files from .docx or closing file from launch application. I only removed a part of the function that relates to the delete file.

I will see if I can reproduce these issue when I have time.

Thank you!

PandaNocturne commented 1 month ago

@longy2k hank you, it is working well now.