You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bcb9e4f
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -150,6 +151,8 @@ export default function BoostDialog({ token, tokenId, symbol, name, twigUsd, cur
150
151
<pclassName="text-xs leading-relaxed text-muted">{fmtBoostTwig(boostAmount(phase.whole,tag))} went to 0x…dEaD. It counts for the next 24 hours and adds up with any other boost on {symbol}; the lane shows the 5 largest totals.</p>
{/* the booster's own post: what was sent and where it went, the token's page as its link */}
155
+
<ahref={boostShareUrl(symbol,boostAmount(phase.whole,tag),`${SITE_URL}/t/${BOOST_CHAIN}/${token}`)}target="_blank"rel="noreferrer"className={btn.secondarySm}>Share on X<ArrowUpRightsize={13}aria-hidden="true"/></a>
153
156
<Linkhref="/#boosted"onClick={onClose}className={btn.secondarySm}>See the lane</Link>
* A Base token's boost line on its page: whether it is in the Boosted lane, with how much TWIG and for how long, and
19
-
* the button that opens the dialog. Nothing while BOOST is off. A token an admin hid says so and offers no button, so
18
+
* A Base token's boost line on its page: whether it is in the Boosted lane, with how much TWIG and for how long, what
19
+
* the lane brought it (clicks in the same 24 hours, from BOOST_PANEL_CLICKS_MIN up), and the button that opens the dialog. Nothing while BOOST is off. A token an admin hid says so and offers no button, so
20
20
* nobody sends TWIG for a place it cannot get. `autoOpen` comes from /me's "Boost" link (?boost=1).
assert.ok(modRoute.indexOf("if (!r.ok) return")<modRoute.indexOf("getBoostLane(await ethUsd(), { fresh: true })"),"fresh only after a verified write");
assert.equal(url.origin+url.pathname,"https://x.com/intent/post","the same intent the token page's Share uses");
358
+
assert.equal(url.searchParams.get("text"),"Boosted $A&B #1 with 1M TWIG on openlaunch.lol. The TWIG went to 0x…dEaD.","a symbol never breaks out of its parameter");
0 commit comments