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

AI Assistant: Better UI when assistant is unavailable #2763

Open
josephjclark opened this issue Dec 9, 2024 · 1 comment
Open

AI Assistant: Better UI when assistant is unavailable #2763

josephjclark opened this issue Dec 9, 2024 · 1 comment

Comments

@josephjclark
Copy link
Contributor

When I start lightning in dev mode with no apollo server, the AI assistant is disabled - but I get no visual feedback about this. I am simply unable to get a caret inside the text editor - which is actually a little annoying. The assistant feels totally broken.

This is a total disaster if it happens to a user. But in practice I'm not sure how important this one is. I see it in local dev all the time. But users shouldn't ever see it on app.openfn.org. Deployments which have not set up AI will also see it (and that's worth worrying about).

I know there's a desire to show a disabled assistant as a marketing feature, but I think that's really bad UX (and actually I think it's pretty cynical design).

There are two different states, right?

  1. The deployment has not configured the AI assistant (so I think we should hide it completely from the UI)
  2. The deployment has configured the assistant but the apollo server is not available.

This issue is focused on point 2.

@github-project-automation github-project-automation bot moved this to New Issues in v2 Dec 9, 2024
@josephjclark
Copy link
Contributor Author

The fix is to show some kind of clear error state, to black out the text input and say something like "the AI server is offline"

@josephjclark josephjclark changed the title AI Assistant AI Assistant: Better UI when assistant is unavailable Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant