Commit Graph

7 Commits

Author SHA1 Message Date
Roardom
aa57a375cd update: add fallback images to quicksearch 2025-02-13 23:18:15 +00:00
HDVinnie
9ea8838cc6 add: prefix option 2025-01-01 16:05:58 -05:00
HDVinnie
192b5ed15d chore: remove unused imports that pint is missing 2024-12-01 20:52:32 -05:00
HDVinnie
c63c27924a fix: QuickSearch Controller
- allow searching by TMDB and IMDB ids
2024-10-18 08:30:04 -04:00
HDVinnie
9c2bb17aa1 update: QuickSearch Controller
- refactor logic to simpler approach
2024-10-15 22:48:55 -04:00
HDVinnie
92662ff77e update: QuickSearchController
- use meilisearch php client directly and not scout.
- use MultiSearchFederation
- ability to search by meta ids
2024-10-15 20:38:52 -04:00
HDVinnie
ee8889d0d9 refactor: quicksearch
- refactored from livewire to alpinejs
- this is a crudish draft but is fullly functional
- script should be moved to own alpine component in js dir
- person command and filter is simply a test and works
- fixes long time safari issue when click result just closes search and doesnt direct to URL by following:

@click.prevent Directive: Added @click.prevent="navigateTo(result.url)" to the anchor tag to handle the click event and navigate to the URL.
navigateTo Method: Added a navigateTo method in the quickSearch function to change the window location to the clicked URL.
Event Listener: Updated the init method to add a click event listener that stops propagation and navigates to the URL.
2024-10-07 21:44:04 -04:00