Files
git.stella-ops.org/docs/features/unchecked/web/contextual-command-bar.md

37 lines
1.7 KiB
Markdown

# Contextual Command Bar ("Ask Stella")
## Status
IMPLEMENTED
## Description
Proposed scoped command bar that auto-scopes to current context with suggested prompts. Not yet implemented.
## Why Marked as Dropped (Correction)
**FINDING: The "Ask Stella" contextual command bar IS implemented.** 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`
- **Status should be reclassified from NOT_FOUND to IMPLEMENTED**