Repository navigation
Opportunities panel: re-skin to the "Explore the Opportunities" design - #101
Conversation
|
ⓘ Qodo reviews are paused because your workspace is out of credits. Ask your workspace admin to add credits to resume reviews. Manage billing |
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Lays the panel out as the AIPOS prototype v2 find step and its side panel, within the engine contract: ranked list with title search, work-items filter and sort; a scrim + side panel with the composite score, the five engine components as bars scaled to the loaded maximum, personas, and evidence references grouped by source type with their record links. Adds semantic search through find_similar_problems (bands only, never a score) and an "Add Opportunity to a tracker" action that hands a plain user message to the conversation through ui/message, so the tracker (Aha!, Jira) is chosen from the user's own connectors, never by the panel. Tabs by product/theme/concept, the evidence excerpt view and the design's Refine/Select actions are deliberately left for later. The contract test's allowed set gains find_similar_problems; the matching engine change widens PanelDef.allowed_tools. No <form> submission: the host sandbox has no allow-forms. check-page.mjs accepts PANEL_CHROME for a non-Chrome Chromium. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016KzwBpzikmMMdfZFixLNgZ
428b075 to
a45df29
Compare
What
Lays the opportunities panel out as the AIPOS prototype v2 "Explore the Opportunities" screen and its opportunity side panel, within the engine contract.
find_similar_problems(text, limit=5); shows bands only, never a score. A match in the loaded list opens its detail in place.source_typewith each reference opening in its source system throughui/open-link. Focus-trapped; Escape and the scrim close it.ui/message. The conversation chooses the tracker (Aha!, Jira) from the user's own connectors; the panel never calls another server. The design's Refine/Select actions are not carried.get_evidence_textis a follow-on.Engine dependency
Needs discovery-engine
panel/widen-opportunities-allowed-tools(widensPanelDef.allowed_toolsto the five names).tests/test_panel_contract.pyhere now expectsfind_similar_problemsin the bundle, so this panel is only bindable by an engine with that change.Checks
npm test37/37;python -m pytest tests/test_panel_contract.py44/44node build.mjs: 461,606 bytes (ceiling 1,048,576)node check-page.mjsall scenarios in Chromium under the MCP Apps default CSP, light and dark (PANEL_CHROMEadded for a non-Chrome Chromium)<form>submission (the host sandbox has noallow-forms— now written into BRAND.md)Generated by Claude Code
Summary by CodeRabbit