Skip to content

Commit 912e718

Browse files
committed
feat(contact): add 'etc' (기타) product option
Adds 'etc' as the 8th enum value in PRODUCT_IDS with label '기타', covering inquiries that don't fit the 7 solution products. Routes to first-fluke/first-fluke.github.io via PRODUCT_ROUTES env on the Worker (operator config — already provisioned). Reverses ADR-0001 D2's prior 'no etc option' choice; ADR and task.md updated in the outer repo.
1 parent 47f80ff commit 912e718

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lib/contact/products.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ export const PRODUCT_IDS = [
88
"prompt-ops",
99
"shopzy",
1010
"oma",
11+
"etc",
1112
] as const;
1213

1314
export type ProductId = (typeof PRODUCT_IDS)[number];
1415

15-
// Korean display labels — kept in sync with lib/solutions.ts name fields (6 products) + oma
16+
// Korean display labels — kept in sync with lib/solutions.ts name fields (6 products) + oma + etc fallback
1617
export const PRODUCT_LABELS: Record<ProductId, string> = {
1718
"place-haejo": "플레이스 해줘",
1819
"contents-haejo": "콘텐츠 해줘",
@@ -21,4 +22,5 @@ export const PRODUCT_LABELS: Record<ProductId, string> = {
2122
"prompt-ops": "PromptOps",
2223
shopzy: "Shopzy",
2324
oma: "OMA (oh-my-agent)",
25+
etc: "기타",
2426
};

worker/.dev.vars.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TURNSTILE_SECRET_KEY=""
1818

1919
# ── vars (production: wrangler.toml [vars]) ──────────────────────────────────
2020
GH_APP_ID="3664188"
21-
PRODUCT_ROUTES='{"shopzy":{"repo":"first-fluke/shopzy","installationId":"131094718"}}'
21+
PRODUCT_ROUTES='{"shopzy":{"repo":"first-fluke/shopzy","installationId":"131094718"},"etc":{"repo":"first-fluke/first-fluke.github.io","installationId":"<installationId>"}}'
2222
ALLOWED_ORIGINS="http://localhost:3000"
2323
RESEND_FROM="FIRST FLUKE <contact@mail.firstfluke.com>"
2424
OPS_ALERT_TO="ops@example.com"

0 commit comments

Comments
 (0)