Skip to content

Commit

Permalink
Improve history search model UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaapple committed Jan 7, 2025
1 parent 601ac46 commit 5aa3f97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/components/modal/search-model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ export function SearchDialog({ openSearch: open, onOpenModelChange: onOpenChange
)}

{isIndexed === true && (
<div className="space-y-4">
<div className="space-y-4 overflow-hidden">
<div className="flex gap-2">
<Input
type="text"
placeholder="Search your search history"
value={query}
onChange={(e) => setQuery(e.target.value)}
className="flex-1"
className="flex-1 border outline-0 ring-0 focus-visible:outline-none focus-visible:ring-0 resize-none focus-within:border-primary"
autoFocus
/>
<Button onClick={() => handleSearch(query)} disabled={isLoading}>
Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/index/index-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export async function indexMessage(userId: string, title: string, url: string, t
try {
const indexed = await isUserFullIndexed(userId);
if (!indexed) {
console.error('User is not fully indexed');
console.log('User is not fully indexed', userId);
return;
}

Expand Down

0 comments on commit 5aa3f97

Please sign in to comment.