* One image hit displayed in the Images section. * * `sourcePath` is the wiki page that contains this image reference * — clicking the card opens that page (and the page's markdown * preview will scroll the user down to the image naturally). * * `altMatchesQuery` is whether the caption / alt t
| 20 | * query. Used only for ordering: caption matches sort first. |
| 21 | */ |
| 22 | interface ImageHit extends ImageRef { |
| 23 | sourcePath: string |
| 24 | sourceTitle: string |
| 25 | altMatchesQuery: boolean |
| 26 | } |
| 27 | |
| 28 | export function SearchView() { |
| 29 | const { t } = useTranslation() |
nothing calls this directly
no outgoing calls
no test coverage detected