James Grugett
71dfcc4dd9
Add tracking for clicking recommended card & tournament card
2022-08-29 00:23:31 -05:00
mantikoros
6facf3b7a7
sidebar ordering
2022-08-29 00:01:04 -05:00
James Grugett
62e72b2091
Loan dialog wording tweak
2022-08-28 23:51:43 -05:00
James Grugett
4dad954820
Change limit order label "at" => "up to" or "down to"
2022-08-28 23:47:11 -05:00
akrolsmir
c7be227865
Auto-remove unused imports
2022-08-29 04:00:14 +00:00
Austin Chen
cf58fc9fd4
Remove Groups from sidebar
2022-08-28 20:59:14 -07:00
James Grugett
996b4795ea
⚡ Cache user bets tab with react query!! ( #813 )
...
* Convert useUserBets to react query
* Fix duplicate key warnings
* Fix react-query workaround to use refetchOnMount: always'
* Use react query for portfolio history
* Fix useUserBet workaround
* Script to back fill unique bettors in all contracts
* React query for user bet contracts, using uniqueBettorsId!
* Prefetch user bets / portfolio data
2022-08-28 18:03:00 -05:00
mantikoros
7e00f29189
back to "sign up to bet"
2022-08-28 16:55:29 -05:00
mantikoros
1ff453d64c
eslint
2022-08-28 16:38:59 -05:00
mqp
3fd07da1b0
Auto-prettification
2022-08-28 21:15:31 +00:00
mantikoros
eb070f0b07
Auto-remove unused imports
2022-08-28 21:14:44 +00:00
mantikoros
c88621de19
hide group edit dialog when signed out
2022-08-28 16:14:02 -05:00
mantikoros
2e96721a5c
"sign in" => "add my answer"
2022-08-28 16:14:02 -05:00
mantikoros
0a5fb4752a
CreateQuestionButton: use Button component
2022-08-28 16:14:02 -05:00
mantikoros
cae2154893
sign in button
2022-08-28 16:14:02 -05:00
mantikoros
926929880a
"Sign up to bet" => "Place my bet"; "Sign in to comment" => "Add my comment"; rename button to BetSignUpPrompt
2022-08-28 16:14:02 -05:00
James Grugett
9c15d5b96c
React-query-ify notifications ( #812 )
...
* Use single react query to subscribe to notifications
* Remove 'preferred' in variable names
2022-08-28 15:20:21 -05:00
mantikoros
3d073da97e
hide quick bet on mobile
2022-08-28 14:07:19 -05:00
mantikoros
d63dd12056
admin unlisted toggle
2022-08-28 13:37:34 -05:00
mantikoros
133e7a9c3f
change label to admin
2022-08-28 13:37:34 -05:00
mantikoros
98861ccc19
remove typo
2022-08-28 13:37:34 -05:00
Marshall Polaris
1e11491369
Tidy up rendering of info tooltips
2022-08-28 01:43:13 -07:00
James Grugett
7c798a063c
Improve edit close date UI
2022-08-28 00:35:24 -05:00
mantikoros
03e07037ea
ban users from posting ( #810 )
2022-08-28 00:23:25 -05:00
James Grugett
2acc1a8433
Double daily loans rate to 2% 💰 💰
2022-08-28 00:11:28 -05:00
Marshall Polaris
b21051ced5
Fix up copy link toast styling
2022-08-27 19:15:55 -07:00
Marshall Polaris
ef77c7c9a3
Clean up markup in CopyLinkDateTimeComponent ( #809 )
2022-08-27 19:05:46 -07:00
James Grugett
d7793841d1
Fix NaN invested (floating point error)
2022-08-27 17:13:29 -05:00
Marshall Polaris
4b513a894d
Make tooltip rendering more efficient ( #807 )
...
* Don't use very slow dayjs formatter on timestamp tooltips
* Kill dead code in feed-bets.tsx
* Clean up tooltip markup
2022-08-27 13:46:35 -07:00
mantikoros
305acbb18f
"current value" => "expected value"
2022-08-27 14:17:19 -05:00
Marshall Polaris
5d8f5d41fc
Fix some efficiency problems with ContractProbGraph
( #806 )
...
* Memoize bets input to ContractOverview
* Optimize a bunch of nonsense in `ContractProbGraph`
2022-08-27 01:09:17 -07:00
Marshall Polaris
3e976eadac
Make portfolio graph loading more efficient ( #805 )
...
* Make portfolio graph on profile not load extra data
* Clean up unused props
* Tidy up markup
* Enable "daily" option again on portfolio history picker
2022-08-27 01:09:01 -07:00
James Grugett
2e3c2d4dcb
Tweak to add market to group UI
2022-08-27 00:59:00 -05:00
Marshall Polaris
902d9e140c
Create and use new usePagination
hook for paginating loading ( #769 )
...
* Create and use new `usePagination` hook for paginating loading
* Fix index for new comment list code
2022-08-26 20:18:08 -07:00
Sinclair Chen
9698895c22
Update fr chart colors
2022-08-26 17:39:46 -07:00
James Grugett
99bff6b794
Improve group market selection UI
2022-08-26 18:17:15 -05:00
James Grugett
5735864fd1
Add pencil to edit group on contract page
2022-08-26 17:25:05 -05:00
Sinclair Chen
8903b1ef95
Replace style props with tailwind classes ( #800 )
...
* add utility class for `word-break: break-word`
* refactor visuallyHidden style out of Page
* refactor out ref sizing hack in sidebar
* replace style props with tailwind classes
2022-08-26 14:23:06 -07:00
Austin Chen
3255806891
Support Figma embeds
2022-08-26 12:41:39 -07:00
Austin Chen
ba7d0f45db
Close Add Market modal on Cancel
2022-08-26 12:41:29 -07:00
Sinclair Chen
490115d890
Add tournaments to sidebar ( #802 )
...
* Add tournaments to sidebar
* Remove unused import
* Reposition tournaments tab
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-08-26 10:45:01 -07:00
Sinclair Chen
803091db06
Add tournament home page ( #797 )
...
* Add tournament home page
* Preload markets, follow count
* organize imports
* Fix card width
* Make entire title clickable
* plural /tournament -> /tournaments
* prettier
* Fix /tournaments when groupIds are invalid
* Restyle /tournaments page
* Reintroduce Salem, tweak styles
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-08-26 10:31:25 -07:00
James Grugett
b1ccee73fd
If there is a group for a market on market page, clicking it goes to group
2022-08-26 01:23:50 -05:00
James Grugett
74ce98913c
Make graph start from left side for new markets
2022-08-26 01:08:16 -05:00
Austin Chen
26a2eb2391
Switch to a different color scheme
2022-08-25 22:31:05 -07:00
James Grugett
539bfba70c
Decrease starting time window for free response graph
2022-08-26 00:21:06 -05:00
Austin Chen
4faab4fcdc
Clean up Featured code
2022-08-25 19:42:40 -07:00
Austin Chen
0f49effade
Tweak Featured badge design
2022-08-25 19:17:50 -07:00
James Grugett
7773234138
Add debug console.log
2022-08-25 17:21:51 -05:00
Ian Philips
91bb4dfab2
With play money on numeric & center text
2022-08-25 12:06:42 -06:00