46 lines
1.9 KiB
Markdown
46 lines
1.9 KiB
Markdown
# Contextual Command Bar ("Ask Stella")
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## Description
|
|
Scoped command bar that auto-scopes to current context with suggested prompts and supports contextual/freeform Ask Stella queries.
|
|
|
|
## Verification Notes
|
|
Previously marked as dropped in planning metadata; QA verification confirmed implementation. The following components exist:
|
|
- `src/Web/StellaOps.Web/src/app/shared/components/ai/ask-stella-button.component.ts` -- floating button to open the panel
|
|
- `src/Web/StellaOps.Web/src/app/shared/components/ai/ask-stella-panel.component.ts` -- contextual panel with suggested prompts
|
|
- E2E tests at `src/Web/StellaOps.Web/src/app/shared/components/ai/__tests__/ask-stella.e2e.spec.ts` verify:
|
|
- Button visibility and panel toggle
|
|
- Context-scoped suggested prompt chips (auto-populated based on current page context)
|
|
- Context awareness chips showing current page/component context
|
|
- Prompt submission with loading state and response display
|
|
|
|
## Implementation Details
|
|
- Button component: `ask-stella-button.component.ts`
|
|
- Panel component: `ask-stella-panel.component.ts` with `.ask-stella-panel__prompt-chip`, `.ask-stella-panel__context-chip`, `.ask-stella-panel__response` selectors
|
|
- AI assist panel: `ai-assist-panel.component.ts`
|
|
- LLM unavailable fallback: `llm-unavailable.component.ts`
|
|
- E2E test: `ask-stella.e2e.spec.ts` (5+ test cases covering button, context, prompts, responses)
|
|
|
|
## E2E Test Plan
|
|
- Already has E2E tests covering core functionality
|
|
- Additional coverage: verify context scoping changes when navigating between pages
|
|
|
|
## Source
|
|
- Feature matrix scan
|
|
|
|
## Notes
|
|
- Module: Web
|
|
- Modules referenced: `src/Web`
|
|
- Feature reclassified from historical NOT_FOUND metadata and verified in run-001.
|
|
|
|
## Verification
|
|
- Date: 2026-02-10
|
|
- Run artifacts: docs/qa/feature-checks/runs/web/contextual-command-bar/run-001/
|
|
- Tier results:
|
|
- tier0-source-check.json: pass
|
|
- tier1-build-check.json: pass
|
|
- tier2-e2e-check.json: pass
|
|
|