feat: add feedback reporting system via Telegram#136
Draft
kahlstrm wants to merge 1 commit into
Draft
Conversation
Add a feedback form component that allows users to report issues from error pages. Feedback is sent to a configured Telegram chat using a bot. - Add Telegram bot service for sending messages - Add feedback API endpoint with rate limiting - Add feedback form component to error pages - Add i18n translations (Finnish and English) - Add TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID env vars https://claude.ai/code/session_01T8hLZJhqjJissBdJHUzTJh
MikaelSiidorow
requested changes
Jan 27, 2026
MikaelSiidorow
left a comment
Collaborator
There was a problem hiding this comment.
Should change the form implementation and probably exclude IP, otherwise looks pretty good
| let submitted = $state(false); | ||
| let errorMessage = $state(""); | ||
|
|
||
| async function handleSubmit(e: Event) { |
Collaborator
There was a problem hiding this comment.
This is very un-svelte. Should be a remote form function
| "📣 *New Feedback Report*", | ||
| "", | ||
| `*From:* ${escapeMarkdownV2(userInfo)}`, | ||
| `*IP:* ${escapeMarkdownV2(clientIP)}`, |
Collaborator
There was a problem hiding this comment.
IP probably unnecessary to put in the message 🤔 No need to share this with Telegram
| v.transform((val) => (val === "" ? undefined : val)), | ||
| ), | ||
| ), | ||
| TELEGRAM_CHAT_ID: v.optional( |
Collaborator
There was a problem hiding this comment.
Should we consider making it a list of chats? Could subscribe board + digitmk? Probably good enough if it ends up in once place though, can be then filtered and forwarded to the correct place
Contributor
Author
There was a problem hiding this comment.
rip, tried to tell it to do multiple 😅
Collaborator
|
Moved to draft, needs rebase and fixes |
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.
Add a feedback form component that allows users to report issues
from error pages. Feedback is sent to a configured Telegram chat
using a bot.
https://claude.ai/code/session_01T8hLZJhqjJissBdJHUzTJh