Files
sorsfonalak/services/frontend/src/lib/feedback.ts
T
fecoandClaude Opus 5.5 0358e137f1
CI / test (push) Successful in 3m17s
CI / build (push) Skipped
CI / deploy (push) Skipped
Weekly horoscope: its own page, a Monday e-mail, and one page for every e-mail setting
- The week's sky on the member's own chart (horoscope-api POST /v1/week,
  astro_engine::week): the planets' aspects to the natal points with the day
  each is exact, positions, the Moon's signs, lunar phases, stations and sign
  changes; stored once per chart and week (weekly_skies, migration 0047).
- Its text is a 'weekly' analysis written by the summary's (cheap) model when
  the member opens /heti-horoszkop: one month per page, the newest week
  first, the waiting animation while it is written. In the menu, and linked
  from the chart page.
- Monday 7:00 e-mail (worker task 'weekly'): only that it is there; on by
  default for everyone with a chart, members of today too. Its footer opens
  /ertesitesek?token=…, where the weekly e-mail and every forum e-mail can
  be set without logging in; the mail client's one-click unsubscribe turns
  off the weekly one. Also a switch on the page and on the Profile page.
- Privacy notice (HU/EN) describes it; ratings, admin labels and the model
  page know the new kind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-27 09:40:09 +00:00

54 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 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ó",
weekly: "Heti horoszkóp",
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",
};