fix(search): show ultracompact prompt for empty results - #3588
Conversation
Ultracompact search renders the input prompt as part of the selected history row. When a filter has no matches, HistoryList returned before drawing anything, leaving the UI completely blank. Render an empty prompt row in that case so users can still see the active filter and query.
Fossier: Manual Review Requested
Score BreakdownTotal Score: 65.0/100 | Confidence: 100% | Outcome: REVIEW
|
Greptile SummaryFixes a blank-UI regression in ultracompact search mode: when a filter yields no results, the widget now renders an empty prompt row instead of returning immediately, so users can see the active query rather than a blank screen.
Confidence Score: 5/5Change is safe to merge; it only affects rendering in one narrowly-scoped UI mode. The change is small and self-contained. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix(search): show ultracompact prompt fo..." | Re-trigger Greptile |
Ultracompact search renders the input prompt as part of the selected history row. When a filter has no matches, HistoryList returned before drawing anything, leaving the UI completely blank. This is confusing when cycling between ctrl-r modes (I thought it hung).
Render an empty prompt row in that case so users can still see the active filter and query.
(I am confident that the diagnosis is correct--we should not just return on empty here--less confident that there is no existing helper for "we are in ultracompact mode" that I missed.)
Checks
Screenshot of "after" [screenshot of "before" would just be blank space]
