feat(search): add search syntax help tooltip
This commit is contained in:
parent
802a54245e
commit
afd214bba9
1 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { Search, X } from 'lucide-react';
|
|||
import { useDebounce } from '@/hooks/useDebounce';
|
||||
import { searchApi } from '@/services/api/search';
|
||||
import { SearchResults } from '@/types/search';
|
||||
import { HelpText } from '@/components/ui/HelpText';
|
||||
|
||||
interface SearchPageHeaderProps {
|
||||
query: string;
|
||||
|
|
@ -104,6 +105,11 @@ export function SearchPageHeader({
|
|||
aria-haspopup="listbox"
|
||||
role="combobox"
|
||||
/>
|
||||
<HelpText
|
||||
text='Utilisez AND, OR, NOT et "phrase exacte" pour affiner votre recherche.'
|
||||
position="bottom"
|
||||
className="mr-2"
|
||||
/>
|
||||
{query && (
|
||||
<button
|
||||
type="button"
|
||||
|
|
|
|||
Loading…
Reference in a new issue