Commit Graph

461 Commits

Author SHA1 Message Date
jahooma
2c9f8e00bf Fix nextjs console error by not loading from localstorage immedately. Use layout effect instead. 2021-12-16 22:09:38 -06:00
jahooma
96791e11a5 Stop flash of landing page when signed in and loading '/' 2021-12-16 21:37:38 -06:00
Austin Chen
ef091f4359 Add a temporary link to explore all markets from homepage 2021-12-16 18:36:41 -08:00
jahooma
7464d1e54f Align description buttons right. Switch to 12 hour format time 2021-12-16 16:17:43 -06:00
jahooma
325619aa01 Edit => Add to description. Autofocus the textarea. 2021-12-16 16:07:37 -06:00
jahooma
ad2f080c6e Improve layout of bets card 2021-12-16 15:51:47 -06:00
mantikoros
985621982b bets wording 2021-12-16 15:35:19 -06:00
jahooma
06f1657a4c Stop link click propogation 2021-12-16 15:28:58 -06:00
mantikoros
4503a5e04a display active contracts first 2021-12-16 15:22:24 -06:00
mantikoros
01bb4e4156 fix UserPage access issues 2021-12-16 15:22:24 -06:00
jahooma
21d0eca49f Collapsable bets, with bet table collapsed by default 2021-12-16 15:22:00 -06:00
jahooma
9289ad1f37 Remove All bets section from contract page 2021-12-16 13:51:35 -06:00
mantikoros
4be9c3d80c SEO component 2021-12-16 12:40:23 -06:00
mantikoros
99637d913d add meta tags to contract 2021-12-16 12:21:16 -06:00
Austin Chen
070b5e55c1 Spacing & wording tweak 2021-12-16 02:50:32 -08:00
Austin Chen
a8733723be Editable descriptions 2021-12-16 02:46:41 -08:00
Austin Chen
085e6d868f Switch header links to underline 2021-12-16 01:53:19 -08:00
Austin Chen
5e980a7863 Fix ContractOverview layout 2021-12-16 01:39:16 -08:00
Austin Chen
6b5bf3cb35 Line up BetSection with graph 2021-12-16 01:32:52 -08:00
Austin Chen
c64289af86 Make descriptions optional 2021-12-16 01:26:35 -08:00
Austin Chen
aab735cd8b Fix UserPage alignment 2021-12-16 01:09:36 -08:00
Austin Chen
ec516ee41f Move bet payouts to the top right of the card 2021-12-16 01:03:41 -08:00
jahooma
eaa9651c82 Fix create market redirect 2021-12-16 01:00:35 -06:00
jahooma
8abbc34652 Improve graph for resolved bets 2021-12-16 00:44:04 -06:00
mantikoros
00f5fbcf93 contract: static props, useContractWithPreload 2021-12-16 00:36:51 -06:00
jahooma
5d2e81f982 Simplify card 2021-12-16 00:11:14 -06:00
mantikoros
2a08f70a9f contractid: reenable stuff 2021-12-15 23:56:12 -06:00
jahooma
4fd3f03fd3 Prevent flash of 404 on user profile page. 2021-12-15 23:56:03 -06:00
mantikoros
24dabe09fa upgrade nextjs version 2021-12-15 23:49:38 -06:00
jahooma
5565bc5455 Make list of contract's bets be a card. Underline contract question as a link. 2021-12-15 23:10:31 -06:00
jahooma
81d3c09e60 Make Yes/No buttons flex. Estimated winnings => Max payout (estimated) 2021-12-15 22:55:03 -06:00
mantikoros
318e22b97d test 2021-12-15 22:52:07 -06:00
jahooma
36591539d3 Sort bets reverse-chronologically. 2021-12-15 22:40:48 -06:00
jahooma
ea1e66bda1 Add bets section to contract page. 2021-12-15 22:30:24 -06:00
mantikoros
9bd0ad7211 test 2021-12-15 22:20:39 -06:00
mantikoros
c5286dfa87 test 2021-12-15 22:12:27 -06:00
mantikoros
09ad6a3fe0 test 2021-12-15 22:10:14 -06:00
jahooma
b9fb1d0f31 Fix build and redirect logged out users from '/create' to '/' 2021-12-15 21:58:28 -06:00
jahooma
f2d19360aa Improve chart's time axis to be over at least 8 hours, and extend up to now. 2021-12-15 21:48:09 -06:00
mantikoros
3691ef81ed test ssr 2021-12-15 21:45:31 -06:00
mantikoros
5206121579 ContractPage: static paths blocking 2021-12-15 21:42:05 -06:00
mantikoros
fe0d666c2b test ssg 2021-12-15 21:24:11 -06:00
mantikoros
7b4e35699d fix build issue 2021-12-15 21:20:39 -06:00
mantikoros
d59666e7e3 add meta tags to contract 2021-12-15 21:14:04 -06:00
jahooma
fe9def453b Show total of active bets and their current value. Arrange unresolved markets first. 2021-12-15 21:04:44 -06:00
Austin Chen
09dba6ef1e Fix: Don't show "Resolved" on unresolved markets 2021-12-15 18:51:41 -08:00
Austin Chen
02d836adda Search and filter from UserPage 2021-12-15 18:50:03 -08:00
Austin Chen
79c0685b30 Move market creation to /create 2021-12-15 18:35:54 -08:00
jahooma
83b4cc38b3 Show just payout column for resolved markets, tweak calculation and resolved labels. 2021-12-15 20:28:40 -06:00
Austin Chen
743616449f Prefix username URLs with @ 2021-12-15 18:26:38 -08:00