From d48172f4d116cd7292c3c4659ef8dc03dd80dd13 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Thu, 10 Sep 2026 08:15:45 +0200 Subject: [PATCH] Make feedback access more visible Move the feedback entry out of the Extras submenu into its own top-level menubar item, and add a floating action button (bottom right) as a second, always-visible entry point. Both stay gated behind IS_OWN_HOSTED_INSTANCE like before. Co-Authored-By: Claude Sonnet 5 --- web/src/App.css | 26 ++++++++++++++++++++++++++ web/src/App.tsx | 31 +++++++++++++++++++------------ 2 files changed, 45 insertions(+), 12 deletions(-) diff --git a/web/src/App.css b/web/src/App.css index 51db924..623299c 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -3457,6 +3457,32 @@ max-width: 90vw; } +.ts-feedback-fab { + position: fixed; + right: 1.25rem; + bottom: 1.25rem; + z-index: 500; + width: 3rem; + height: 3rem; + border-radius: 50%; + border: 1px solid var(--border); + background: var(--accent, #4a7dfc); + color: #fff; + font-size: 1.3rem; + line-height: 1; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); + transition: transform 0.12s ease, box-shadow 0.12s ease; +} + +.ts-feedback-fab:hover { + transform: scale(1.06); + box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); +} + .ts-feedback-intro, .ts-feedback-hint { font-size: 12px; diff --git a/web/src/App.tsx b/web/src/App.tsx index 4937880..db0c328 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -8302,21 +8302,17 @@ function AppInner() { {t("menu.extras.options")} Alt+P - {IS_OWN_HOSTED_INSTANCE && ( - - )} )} + {IS_OWN_HOSTED_INSTANCE && ( + setFeedbackOpen(true)} + > + 💬 {t("menu.extras.feedback")} + + )} {t("menu.help")} @@ -8576,6 +8572,17 @@ function AppInner() { /> )} + {IS_OWN_HOSTED_INSTANCE && !feedbackOpen && ( + + )} + {feedbackOpen && setFeedbackOpen(false)} />} {favoritesDialogMode && (