Fuel flow IAP -> LinkSpin made obvious (Marty 2026-10-25: "I clicked set up conversion tracking, it took me to LinkSpin and I don't know how to pick up from there"). Engine Room links now follow the site the member is on (engine.js build({site})): Set up conversion tracking on InstantAdPay opens /my#conversions (Campaigns > Conversion tracking card, scrolled to, highlighted, goal box focused; same goals LinkSpin counts) with the /conversion-tracking guide beside the button; buy/refuel/top-up and the Fuel part stay on this site. Only LinkSpin-only tools cross over (Banner Spin -> /links#b, spin link, page, testing), labelled "on LinkSpin" and tagged ?from=iap&task=<job> so LinkSpin shows an arrival strip with Step 1. Streak line and Refuel card get a "Refuel LinkSpin" link to linkspin.app/credits#refuel when the second engine is still open. Part labels wrap cleanly. Chatbot canned + prompt routes, KNOWLEDGE_DATE 2026-10-25. engine.js / engine-room.js stay byte-identical with LinkSpin. QA: fuel 12/12 engine incl. new site-links test, member walk 0 bugs. my.js, fuel.js, engine-room.js ?v=20261025ff.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -64,6 +64,17 @@ const B = o => E.build(Object.assign({ now: NOW, refuel: rf(), iap: iap(), ls: l
|
||||
assert.strictEqual(B().next.key, 'cruise');
|
||||
for (const d of [B(), cut]) assert.ok(!/—/.test(JSON.stringify(d)));
|
||||
});
|
||||
await t('links follow the site the member is on (2026-10-25): own buy/campaigns/conversion screen, LinkSpin-only tools cross over', async () => {
|
||||
const onIap = B({ ls: ls({ goalsCount: 0 }) }), onLs = B({ site: 'linkspin', ls: ls({ goalsCount: 0 }) });
|
||||
assert.strictEqual(onIap.site, 'iap'); assert.strictEqual(onLs.site, 'linkspin');
|
||||
assert.strictEqual(onIap.next.link, 'https://instantadpay.com/my#conversions'); assert.strictEqual(onIap.next.guide, '/conversion-tracking');
|
||||
assert.strictEqual(onLs.next.link, 'https://linkspin.app/conversions');
|
||||
assert.strictEqual(onIap.parts[5].key, 'conversions'); assert.strictEqual(onIap.parts[1].link, 'https://linkspin.app/links#b'); assert.strictEqual(onIap.parts[1].key, 'bannerspin');
|
||||
const lock = o => B(Object.assign({ refuel: rf({ started: false, active: false, cycle: null, streak: 0 }) }, o));
|
||||
assert.strictEqual(lock().next.link, 'https://instantadpay.com/my#buy'); assert.strictEqual(lock({ site: 'linkspin' }).next.link, 'https://linkspin.app/credits#buy');
|
||||
assert.ok(/\$25 or more here/.test(lock({ site: 'linkspin' }).next.why)); assert.ok(/\$20 or more here/.test(lock().next.why));
|
||||
assert.strictEqual(B({ site: 'linkspin', iap: iap({ campaigns: [] }), ls: ls({ campaigns: [] }) }).parts[0].link, 'https://linkspin.app/ads');
|
||||
});
|
||||
await t('facts(): LinkSpin parts and the goals dial count from the Central-time 1st', async () => {
|
||||
const own = 'o@x.test'; const ts = Date.UTC(2026, 10, 1, 4, 30); // 11:30 PM CT Oct 31 = Nov 1 in UTC
|
||||
const conv = [{ owner: own, ts, self: false }, { owner: own, ts: Date.UTC(2026, 10, 3), self: false }, { owner: own, ts: Date.UTC(2026, 10, 4), self: true }];
|
||||
|
||||
Reference in New Issue
Block a user