Austin Chen
51aa8df010
Set up a read API using Vercel serverless functions ( #49 )
...
* Set up read API using Vercel serverless functions
Featuring:
/api/v0/markets
/api/v0/market/[contractId]
/api/v0/slug/[contractSlug]
* Include tags in API
2022-02-17 12:56:24 -08:00
mantikoros
6701bfca0d
marketCloseEmails: "every hour" => "every 1 hours"
2022-02-17 12:50:47 -06:00
mantikoros
1036c2df0d
sendMarketCloseEmails: check undefined
2022-02-17 12:34:57 -06:00
mantikoros
dcbdc66df5
Close emails ( #50 )
...
* script init for stephen dev
* market close emails
* order of operations
* template email
* sendMarketCloseEmail: handle unsubscribe
* remove debugging
* marketCloseEmails: every hour
2022-02-17 12:18:02 -06:00
James Grugett
d6f15deff4
Fix home page in dev on branches that are not free-response
2022-02-17 01:02:48 -06:00
mantikoros
482a72f4e1
welcome email: include link to manifold
2022-02-16 22:42:52 -06:00
Austin Chen
a12a8bcd6a
Expand create panel on focus
...
From Richard Hanania's feedback
2022-02-16 19:37:54 -08:00
Austin Chen
515676f885
Consistently floor user.balance
2022-02-16 19:19:11 -08:00
Austin Chen
87a33933e4
Revert "Stop flooring inputs into formatMoney"
...
This reverts commit 2f7ab18429
.
2022-02-16 19:14:12 -08:00
Austin Chen
2f7ab18429
Stop flooring inputs into formatMoney
2022-02-16 18:48:59 -08:00
Austin Chen
a2e4893be8
Don't include trailing !:,.; in links
2022-02-16 10:32:44 -08:00
mantikoros
95242d94ac
sort trades by resolved
2022-02-16 00:08:16 -06:00
James Grugett
4917d4084b
Break words in questions
2022-02-14 20:27:43 -06:00
Austin Chen
95fbfb7db0
Tweak padding
2022-02-14 15:39:59 -08:00
Austin Chen
86b4b1a907
Use badges in Your Trades
2022-02-14 15:29:29 -08:00
mantikoros
443acdbcf8
beautify trades page
2022-02-14 16:00:46 -06:00
Austin Chen
97bf1049b5
Show gray probabilities for closed markets
2022-02-14 13:34:05 -08:00
mantikoros
a8abd4ecbb
trades page: show pnl
2022-02-14 13:00:20 -06:00
James Grugett
cef9eebbdf
Add lowercase tags when editing tags
2022-02-13 22:41:00 -06:00
mantikoros
800d9c6723
lower fees on sales
2022-02-13 20:24:11 -06:00
Austin Chen
0e640bf53b
Show the current % instead of "MKT" in Your Trades
2022-02-13 18:20:46 -08:00
Austin Chen
e4f1fbde3f
Link to each question from Admin page
2022-02-13 16:09:30 -08:00
Austin Chen
5c3370ded8
Clean up Resolve Market panel
2022-02-13 15:41:08 -08:00
mantikoros
e2de257372
Simple dpm ( #46 )
...
* simpler payout mechanism; lower phantom ante to $1
* deductFees
* reduce phantom ante to 0.01
* PHANTOM_ANTE = 0.001
* payouts: pay back winner losses with fees
* simplify payouts
2022-02-12 19:19:17 -06:00
mantikoros
2d66be5208
resolve market: fix probability bounds
2022-02-12 00:19:45 -06:00
Austin Chen
7338bdd47a
Automatically sort Tailwind classes with Prettier ( #45 )
...
* Add Prettier Tailwind plugin
* Autoformat Tailwind classes with Prettier
2022-02-11 10:40:22 -08:00
James Grugett
dc0c9cf1d4
Filter undefined contracts
2022-02-10 17:06:27 -06:00
James Grugett
d02611a37a
Add id field to markets api endpoint
2022-02-10 16:35:20 -06:00
James Grugett
4150479aa3
Break words and linkify fold about text
2022-02-10 14:57:41 -06:00
James Grugett
00fbe711e5
Only show leaderboard scores that round up to M$ 1 or more
2022-02-10 14:51:14 -06:00
James Grugett
9b50d67313
Render graph with bets from static props immediately
2022-02-10 14:36:19 -06:00
Austin Chen
bcc011c1fd
Allow admins to edit questions
2022-02-09 10:58:33 -08:00
James Grugett
b0a1da62d2
Add sort options for /trades. Can sort by
...
profit or newest!
2022-02-08 23:28:20 -06:00
James Grugett
e66564cd1f
Add current prob to trades items
2022-02-08 22:52:09 -06:00
James Grugett
6214b6e425
Truncate leaderboard name
2022-02-08 22:45:02 -06:00
Austin Chen
66624ff92c
Send a welcome email to new users
2022-02-08 03:26:33 -08:00
James Grugett
096ac8f512
Put profile underneath bet popup
2022-02-08 00:57:34 -06:00
James Grugett
2d7c895964
Shrink about headers to h2
2022-02-08 00:21:47 -06:00
James Grugett
192b54f986
Darker text on gray resolve buttons.
2022-02-07 23:52:03 -06:00
James Grugett
041bfe5ac0
Fix latestTime graph calculation
2022-02-07 23:43:35 -06:00
James Grugett
19baf86963
Sort fold & tag markets by 24-hour-vol
2022-02-07 23:03:55 -06:00
James Grugett
1cf7b42597
Better handle graphs of resolved markets that had an earlier close time.
2022-02-07 22:48:36 -06:00
James Grugett
546005139b
Fix recent activity label on mobile
2022-02-07 22:06:58 -06:00
James Grugett
2b5a0b1111
Require at least 2 follows to show a community (or show it if you are the curator)
2022-02-07 20:56:25 -06:00
James Grugett
faa49b750e
Always show follow a community prompt
2022-02-06 20:03:42 -06:00
Austin Chen
ab6cfd2564
Show all recent activity if user has no folds
2022-02-06 16:03:36 -08:00
mantikoros
4f0b94150c
sellBet: handle case where bettor equals market creator
2022-02-06 17:18:30 -06:00
James Grugett
25e498ab3c
Create market includes tags input.
2022-02-06 17:14:07 -06:00
James Grugett
63b7f64683
Listen for folds in contract page
2022-02-06 16:55:14 -06:00
Austin Chen
5aebd7eb41
Use font-weight: 600 for bold text
2022-02-06 01:23:45 -08:00