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

Minor Feature Request: URI to Open Plugin/Theme Browser + Update All #32

Closed
chrisgrieser opened this issue Nov 14, 2021 · 5 comments
Closed

Comments

@chrisgrieser
Copy link
Contributor

I noticed after a while, that there are three things in the settings that I open very regularly, so speeding up the process via URI might be useful. In particular:

  • trigger the "Update All Community Plugins" Function
  • open the Community Theme Browser
  • open the Community Plugin Browser

Right now, via the settingid URI, I can only access the community plugin tab, and the appearance tab, creating an unnecessary extra step. This is only a super minor feature request, so no hurry at all! :)

@Vinzent03
Copy link
Owner

(I just noticed my update all plugins action does not work, I try to fix it)

@Vinzent03
Copy link
Owner

Now it's hopefully really works. I have to wait 10 after checking for update, because the internal functions in Obsidian doesn't expose a Promise, so I don't know when it's finished with checking for updates.

@chrisgrieser
Copy link
Contributor Author

Great, just tested it, works perfectly!

However, what happens when the process of checking for updates takes longer than 10 seconds, e.g. because of many plugins/bad internet? 🤔

@chrisgrieser
Copy link
Contributor Author

btw, the "updated all plugins" URI is not yet mentioned at all in the readme. (I got the URI by looking through the main.ts.)

@Vinzent03
Copy link
Owner

@chrisgrieser I know it's not a good solution, but the only way I could think of. It just presses the button again, so it can't break anything. I just won't work then.

It's documented under others

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

No branches or pull requests

2 participants