Files
linkspin/public/team.html
T
martbost 01ef4e9260 Holding tank: 24-hour sign-up grace plus a Who invited you box, the same rules as InstantAdPay (Marty 2026-11-07: "24-hour grace plus the prompt"). One network tank, so both sites behave the same.
Grace: for 24 hours from an account's created time nobody can adopt the person by hand: an Opens in badge, no Adopt button, a plain refusal from adopt(). Auto-assign keeps its clock from the wallet link, so the 24-hour hold is not stretched. The wallet-ready post waits for the grace and says the time really left, is skipped when the rotation takes them in that tick, the arrivals post moves to when the grace ends (marks.claim per member), and the Overview note and weekly email count only people who are open.

Prompt: LinkSpin members land on the Control Room, not the /tools Overview, so the box sits at the top of every Control Room screen, /tools included (cr-shell.js). Same checks as InstantAdPay, through setSponsor as a deliberate change with by 'invited', so it follows and clears the hold. With a wallet already linked the engine switches payouts on under the named sponsor right away, as an adoption does, and the confirm box says so first. Nobody invited me hides it everywhere and a small link on /tools brings it back. The named sponsor gets the referral email and an on-site notice (new hooks.notify).

Chatbot canned + systemPrompt, KNOWLEDGE_DATE 2026-11-07. cr-shell.js, common.js, credits-screen.js, my.js, admin.js, admin-sponsorcheck.js ?v=20261107tg. qa/tank-hold.test.mjs and qa/sponsorfollow.test.cjs extended; qa/run.sh member now runs tank-hold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 07:06:44 -06:00

45 lines
4.2 KiB
HTML

<!doctype html>
<html lang="en" data-theme-base="light">
<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>Team · LinkSpin</title>
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"light",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("ls.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.LSTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("ls.theme",c);else localStorage.removeItem("ls.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("ls-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
<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=20261101t">
<style>
.body{padding:16px 24px;display:grid;gap:16px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}
.line .hd,.line .rw{grid-template-columns:minmax(0,2fr) 100px 140px 100px 110px}
.lvl{display:flex;gap:4px;padding:10px 16px;border-bottom:1px solid var(--line);align-items:center;flex-wrap:wrap}
.lvl button{background:transparent;border:1px solid transparent;border-radius:var(--r);color:var(--muted);font-family:var(--display);font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;cursor:pointer}
.lvl button.on{background:var(--panel);border-color:var(--accent);color:var(--accent-hi);box-shadow:0 1px 2px rgba(15,27,46,.08)}
@media (max-width:900px){.two{grid-template-columns:1fr}.line .hd{display:none}.line .rw{grid-template-columns:1fr 1fr}.body{padding:12px 16px}}
</style>
</head>
<body>
<div id="page">
<div class="body">
<div class="tiles" id="tiles"></div>
<div class="two">
<div class="tbl line">
<div class="lvl"><button type="button" class="on" data-l="1">Directs</button><button type="button" data-l="2">Level 2</button><button type="button" data-l="3">Level 3</button><span class="grow"></span><span class="chips" id="chips"><button class="chip" type="button" data-f="today" data-st="bought">Active today</button><button class="chip" type="button" data-f="quiet" data-st="quiet">Quiet 3+ days</button><button class="chip" type="button" data-f="wallet">Wallet linked</button><button class="chip" type="button" data-f="nopay" data-st="wallet">Wallet, payouts off</button><button class="chip" type="button" data-f="nowallet" data-st="joined">No wallet</button></span></div>
<div class="hd"><span>Member</span><span>Last seen</span><span>Stage</span><span class="r">Paid you</span><span>Came from</span></div>
<div id="rows"></div>
<div class="ft" id="foot"></div>
</div>
<div style="display:grid;gap:16px;align-content:start">
<div class="panel"><h2>Your invite link</h2><span class="code" id="invite"></span><div style="display:flex;gap:8px"><button class="btn sm" type="button" id="copyInvite">Copy</button><a class="btn sm" href="/links">Put it in a spin</a></div><div class="muted">Everyone who joins through it becomes part of your line. Payouts lock to you once your payouts are on.</div></div>
<div class="panel"><h2>Your sponsor</h2><div id="sponsor" class="ink2">loading</div></div>
<div class="panel" id="claimPanel" hidden><h2 class="warn">Waiting on a wallet</h2><div id="claims" class="ink2"></div></div>
<div class="panel"><h2>Message your line</h2><div class="muted">One broadcast a day, on-site and email.</div><a class="btn sm" href="/tools#line" style="justify-self:start">Write one in the classic dashboard</a></div>
</div>
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/team.js?v=20261105fd"></script>
</body>
</html>