Search: skip active domains in submitted matches#669
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughUniversal search now accepts multiple excluded domains, incorporates them into caching and requests, and excludes preferred domains from cross-mode matches. UI tests verify request filtering and updated Answer submission behavior. ChangesUniversal search exclusions
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant AlsoMatches
participant UniversalSearchHook
participant UniversalSearchAPI
AlsoMatches->>UniversalSearchHook: pass preferred domains as exclusions
UniversalSearchHook->>UniversalSearchHook: build excluded-domains cache key
UniversalSearchHook->>UniversalSearchAPI: request remaining search domains
UniversalSearchAPI-->>UniversalSearchHook: return cross-mode results
UniversalSearchHook-->>AlsoMatches: render eligible matches
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Comment |
Summary
Why
Follow-up to #658. GitHub squash-merged that PR just before the final review fix was pushed, so this carries only the three-file efficiency fix onto current main.
Verification
Checks not run
Risk
Low and bounded to client request fan-out/cache partitioning for the submitted cross-mode panel. The universal API contract is unchanged.
Summary by CodeRabbit