Skip to content

[UX] Proactive "Context-Aware" Suggestions #77

@cnu1812

Description

@cnu1812

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.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    HardenhancementFor changelog: Minor enhancement. use `major-rfe` for changes to be highlighted

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions