James Grugett
57728ab072
Tweaks. Remove filter for only binary contract
2022-02-17 16:09:04 -06:00
Austin Chen
e905e31838
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 16:09:04 -06:00
mantikoros
0c72453a57
marketCloseEmails: "every hour" => "every 1 hours"
2022-02-17 16:09:04 -06:00
mantikoros
bcfc8628b0
sendMarketCloseEmails: check undefined
2022-02-17 16:09:04 -06:00
mantikoros
352159a121
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 16:09:04 -06:00
James Grugett
c33c0dfc79
Fix home page in dev on branches that are not free-response
2022-02-17 16:09:04 -06:00
mantikoros
affc9a57c8
welcome email: include link to manifold
2022-02-17 16:09:04 -06:00
Austin Chen
5a86c4ccca
Expand create panel on focus
...
From Richard Hanania's feedback
2022-02-17 16:09:04 -06:00
Austin Chen
9ec58948c6
Consistently floor user.balance
2022-02-17 16:09:04 -06:00
Austin Chen
123bd1905a
Revert "Stop flooring inputs into formatMoney"
...
This reverts commit 2f7ab18429
.
2022-02-17 16:09:04 -06:00
Austin Chen
405cf2a63c
Stop flooring inputs into formatMoney
2022-02-17 16:09:04 -06:00
Austin Chen
f8f35c44f0
Don't include trailing !:,.; in links
2022-02-17 16:09:04 -06:00
mantikoros
1d7d23c925
sort trades by resolved
2022-02-17 16:09:04 -06:00
James Grugett
dfc719fcfe
Append answers to contract field 'answers'
2022-02-17 15:53:05 -06:00
James Grugett
72ccb72f8c
User info change: also change answers
2022-02-17 15:36:07 -06:00
James Grugett
0af1fb8d4a
Show bet probability change and payout when creating answer
2022-02-17 13:00:33 -06:00
James Grugett
58cec94b72
Change outcomeType to include 'MULTI' and 'FREE_RESPONSE'
2022-02-17 12:12:34 -06:00
James Grugett
445176fad2
Remove NONE resolution option
2022-02-17 01:55:29 -06:00
James Grugett
c1b6137e18
Fix type error in script
2022-02-17 01:48:05 -06:00
James Grugett
7b082cd27b
Don't show resolve options after answer chosen
2022-02-17 00:43:14 -06:00
James Grugett
f1d3ac8189
Increase char limit to 10k for answers. Preserve line breaks.
2022-02-17 00:30:46 -06:00
James Grugett
f161661e7e
Remove Contract and Bet type params. Use string type for outcomes.
2022-02-16 23:05:45 -06:00
James Grugett
18376f8a3f
Consolidate firestore rules for subcollections
2022-02-16 22:12:52 -06:00
James Grugett
595d373fb1
Update placeholder text for description
2022-02-16 18:02:09 -06:00
James Grugett
7af4375c17
Show ante bets on new answers in the feed
2022-02-16 16:40:00 -06:00
James Grugett
d13dbd6e1a
Tweaks to no answers yet, resolve button layout
2022-02-16 16:36:27 -06:00
James Grugett
a05c5dcf65
None option converted to none of the above label at bottom of list. Button to resolve none.
2022-02-16 16:26:52 -06:00
James Grugett
95a63db6ea
Fix grouped bets feed for multi outcomes
2022-02-16 15:51:41 -06:00
James Grugett
9c9b328860
Fix card showing 0% for multi contracts
2022-02-16 15:04:31 -06:00
James Grugett
68428c76a7
Create answer bet has isAnte: true
2022-02-16 12:40:20 -06:00
James Grugett
78b86a7c28
Always dev mode
2022-02-16 00:09:00 -06:00
James Grugett
0f066d7e8e
Tweaks for trades page
2022-02-16 00:08:05 -06:00
James Grugett
26bb872113
Merge branch 'main' into free-response
2022-02-15 23:56:57 -06:00
James Grugett
fad1c8aaea
Sell bets. Various fixes
2022-02-15 23:37:16 -06:00
James Grugett
6f5ac2d1d1
Fix feed and cards for multi contracts
2022-02-15 23:02:48 -06:00
James Grugett
212f79aac9
Resolved market UI
2022-02-15 22:33:04 -06:00
James Grugett
fc954b6b4b
Resolve multi market
2022-02-15 21:37:34 -06:00
James Grugett
0a178a7519
Resolve answer UI
2022-02-15 18:08:21 -06:00
James Grugett
fbdc6eacad
Can bet. More layout tweaks!
2022-02-14 23:21:44 -06:00
James Grugett
f06709c20f
Numbered answers. Layout & calculation tweaks
2022-02-14 22:27:15 -06:00
James Grugett
4917d4084b
Break words in questions
2022-02-14 20:27:43 -06:00
James Grugett
75aa946bd0
Working betting with ante'd NONE answer
2022-02-14 18:29:34 -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
James Grugett
58afde2772
Convert rest of calcuate file to generic multi contracts
2022-02-14 17:03:59 -06: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
James Grugett
26717295b8
Merge branch 'main' into free-response
2022-02-14 14:23:19 -06:00
James Grugett
b9248499c9
Answer bet panel
2022-02-14 14:14:02 -06:00
mantikoros
a8abd4ecbb
trades page: show pnl
2022-02-14 13:00:20 -06:00