When a launch board gets thousands of votes per product, five extra clicks barely move the needle. On a young, indie-scale board where a weekly podium might be decided by a handful of votes, five brand-new Google accounts created on Sunday night can flip the entire leaderboard.
Blocking all new accounts from voting would shut out real visitors who discovered a product and signed in for the first time to support it. Instead, we chose a quieter middle path in convex/votes.ts: every new account can vote immediately, but accounts under seven days old carry half the ranking weight.
Why Small Boards Are Vulnerable to Fresh Signups
In Votes vs Visits: Why Hauntboard Puts Clicks First, we wrote about why upvote exchanges hurt makers and readers alike. On a small board, the math problem is simple: if an ordinary launch earns four or six organic votes over its first week, asking four friends to create fresh accounts and click upvote can artificially vault a product into the weekly top three and earn a maker story invite.
Hard lockouts create bad UX too. Someone lands on Hauntboard from a founder's post, tries the app, signs in with Google to leave an upvote, and hits a "Come back in 7 days" error. Almost nobody returns a week later just to click one button, and punishing genuine first-time visitors makes the board feel cold.
How convex/votes.ts Weights and Guards Every Vote
Every upvote on Hauntboard flows through the toggle mutation in convex/votes.ts. Before touching a count, the mutation runs four checks:
- Authentication and account standing: requires a verified
userIdfrom Convex Auth and rejects missing or banned accounts (user.bannedAt). - Launch status check: allows voting on any public launch (
live,launched, orqueued), while blocking votes on submissions still in review or rejected. - Self-vote block: rejects votes where
product.makerId === userId, so makers never pad their own totals. - One vote per account: checks the
by_product_and_userindex so clicking again removes the existing vote cleanly rather than adding a second one.
When inserting a new vote, the server computes its weight from the user's creation timestamp against NEW_ACCOUNT_MS = 7 * DAY_MS:
const weight = Date.now() - user._creationTime < NEW_ACCOUNT_MS ? 0.5 : 1;
Every product stores both upvotes (the raw count incremented by 1) and score (the weighted sum incremented by 0.5 or 1). When someone toggles a vote off, toggle deletes the row and subtracts existing.weight from score, clamped at zero, ensuring fractional points never leak if an account ages past seven days before removing its vote.
Breaking Ties With Real Visits via byRank
Weighted votes decide the primary ranking inside byRank in convex/lib/ranking.ts. Whenever two launches finish with the exact same weighted score, byRank breaks the tie using verified outbound visits (b.clicks - a.clicks), falling back to earliest submission time only if both score and clicks match.
That pairing matters on a small board. A launch with four votes from established makers and 25 genuine visits beats a launch with four fresh-account votes (2.0 weighted score) and zero visits. Combined with our daily-salted visit deduplication, buying or trading empty clicks becomes much harder to sustain, and money never adds weight on any tier. You can inspect live counts across the whole board on the launches directory and the public stats page.
Why Voting Never Reshuffles the Page Under Your Cursor
Because Hauntboard runs on Convex, database mutations stream live to every open browser tab. While reactive updates feel snappy, naive live sorting creates a frustrating UI bug on leaderboards: you click upvote on launch #6, its score jumps above launch #5, and the list snaps upward right as you move your cursor to open launch #7.
We fixed that in lib/useStableOrder.ts with a 37-line React hook called useStableOrder, used on both the homepage leaderboard in HomeConsole.tsx and the explorer list in /launches. When a list renders for a given sort or filter key, useStableOrder captures the initial array of product IDs. As votes arrive from you or other visitors, each row's displayed vote count and voted state update immediately, while inSavedOrder keeps every card pinned in its starting slot until you reload the page or pick a new sort or filter. Any brand-new launch that appears after initial load appends cleanly to the end. We described how that pairs with our single-board layout in why we moved to a single board.