This commit is contained in:
vineyardbovines
2026-04-15 08:32:07 -04:00
parent 91b64a2844
commit 651ab90aa1
9 changed files with 603 additions and 2 deletions
@@ -28,7 +28,8 @@ export function useGifAutocomplete({
onSelectSuggestion: (text: string) => void
}): GifAutocompleteState {
const ax = useAnalytics()
const useKlipy = ax.features.enabled(ax.features.KlipyGifProviderEnable)
// TODO: revert — hardcoded for local Klipy testing
const useKlipy = true // ax.features.enabled(ax.features.KlipyGifProviderEnable)
const [rawText, setRawText] = useState('')
const [dismissed, setDismissed] = useState(false)
@@ -21,7 +21,8 @@ export function useGifPickerData(
{enabled = true}: {enabled?: boolean} = {},
) {
const ax = useAnalytics()
const useKlipy = ax.features.enabled(ax.features.KlipyGifProviderEnable)
// TODO: revert — hardcoded for local Klipy testing
const useKlipy = true // ax.features.enabled(ax.features.KlipyGifProviderEnable)
const isSearching = query.length > 0
const provider: GifPickerProvider = useKlipy ? 'klipy' : 'tenor'