Compare commits

...

2 Commits

Author SHA1 Message Date
Naiyuan Qing
c1493f9124 copy(feedback): expand GitHub hint to highlight discussion as well
Reviewer feedback: "faster traction" only signals speed; users also care about
having an open back-and-forth on a tracked thread. Update the hint to surface
both benefits without lengthening the line meaningfully.

- EN: "Want faster handling and open discussion? Head to GitHub"
- ZH: "想被更快处理、参与讨论?请去 GitHub"

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-05-12 11:32:56 +08:00
Naiyuan Qing
ae8ea8a393 refactor(feedback): replace generic description with brand-colored GitHub CTA
The Feedback modal previously rendered three lines of grey copy before the
editor — title, description, and the GitHub hint from #2451. The hint blended
into the description, defeating its purpose of nudging users toward a tracked
channel.

Drop the generic description (placeholder already explains what to type) and
restyle the hint so GitHub itself is the only brand-coloured anchor. The
shorter sentence ("Want faster traction? Head to GitHub") puts the link at
the natural end-of-line fixation point, where the colour shift actually
registers.

i18n splits into prefix + link (suffix would be empty), avoiding the
sentence-order brittleness that 3-key splits usually introduce.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-05-12 11:27:28 +08:00
3 changed files with 15 additions and 16 deletions

View File

@@ -22,7 +22,6 @@
},
"feedback": {
"title": "Feedback",
"description": "We'd love to hear what's working, what isn't, or what you'd like to see next.",
"placeholder": "Tell us about your experience, bugs you've found, or features you'd like to see…",
"toast_uploading": "Please wait for uploads to finish…",
"toast_too_long": "Message is too long",
@@ -30,7 +29,8 @@
"toast_failed": "Failed to send feedback",
"send": "Send feedback",
"sending": "Sending…",
"github_hint": "Want to discuss or get faster traction? Open an issue on GitHub →"
"github_hint_prefix": "Want faster handling and open discussion? Head to ",
"github_hint_link": "GitHub"
},
"issue_picker": {
"search_placeholder": "Search issues...",

View File

@@ -22,7 +22,6 @@
},
"feedback": {
"title": "反馈",
"description": "告诉我们哪些好用、哪些不好用、希望接下来做什么。",
"placeholder": "聊聊你的体验、遇到的 bug或想看到的功能...",
"toast_uploading": "请等待上传完成...",
"toast_too_long": "内容过长",
@@ -30,7 +29,8 @@
"toast_failed": "发送反馈失败",
"send": "发送反馈",
"sending": "发送中...",
"github_hint": "想要讨论或更快处理?来 GitHub 提 issue →"
"github_hint_prefix": "想更快处理、参与讨论?请去 ",
"github_hint_link": "GitHub"
},
"issue_picker": {
"search_placeholder": "搜索 issue...",

View File

@@ -5,7 +5,6 @@ import { toast } from "sonner";
import {
Dialog,
DialogContent,
DialogDescription,
DialogHeader,
DialogTitle,
} from "@multica/ui/components/ui/dialog";
@@ -93,17 +92,17 @@ export function FeedbackModal({ onClose }: { onClose: () => void }) {
<DialogContent className="sm:max-w-2xl !h-[28rem] p-0 gap-0 flex flex-col overflow-hidden">
<DialogHeader className="px-5 pt-4 pb-2 shrink-0">
<DialogTitle>{t(($) => $.feedback.title)}</DialogTitle>
<DialogDescription>
{t(($) => $.feedback.description)}
</DialogDescription>
<a
href="https://github.com/multica-ai/multica/issues"
target="_blank"
rel="noopener noreferrer"
className="mt-1 text-xs text-muted-foreground underline-offset-2 hover:text-foreground hover:underline"
>
{t(($) => $.feedback.github_hint)}
</a>
<p className="mt-1 text-xs text-muted-foreground">
{t(($) => $.feedback.github_hint_prefix)}
<a
href="https://github.com/multica-ai/multica/issues"
target="_blank"
rel="noopener noreferrer"
className="text-brand underline decoration-brand/40 underline-offset-2 hover:decoration-brand"
>
{t(($) => $.feedback.github_hint_link)}
</a>
</p>
</DialogHeader>
<div className="flex-1 min-h-0 px-5 pb-3">