Feedback in the system: ratings, messages, the recommendation question
- Under the summary, the detailed analyses, the forecast and tarot: "How tailored to you did it feel?" (1–5 stars); thumbs under answers. Only the owner rates, once (changeable); tags, a comment, and a permission to read the text; model and prompt version are kept with it - /visszajelzes: bug, idea, question, other (the page and the browser go with it, 10 a day); the state and the operator's reply show there, a dot in the account menu marks a new reply. No e-mail, no Telegram - One NPS question (0–10) in a bar under the header, after two finished contents; closing it counts - Admin → Visszajelzések: numbers by kind, week, tags, model and prompt, buyers and others, NPS; ratings with filters, the text only if allowed; messages with state, internal note and reply; a count in the admin menu - Nothing is public. Deleting an account keeps the stars without a name or comment; messages go. Privacy policy (hu, en) updated - The admin menu no longer shows a vertical scrollbar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
// Words of the feedback: rating tags, what was rated, message kinds and states.
|
||||
|
||||
import type { FeedbackCategory, FeedbackStatus } from "./types";
|
||||
|
||||
/** Tags offered with a low rating (1–3 stars). */
|
||||
export const LOW_TAGS = [
|
||||
"too_general",
|
||||
"contradictory",
|
||||
"wrong_data",
|
||||
"hard_to_read",
|
||||
"too_long",
|
||||
"tone",
|
||||
];
|
||||
/** Tags offered with a high rating (4–5 stars). */
|
||||
export const HIGH_TAGS = ["accurate", "deep", "clear", "useful"];
|
||||
|
||||
export const TAG_LABELS: Record<string, string> = {
|
||||
too_general: "túl általános",
|
||||
contradictory: "ellentmondásos",
|
||||
wrong_data: "hibás adat (pl. rossz jegy vagy ház)",
|
||||
hard_to_read: "nehezen érthető",
|
||||
too_long: "túl hosszú",
|
||||
tone: "nem tetszett a hangnem",
|
||||
accurate: "pontos",
|
||||
deep: "mély",
|
||||
clear: "jól érthető",
|
||||
useful: "hasznos",
|
||||
};
|
||||
|
||||
export const KIND_LABELS: Record<string, string> = {
|
||||
summary: "Rövid összefoglaló",
|
||||
natal: "Képletelemzés",
|
||||
synastry: "Kapcsolati elemzés",
|
||||
forecast: "Éves előrejelzés",
|
||||
tarot: "Kártyajóslás",
|
||||
question: "Válasz kérdésre",
|
||||
};
|
||||
|
||||
export const CATEGORY_LABELS: Record<FeedbackCategory, string> = {
|
||||
bug: "Hiba",
|
||||
idea: "Ötlet",
|
||||
question: "Kérdés",
|
||||
other: "Egyéb",
|
||||
};
|
||||
|
||||
/** Message states as the sender sees them. */
|
||||
export const STATUS_LABELS: Record<FeedbackStatus, string> = {
|
||||
new: "Megkaptuk",
|
||||
in_progress: "Folyamatban",
|
||||
done: "Megoldva",
|
||||
dismissed: "Lezárva",
|
||||
};
|
||||
Reference in New Issue
Block a user