Commit Graph

108 Commits

Author SHA1 Message Date
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
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
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
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
jahooma
504053dde9 Right align bet input amount. Fix panel layout 2021-12-14 18:38:11 -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
jahooma
6e61b38a9b Remove resolved panel, move info into contract overview. 2021-12-14 12:51:30 -06:00
mantikoros
72f77c668f ContractCard: color resolution text 2021-12-14 11:43:51 -06:00
mantikoros
9cbfbc5275 contract overview: hide percent chance if market is resolved 2021-12-14 11:37:31 -06:00
Austin Chen
7b55eeff88 Move shared logic into contracts-list 2021-12-14 02:27:22 -08:00
Austin Chen
dc90c4fa74 Extract shared logic into ContractDetails 2021-12-14 02:23:32 -08:00
Austin Chen
e2e168737a Move delete button to resolved contracts 2021-12-14 01:42:46 -08:00
Austin Chen
b6c5ad730a Add a loading spinner on submission 2021-12-14 01:07:11 -08:00
Austin Chen
1da3cc7725 Link to All Markets from header 2021-12-14 01:03:16 -08:00
Austin Chen
c900c1798b Use ContractsGrid for your markets 2021-12-14 00:35:20 -08:00
Austin Chen
f42e3c23da Split markets into Open and Resolved 2021-12-13 23:59:04 -08:00
Austin Chen
d4bb419478 Prettier everything
(Hopefully for the last time)
2021-12-13 23:30:09 -08:00
mantikoros
f2748db21d resolve markets 2021-12-14 01:02:54 -06:00
jahooma
325206f27b Fix graph's overlapping ticks on mobile 2021-12-14 00:56:36 -06:00
jahooma
43941cd212 Simple market resolved panel 2021-12-14 00:12:25 -06:00
jahooma
8d7f512248 More layout / style tweaks 2021-12-13 22:54:51 -06:00
jahooma
7b0c011d39 Improve styles of account page 2021-12-13 19:31:56 -06:00
mantikoros
14cf1e6a8b ContractCard: declutter, fix deletion 2021-12-13 19:24:13 -06:00
mantikoros
5ffe266cf7 contract creation: use slug, calculate seed amounts from given probability 2021-12-13 19:07:36 -06:00
jahooma
571c1307fa Factor out confirmation modal component. 2021-12-13 18:47:43 -06:00
jahooma
cd6ed7dc55 Add confirmation dialog when resolving market! 2021-12-13 18:28:37 -06:00
jahooma
0d56ad603e Add UI for resolution panel! 2021-12-13 18:00:10 -06:00
jahooma
7e08a68799 Clear bet input on submit 2021-12-13 18:00:10 -06:00
Austin Chen
ad6049350d Visually clean up bet panel 2021-12-13 10:37:20 -08:00
Austin Chen
62da8ee3a9 Darken the yes/no bg color 2021-12-13 10:37:20 -08:00
jahooma
9f59f4b3c4 Render the actual contract created time 2021-12-13 01:01:09 -06:00
jahooma
1303da7441 Graph time of bets 2021-12-13 00:55:35 -06:00
mantikoros
15aec6df55 homepage: tagline 2021-12-13 00:23:48 -06:00