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>
This commit is contained in:
martbost
2026-10-16 18:05:02 -05:00
parent 3ac8cf3cd0
commit df1b900f45
38 changed files with 580 additions and 44 deletions
+2 -1
View File
@@ -28,7 +28,7 @@
<div class="wrap">
<a class="brand" href="/" aria-label="LinkSpin home"><span class="mark"></span><span class="word">Link<b>Spin</b></span></a>
<nav class="nav" aria-label="Site">
<a href="#links">Links</a><a href="#pages">Pages</a><a href="#zones">Zones</a><a href="#split">The split</a><a href="/ledger">Ledger</a><a href="/blog">Blog</a>
<a href="#links">Links</a><a href="#pages">Pages</a><a href="#zones">Zones</a><a href="#split">The split</a><a href="/ledger">Ledger</a><a href="/blog">Blog</a><a href="/support">Support</a>
</nav>
<span class="grow"></span>
<a href="/join" class="btn ghost" data-join>Sign in</a>
@@ -217,6 +217,7 @@
<a href="/terms">Terms</a>
<a href="/privacy">Privacy</a>
<a href="/disclaimer">Disclaimer</a>
<a href="/support">Support</a>
<span class="grow"></span>
<span class="mono" style="font-size:11px">Polygon · <a href="/contract" id="ftContract">contract</a> · a Crypto Team Build Network property</span>
</div>