mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: request a tool when home search finds nothing (#385)
Adds a prefilled 'Request a tool' affordance to the home search empty state and beneath weak results. Opens the in-app feedback dialog with a new search_miss source and a structured search_query when analytics is on; links to a prefilled GitHub Discussions (Ideas) post when off, so a request is never silently dropped. Reuses the existing feedback pipe, dialog, and analytics gate; no new storage. i18n across all 21 locales.
This commit is contained in:
@@ -62,6 +62,9 @@ export const ru: TranslationKeys = {
|
||||
submit: "Send feedback",
|
||||
submitting: "Sending...",
|
||||
submitFailed: "Feedback could not be sent. Please try again.",
|
||||
searchMissTitle: "Запросить инструмент",
|
||||
searchMissContext: "Вы искали: {query}",
|
||||
searchMissDiscussionsFallback: "Не удалось записать. Откройте запрос в Discussions.",
|
||||
thanksTitle: "Thanks for the feedback.",
|
||||
thanksDescription: "It helps us improve SnapOtter without collecting files or private content.",
|
||||
quickThanks: "Thanks for the signal.",
|
||||
@@ -2948,6 +2951,8 @@ export const ru: TranslationKeys = {
|
||||
gettingStarted: "Начало работы",
|
||||
noToolsMatch: "Инструменты по запросу '{query}' не найдены",
|
||||
clearSearch: "Очистить поиск",
|
||||
requestToolCta: "Запросить '{query}'",
|
||||
requestToolBelowResults: "Не нашли? Запросите инструмент",
|
||||
all: "Все",
|
||||
documents: "PDF",
|
||||
data: "Файлы",
|
||||
|
||||
Reference in New Issue
Block a user