Files
linkspin/public/help.html
T
martbost df1b900f45 Support: Help screen, public /support page, ticket link and chat hand-off on InstantAdPay's shared desk
helpdesk.js proxies to InstantAdPay's partner API (/api/partner/support/*), signed with the
same LS_SYNC_SECRET + X-LS-Ts/X-LS-Sig as iapsync.js, IAP_URL as the base. No tickets are
stored here.

- /help: Control Room screen (list, new ticket with the desk's categories, thread, reply);
  Help on the rail with an unread badge when Marty has replied (/api/my/support/unread, 60 s cache)
- /support and /support/t/<token>: public form + private ticket link, behind the sign-up
  guard's walls (honeypot, form age, IP/email limits, icon check) on their own counters;
  these pages, their API and their files pass the curtain for anonymous visitors
- chat bubble: "Send this to support" hand-off, greeting points to Help and /support;
  chatbot flags hand-off on support questions and unsure answers; CANNED + FACTS updated,
  KNOWLEDGE_DATE 2026-10-16
- Support in the home nav, common.js nav/footer and every public footer; copy that said
  "message support" now points at Help
- cache tags bumped (common.js, cr-shell.js, chat.js, my.js, credits-screen.js)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:05:02 -05:00

36 lines
2.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="robots" content="noindex, nofollow">
<title>Help · LinkSpin</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Manrope:wght@400;500;700&family=JetBrains+Mono:wght@500;700&display=swap">
<link rel="stylesheet" href="/assets/cr.css?v=20261012a">
<style>
.body{padding:16px 24px;display:grid;gap:16px;max-width:980px}
.hl .hd,.hl .rw{grid-template-columns:minmax(0,1fr) 150px 130px}.hl .rw{cursor:pointer}
.hl .rw .sb{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hl .rw .mt{font-family:var(--mono);font-size:11px;color:var(--muted)}
.hdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--sig);margin-right:6px;vertical-align:1px}
.hf{display:grid;gap:12px}
.hf label{display:grid;gap:5px;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.hf textarea.field{font:500 14px var(--body, Manrope, system-ui);line-height:1.5;resize:vertical}
.acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hmsg{font-size:12.5px;color:var(--muted)} .hmsg.bad{color:var(--bad)}
.sup-msg{border:1px solid var(--line);border-radius:8px;padding:12px 14px;background:var(--panel-2)}
.sup-msg.admin{border-color:var(--accent-dim, #7CB2FF);background:var(--accent-soft, #E1ECFC)}
.sup-msg .sm-head{font-size:12px;color:var(--muted);margin:0 0 6px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.sup-msg .sm-body{white-space:pre-wrap;word-wrap:break-word;font-size:14.5px;line-height:1.5}
@media (max-width:900px){.body{padding:12px 16px}.hl .hd{display:none}.hl .rw{grid-template-columns:1fr auto}.hl .rw .up{display:none}}
</style>
</head>
<body>
<div id="page">
<div class="body" id="helpBody"><div class="panel"><span class="muted">loading</span></div></div>
</div>
<script src="/assets/cr-shell.js?v=20261016a"></script>
<script src="/assets/help-screen.js?v=20261016a"></script>
</body>
</html>