AI Assistant: Better UI when assistant is unavailable
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
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?
- The deployment has not configured the AI assistant (so I think we should hide it completely from the UI)
- The deployment has configured the assistant but the apollo server is not available.
This issue is focused on point 2.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Lightning in dev mode without an Apollo server and inspect how the AI assistant and text editor behave when the assistant is unavailable. Compare the configured-but-unavailable state with the unconfigured state described in the issue. Done means users receive clear visual feedback instead of an apparently broken editor when the configured assistant cannot connect.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100