feat(web): add feedback widget - #152
Merged
Merged
Conversation
Add a dismissible floating "Feedback" tab that opens a dialog posting to the public POST /api/feedback endpoint. Includes EN/ZH-CN translations and a plain-fetch client (no auth/tenant headers, matching the endpoint's public nature).
setkyar
force-pushed
the
feat/web-feedback-widget
branch
from
August 27, 2026 17:56
8f02931 to
c103e01
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a dismissible floating "Feedback" tab (docked to the right edge) that opens a dialog and posts to the existing public
POST /api/feedbackendpoint.What's included
apps/web/src/components/feedback/FeedbackWidget.tsx— vertical tab with a ✕ dismiss (persisted inlocalStorage) and a Radix dialog form (message + optional email, live char counter).apps/web/src/lib/api/feedback.ts—submitFeedback()client using a plainfetch(no auth/tenant headers, matching the endpoint's public nature).apps/web/src/App.tsx— mounts<FeedbackWidget />globally.apps/web/src/locales/en.json/zh-CN.json—feedbacktranslation section.Notes
/api/feedbackendpoint was previously orphaned (no frontend caller); this wires it up.Button/Input/Textarea, sonner toasts).Validation
tsc -b(web) ✅biome lint✅biome format✅