Commit Graph

1961 Commits

Author SHA1 Message Date
James Grugett
a1557bc112 Merge branch 'main' into limit-orders 2022-07-10 13:01:33 -05:00
James Grugett
337f1dcfd4 Match header size 2022-07-10 12:50:59 -05:00
James Grugett
0707e36a9b Padding on limit bets 2022-07-10 12:39:27 -05:00
James Grugett
3d250f0d3f Sort limit bets by limit prob 2022-07-10 12:33:13 -05:00
James Grugett
4fa38a2ece Tweak wording 2022-07-10 12:25:58 -05:00
James Grugett
9e7b3c0887 Simple bet fill notification 2022-07-10 12:21:42 -05:00
mantikoros
fc06b03af8 fix getCpmmLiquidityPoolWeights 2022-07-09 22:39:26 -04:00
mantikoros
d063e209dd Revert "expand search bar when typing on mobile"
This reverts commit 43b1096313.
2022-07-09 22:04:50 -04:00
James Grugett
e2e59b5726 Remove TODO 2022-07-09 19:54:13 -05:00
James Grugett
4dccbddcc5 Fix NaN error 2022-07-09 19:16:35 -05:00
James Grugett
9d9dcea9b5 Refactor useSaveShares to actually read from localStorage, use less bug-prone interface. 2022-07-09 18:54:48 -05:00
James Grugett
600203a675 Lint 2022-07-09 17:32:52 -05:00
James Grugett
2041e39b45 Small fixes to existing sell shares client 2022-07-09 17:23:11 -05:00
James Grugett
c00681abd8 Move mobile limit bets list into bet dialog. 2022-07-09 16:45:25 -05:00
James Grugett
5648595272 Simplify mobile betting dialog 2022-07-09 16:39:48 -05:00
Marshall Polaris
480b3e7c54
Make referral stuff not busted (#632) 2022-07-09 14:38:23 -07:00
James Grugett
7270c66a91 Fix focus input bug 2022-07-09 16:35:43 -05:00
mantikoros
43b1096313 expand search bar when typing on mobile 2022-07-09 17:27:39 -04:00
James Grugett
376feca7dc Require limit prob to be >= .1% and <= 99.9% 2022-07-09 16:19:44 -05:00
James Grugett
4596a1ef26 Don't show amount error in probability input 2022-07-09 16:12:15 -05:00
James Grugett
1ac401f082 Cancel your limit orders if you run out of money 2022-07-09 16:10:27 -05:00
James Grugett
0bc5c80c32 Tweak 2022-07-09 15:58:03 -05:00
Marshall Polaris
67a05c2f1b
Migrate transact function to v2 (#635) 2022-07-09 13:54:15 -07:00
Marshall Polaris
581a42f288
Migrate stripeWebhook and createCheckoutSession to v2 (#636) 2022-07-09 13:43:18 -07:00
James Grugett
9548350112 Add tooltip to explain limit probability 2022-07-09 15:42:28 -05:00
James Grugett
3283b2b24b Add note that there might be closed form 2022-07-09 15:22:53 -05:00
James Grugett
09181f806f Move binary search to util file 2022-07-09 15:01:58 -05:00
James Grugett
f90b367688 Fix lint 2022-07-09 14:49:09 -05:00
James Grugett
c30515b9a2 Merge branch 'main' into limit-orders 2022-07-09 14:46:48 -05:00
James Grugett
89ac26417b Merge branch 'main' into limit-orders 2022-07-09 14:42:46 -05:00
James Grugett
5be2ea8583 Implement selling shares 2022-07-09 14:26:23 -05:00
mantikoros
e7e686d579 return creator liquidity after resolution 2022-07-09 13:53:50 -04:00
Marshall Polaris
c1ca1471a1
Migrate createAnswer function to v2 (#634)
* Migrate createAnswer function to v2

* Remove unhelpful toString on APIError
2022-07-09 00:26:56 -07:00
James Grugett
dd9be0376b Your limit bets 2022-07-08 18:14:22 -05:00
Marshall Polaris
fdde73710e
Migrate claimManalink function to v2 (#628)
* Implement helpful `toString` on client `APIError`

* Migrate claimManalink function to v2
2022-07-08 15:28:04 -07:00
Marshall Polaris
d9f42caa6a
Migrate addLiquidity and withdrawLiquidity functions to v2 (#627) 2022-07-08 15:08:17 -07:00
Marshall Polaris
ed0544212d
Migrate changeUserInfo function to v2 (#626) 2022-07-08 15:00:03 -07:00
mantikoros
93b293ca0e remove quick betting for FR markets 2022-07-08 12:50:46 -04:00
mantikoros
50c5f8b6eb reenable fees on share sales; rename getCpmmFees() 2022-07-08 12:34:16 -04:00
James Grugett
f0a7b9591f Tweak cors regex for vercel 2022-07-07 18:54:23 -05:00
Ian Philips
f171462d0d Enable tipping on group chats w/ notif (#629) 2022-07-07 18:52:04 -05:00
Ian Philips
800d0e321c Minor notif spacing adjustments 2022-07-07 18:52:04 -05:00
Austin Chen
316d36f1d7 Clone missing indexes from firestore 2022-07-07 18:52:04 -05:00
Ben Congdon
0a4d186c3b Add API route for listing a bets by user (#567)
* Add API route for getting a user's bets

* Refactor bets API to use /bets

* Update /markets to use zod validation

* Update docs
2022-07-07 18:52:04 -05:00
Ian Philips
544fb2ebb7 Bold more on new group chats 2022-07-07 18:52:04 -05:00
Ian Philips
0522483a9a Analyze tab usage 2022-07-07 18:52:04 -05:00
Ian Philips
f246de9026 Track notification clicks 2022-07-07 18:52:04 -05:00
Ian Philips
39cf961b15 Remove category selector references 2022-07-07 18:52:04 -05:00
Ian Philips
d942e6f658 Remove category filters 2022-07-07 18:52:04 -05:00
Ian Philips
ca47a7c51a Use react-query to cache notifications (#625)
* Use react-query to cache notifications

* Fix imports

* Cleanup

* Limit unseen notifs query

* Catch the bounced query

* Don't use interval

* Unused var

* Avoid flash of page nav

* Give notification question priority & 2 lines

* Right justify timestamps

* Rewording

* Margin

* Simplify error msg

* Be explicit about limit for unseen notifs

* Pass limit > 0
2022-07-07 18:52:04 -05:00