Consolidate search into a primary entry experience
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
## Delivery Tracker
|
||||
|
||||
### FE-ZL-001 - Search-first top-bar entry with secondary chat launcher
|
||||
Status: TODO
|
||||
Status: DONE
|
||||
Dependency: none
|
||||
Owners: Developer (FE)
|
||||
Task description:
|
||||
@@ -27,12 +27,12 @@ Task description:
|
||||
- Opening chat must inherit page context and current query when present.
|
||||
|
||||
Completion criteria:
|
||||
- [ ] Search remains the primary focus target in the header.
|
||||
- [ ] AdvisoryAI launches from a secondary icon/button beside search.
|
||||
- [ ] Existing chat handoff still works from result cards and answer panels.
|
||||
- [x] Search remains the primary focus target in the header.
|
||||
- [x] AdvisoryAI launches from a secondary icon/button beside search.
|
||||
- [x] Existing chat handoff still works from result cards and answer panels.
|
||||
|
||||
### FE-ZL-002 - Remove explicit mode/scope/recovery controls
|
||||
Status: TODO
|
||||
Status: DONE
|
||||
Dependency: FE-ZL-001
|
||||
Owners: Developer (FE)
|
||||
Task description:
|
||||
@@ -40,13 +40,13 @@ Task description:
|
||||
- Move `Did you mean` immediately under the input.
|
||||
|
||||
Completion criteria:
|
||||
- [ ] No explicit mode control remains in the search panel.
|
||||
- [ ] No explicit scope toggle remains in the search panel.
|
||||
- [ ] No recovery panel remains in empty-result states.
|
||||
- [ ] `Did you mean` renders directly under the input when present.
|
||||
- [x] No explicit mode control remains in the search panel.
|
||||
- [x] No explicit scope toggle remains in the search panel.
|
||||
- [x] No recovery panel remains in empty-result states.
|
||||
- [x] `Did you mean` renders directly under the input when present.
|
||||
|
||||
### FE-ZL-003 - History cleanup and low-emphasis clear action
|
||||
Status: TODO
|
||||
Status: DONE
|
||||
Dependency: FE-ZL-002
|
||||
Owners: Developer (FE)
|
||||
Task description:
|
||||
@@ -54,32 +54,34 @@ Task description:
|
||||
- Replace the current clear-history button with a discrete icon action.
|
||||
|
||||
Completion criteria:
|
||||
- [ ] Recent history excludes searches with zero results.
|
||||
- [ ] Clear-history affordance is icon-based and visually low emphasis.
|
||||
- [ ] Search history tests cover the new behavior.
|
||||
- [x] Recent history excludes searches with zero results.
|
||||
- [x] Clear-history affordance is icon-based and visually low emphasis.
|
||||
- [x] Search history tests cover the new behavior.
|
||||
|
||||
### FE-ZL-004 - Focused FE verification
|
||||
Status: TODO
|
||||
Status: DONE
|
||||
Dependency: FE-ZL-003
|
||||
Owners: Test Automation
|
||||
Task description:
|
||||
- Add or update Angular and Playwright tests for the consolidated UI model.
|
||||
|
||||
Completion criteria:
|
||||
- [ ] Unit tests cover removed controls and new placement rules.
|
||||
- [ ] Playwright covers the new top-bar, history, and `Did you mean` behavior.
|
||||
- [ ] Tests do not rely on deprecated `mode` or `scope` UI controls.
|
||||
- [x] Unit tests cover removed controls and new placement rules.
|
||||
- [x] Playwright covers the new top-bar, history, and `Did you mean` behavior.
|
||||
- [x] Tests do not rely on deprecated `mode` or `scope` UI controls.
|
||||
|
||||
## Execution Log
|
||||
| Date (UTC) | Update | Owner |
|
||||
| --- | --- | --- |
|
||||
| 2026-03-07 | Sprint created from the zero-learning search strategy. | Project Manager |
|
||||
| 2026-03-07 | Implemented the search-first shell: added the secondary AdvisoryAI launcher, removed explicit mode/scope/recovery controls, moved `Did you mean` under the input, migrated recent history to success-only storage, and updated focused Angular plus Playwright coverage. Commands: `npm test -- --include src/tests/global_search/global-search.component.spec.ts`; `npx playwright test tests/e2e/unified-search-contextual-suggestions.e2e.spec.ts tests/e2e/unified-search-self-serve-answer-panel.e2e.spec.ts tests/e2e/unified-search-experience-quality.e2e.spec.ts --config playwright.config.ts`. Results: `22/22` unit tests passed and `11/11` Playwright tests passed. | Developer / Test Automation |
|
||||
|
||||
## Decisions & Risks
|
||||
- Decision: the user should not be asked to choose a search mode before entering a query.
|
||||
- Decision: page scope becomes implicit UX, not an explicit control.
|
||||
- Risk: removing explicit controls may expose gaps in backend ranking that modes were previously masking.
|
||||
- Mitigation: phase 2 adds implicit-scope weighting and answer blending on the backend.
|
||||
- Verification note: focused Playwright runs still log an unrelated Angular `NG0602` console error from `PlatformContextUrlSyncService.initialize` plus several refused background requests. The targeted search flows remained green, but that runtime issue should be handled separately by the stabilization workstream.
|
||||
|
||||
## Next Checkpoints
|
||||
- 2026-03-08: Implement FE-ZL-001 through FE-ZL-003.
|
||||
|
||||
Reference in New Issue
Block a user