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

Wait for API key before initializing #8

Merged
merged 4 commits into from
Mar 14, 2023

Conversation

kristenbrann
Copy link
Member

Before: When you first add the plugin and enable it, it immediately starts trying to index the vault even though you have not set your API key in the setting pane yet. This results in a bunch of 401s, and also interferes with your vault indexing successfully once you do input your API key.

After: If your API key is blank, or really short, don't set up anything but the setting panel. Once the API key is entered, initialize the plugin interactions.

@cpaika cpaika requested review from ethananselkelly and cpaika and removed request for ethananselkelly March 14, 2023 01:45
Copy link
Contributor

@cpaika cpaika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@cpaika cpaika merged commit 99251b7 into exoascension:main Mar 14, 2023
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