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

Save history data in separate file #197

Closed
sanjarcode opened this issue Jan 22, 2023 · 4 comments
Closed

Save history data in separate file #197

sanjarcode opened this issue Jan 22, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@sanjarcode
Copy link

sanjarcode commented Jan 22, 2023

Current situation and solution

The history is saved in .obsidian/plugins/various-complements/data.json under selectionHistoryTree key.

Can we move this to a dedicated file?

Problem

I want to save preferences using git, but the file keeps on changing.

If the history was saved in a different file, I could add that file to .gitignore. But this is not possible now, since everything is in the same file.

@tadashi-aikawa
Copy link
Owner

Hi, @sanjarcode :)

I agree with your requirements. However, Obsidian recommends managing plugin data for syncing with other devices in a data.json file.

I want to and will attempt to try the implementation, but it might not be easy.

Best regards.

@sanjarcode
Copy link
Author

Okay, let me know if I can help.

@tadashi-aikawa tadashi-aikawa self-assigned this Apr 2, 2023
tadashi-aikawa added a commit that referenced this issue Apr 23, 2023
…m the plugin configuration file into different files (#197)
@tadashi-aikawa
Copy link
Owner

@sanjarcode
I'm back now. I have released it in v8.2.0-beta3 🚀

If you use BRAT, please confirm whether it works as you expected.

@tadashi-aikawa
Copy link
Owner

Released in v8.2.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants