Drop question-report entirely, obfuscate the mailto link instead
Deploy / deploy (push) Successful in 1m2s

The report button logged to an event stream nothing ever read - no
notification, no dashboard, just a durable no-op. A browser back
button already covers "this page wasn't helpful" better than a button
that silently does nothing visible to anyone but the visitor who
clicked it.

The mailto address is now assembled from data-user/data-domain on a
real mouse event instead of baked into the server-rendered href -
keeps a plain mailto: string (what bulk scrapers regex HTML for) out
of what a generic bot crawl sees, without hiding the contact option
from an actual visitor.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bendik Aagaard Lynghaug
2026-08-12 20:48:27 +02:00
co-authored by Claude Sonnet 5
parent 27dac946a3
commit 35663a28c1
3 changed files with 34 additions and 92 deletions
+2 -4
View File
@@ -21,10 +21,8 @@ pub struct Question {
pub qualifies: Option<String>,
#[serde(default)]
pub alternatives: Vec<Alternative>,
/// Who to contact if a visitor gets stuck or finds this question
/// unhelpful - rendered as a small line on the page, and the person
/// a "report this question" action names in its own event payload
/// (see `events::store`, `question_report` aggregate-less events).
/// Who to contact if a visitor gets stuck - rendered as a small line
/// on the page.
#[serde(default)]
pub responsible: Option<Responsible>,
}