Commit Graph

842 Commits

Author SHA1 Message Date
James Grugett
b0ef53fcff Merge branch 'main' into free-response 2022-02-17 16:51:53 -06:00
James Grugett
01e0355804 Put back isProd calculation 2022-02-17 16:49:59 -06:00
mantikoros
d3fdd4cd1f bets list: comment out expectation 2022-02-17 16:49:00 -06:00
mantikoros
3609255342 sort trades by value 2022-02-17 16:44:33 -06:00
James Grugett
3b0a56d4ca Fix bet probability change for NO bets 2022-02-17 16:29:50 -06:00
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
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
James Grugett
0af1fb8d4a Show bet probability change and payout when creating answer 2022-02-17 13:00:33 -06: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
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
d6f15deff4 Fix home page in dev on branches that are not free-response 2022-02-17 01:02:48 -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
mantikoros
482a72f4e1 welcome email: include link to manifold 2022-02-16 22:42:52 -06:00
James Grugett
18376f8a3f Consolidate firestore rules for subcollections 2022-02-16 22:12: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
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
Austin Chen
a2e4893be8 Don't include trailing !:,.; in links 2022-02-16 10:32:44 -08:00
James Grugett
78b86a7c28 Always dev mode 2022-02-16 00:09:00 -06:00
mantikoros
95242d94ac sort trades by resolved 2022-02-16 00:08:16 -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