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

Disable buttons for AI-related actions when no API key is configured #85

Open
camdfletcher opened this issue May 12, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@camdfletcher
Copy link

Expected Behavior

As a user, if I have no OpenAI key configured I expect that AI-related actions are disabled until I input a valid key.

Current Behavior

In the "Chat with this Journal" workflow, if I submit a question the application will appear to be "thinking" but in reality there's nothing actually happening. It would be less confusing to a user to just have these actions disabled until the required key is provided. It wasn't immediately clear which functionalities depended on it.

Steps to Reproduce

  1. Go to Settings, remove your API key
  2. Attempt to use some AI feature (i.e., "Chat with this Journal")
  3. Application pretends to be busy infinitely

CleanShot 2024-05-12 at 15 53 15@2x

Possible Solution (Not obligatory)

Disabling buttons when the key is not configured is probably the most straightforward solution. Perhaps with a tooltip saying something along the lines of "Configure an API Key to enable ____"

Your Environment

  • App version : 0.9.6
  • Operating System and version : macOS 14.4
@camdfletcher camdfletcher added the bug Something isn't working label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant