Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-window Support #90

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Multi-window Support #90

wants to merge 2 commits into from

Conversation

pjeby
Copy link

@pjeby pjeby commented Jul 16, 2023

This PR adds multi-window support (per #53), by creating a status bar item per window. The approach used is the same used by Quick Explorer to add status bar items to other windows, in a way that allows multiple plugins to share these status bars. (That is, such that the extra status bars will disappear when all plugins using them are disabled, and you can safely enable or disable such plugins in any order at any time.)

This PR adds multi-window support (per lukeleppan#53), by creating a status
bar item per window.  The approach used is the same used by Quick
Explorer to add status bar items to other windows, in a way that
allows multiple plugins to share these status bars.  (That is,
such that the extra status bars will disappear when all plugins
using them are disabled, and you can safely enable or disable
such plugins in any order at any time.)
@pjeby
Copy link
Author

pjeby commented Feb 6, 2024

Ok, conflicts are resolved, looks like it still works.

@lukeleppan
Copy link
Owner

Could you please give me some detail on how to test this

@pjeby
Copy link
Author

pjeby commented Feb 6, 2024

Open a note in a new window. The new window should have a status bar with a word count, independent of the count shown in other windows. (Assuming you're not using a theme or snippet that affects the visibility of the status bar.)

That is, it just makes it possible for you to see a word count for the current note in each Obsidian window, rather than only one word count shown in the main window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants