-
-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Currently, the user must explicitly open the chatbot to ask for help. If a user is staring at a specific "Build Failure" page for 30 seconds, the bot should be smart enough to offer help proactively. Kinda auto-suggesting the next query.
So, leverage the existing Global Decorator to inject a "Context Observer":
-
URL Parsing: If the URL matches job/{name}/{id}/console, the bot enters "Troubleshooting Mode."
-
Trigger: If the user scrolls to the bottom and stops for X seconds, a "Toast" notification appears: "I see a NullPointer error. Want me to analyze it?"
-
Context Injection: If the user clicks "Yes", the bot pre-loads the context of that specific job page without the user typing anything.
Acceptance Criteria:
Logic to detect "Error Pages" vs "Configuration Pages."
A non-intrusive UI component (Toast/Snackbar) triggers automatically.
This is an advanced architectural change. Before opening a PR, please comment on this issue with a short design proposal on how you plan to implement this. PRs without a discussion will be closed.