Commit Graph

428 Commits

Author SHA1 Message Date
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
Austin Chen
87010c1924 Extract shared UserPage code 2021-12-15 18:16:08 -08:00
Austin Chen
64dde4f482 Link to UserPage with @username 2021-12-15 18:16:00 -08:00
Austin Chen
9df78a4963 Support user profiles on /[username]
Currently all bets are also shown
2021-12-15 17:34:36 -08:00
Austin Chen
8e119a6338 Replace /contract/[id] with /[username]/[id] 2021-12-15 16:52:19 -08:00
mantikoros
4b96015793 yes or no: up contrast 2021-12-15 18:02:15 -06:00
mantikoros
f0fbabbfb2 res panel: capitalize outcoms 2021-12-15 18:02:04 -06:00
mantikoros
be90a585a8 bet panel: small things 2021-12-15 17:55:46 -06:00
mantikoros
18abe96fbe header: open about in new tab 2021-12-15 17:29:16 -06:00
mantikoros
15b11d30a3 placeBets: handle old contracts 2021-12-15 17:29:16 -06:00
jahooma
f32933f668 Bet calculation / UI updates 2021-12-15 17:27:02 -06:00
jahooma
e8f94f48e2 Update bet UI with market summary and computed columns 2021-12-15 16:58:38 -06:00
mantikoros
e281233924 contract now has dpmWeights 2021-12-15 16:44:22 -06:00
mantikoros
4b123d47ee change starting balance to 100 2021-12-15 16:27:57 -06:00
mantikoros
e3f4a99263 header: hide markets for nonsigned in users 2021-12-15 12:55:00 -06:00
mantikoros
663821d0a0 contract overview: remove delete button for nonzero volume resolved contracts 2021-12-15 12:52:43 -06:00
mantikoros
f0e0796b99 resolution panel: show errors, disable when submitting, rename confirm button 2021-12-15 12:44:51 -06:00
mantikoros
3ee03ffcba bet panel: error handling 2021-12-15 12:44:51 -06:00
jahooma
a07d29b881 Switch to compact table of bets 2021-12-15 12:41:18 -06:00
Austin Chen
5d1ab7d5f6 Replace ConvertKit email with sign in button 2021-12-15 01:30:00 -08:00
Austin Chen
5f7052a58e Tweak resolution panel UI 2021-12-15 01:11:27 -08:00
Austin Chen
4bf739e06d Tweak bet page UI 2021-12-15 01:07:18 -08:00
Austin Chen
5bad8b2787 Hide resolved markets by default 2021-12-14 23:44:51 -08:00
Austin Chen
f5a8f9de1b Always lowercase titles 2021-12-14 23:44:51 -08:00
Austin Chen
c00c649fbe Replace "Cancel" with "N/A", for better visual spacing 2021-12-14 23:44:51 -08:00
Austin Chen
b14b433417 Set all markets to be the logged-in homepage 2021-12-14 23:44:50 -08:00
jahooma
fda5013bf8 Simple bets list 2021-12-15 01:41:56 -06:00
mantikoros
104257001b simulator: random bet in proportion to prob, delete vue simulator 2021-12-15 01:06:21 -06:00
jahooma
344b06124f useUser: Listen for changes to logged in user 2021-12-14 18:45:13 -06:00
jahooma
504053dde9 Right align bet input amount. Fix panel layout 2021-12-14 18:38:11 -06:00
jahooma
0c880bb0cb Add bet panel for creator of market. Can disable later if we decide to 2021-12-14 18:29:58 -06:00
jahooma
c3bfe6b058 Show balance in bet panel 2021-12-14 18:24:49 -06:00
jahooma
c0ec7ff3f1 Show error when bet exceeds balance. Don't allow bet number to get into exponential notation. 2021-12-14 18:09:05 -06:00
mantikoros
e662d10cfb resolve markets: remove seed bets from pot 2021-12-14 12:54:26 -06:00