Commit Graph

556 Commits

Author SHA1 Message Date
jahooma
3f42991741 Show current payout in bet panel! Abolish estimated max payout. Show shares in tooltip 2022-01-15 15:28:19 -06:00
jahooma
0069846335 Turn off hook for fetching hot contracts for now. 2022-01-15 12:43:39 -06:00
jahooma
f6079e68d0 Choose random hot contracts from top 16 every 5 minutes. 2022-01-15 00:44:33 -06:00
mantikoros
a0be5b6394 calculateMoneyRatio 2022-01-15 00:11:27 -06:00
jahooma
e12e399679 Fix feed order moving around on load 2022-01-14 19:12:38 -06:00
jahooma
9d44c40415 Preserve scroll on back 2022-01-14 18:43:00 -06:00
jahooma
895eba4553 Get static props of just data for feed: active contracts, their bets & comments. 2022-01-14 18:16:32 -06:00
mantikoros
d25fb916ba Merge branch 'main' of https://github.com/manticmarkets/mantic 2022-01-14 17:39:27 -06:00
mantikoros
3fa2926559 create page design; require minimum ante; lower phantom ante amount; createContract checks 2022-01-14 17:39:17 -06:00
Austin Chen
77e6ea5a6b Replace close time with year 2022-01-14 18:34:54 -05:00
jahooma
10e6255a53 Optimize css by inlining it in html 2022-01-14 17:05:12 -06:00
jahooma
1af03bc53d Improve card style flashing on load 2022-01-14 16:59:14 -06:00
Austin Chen
78b27ee964 Truncate activity feed descriptions to 400 chars 2022-01-14 17:28:19 -05:00
jahooma
c70ec1dad3 Remove 3 unnecessary DOM elements from card 2022-01-14 12:28:48 -06:00
mantikoros
3805adff58 calculateMoneyRatio: use share value amount 2022-01-14 11:35:32 -06:00
mantikoros
520fd5d48e Merge branch 'main' of https://github.com/manticmarkets/mantic 2022-01-14 11:11:09 -06:00
mantikoros
6d536c4e16 change fee structure (paid only on winnings); calculateMoneyRatio 2022-01-14 11:11:01 -06:00
jahooma
40c853e595 Reimplement hot markets with flex box, since I can't figure out how to make the css grid version not flash bad layout. 2022-01-14 00:55:35 -06:00
jahooma
3e08349df6 Fix buttons going off the pay dialog 2022-01-13 21:15:44 -06:00
jahooma
aa77effcb6 Fix safari not breaking words on home page 2022-01-13 21:09:44 -06:00
mantikoros
41b24d415d Merge branch 'main' of https://github.com/manticmarkets/mantic 2022-01-13 20:52:11 -06:00
mantikoros
3cffccdd3f calculateMoneyRatio 2022-01-13 20:52:03 -06:00
jahooma
3ae456f730 Remove unnecessary margin from navbar 2022-01-13 17:15:32 -06:00
jahooma
974d41434e Try to fix flashing css grid #2 2022-01-13 17:08:12 -06:00
jahooma
ea342248de Try to fix css grid layout flash in prod 2022-01-13 17:02:13 -06:00
jahooma
6ae9e6354c Fix logo disappearing 2022-01-13 16:19:56 -06:00
jahooma
dcf07fe0a1 Load navbar more gracefully: don't show options until user loaded 2022-01-13 16:09:13 -06:00
jahooma
fc5fa000b9 Linkify user avatars in feed 2022-01-13 15:24:14 -06:00
jahooma
1683a3842b Link to user from feed mentions. Show name instead of username in card. 2022-01-13 15:16:47 -06:00
jahooma
07a7fc219b Axe landing page, show home feed 2022-01-13 14:54:31 -06:00
jahooma
2db69e4d15 Non-blue titles for bet / resolution panel 2022-01-13 12:58:49 -06:00
jahooma
2b618be3ac Increase padding on contract page 2022-01-13 12:58:49 -06:00
mantikoros
1c74afd741 Merge branch 'main' of https://github.com/manticmarkets/mantic 2022-01-13 12:49:56 -06:00
mantikoros
58fbc40276 migration script 2022-01-13 12:49:47 -06:00
jahooma
dfcac2fb97 Hide ante bets in graph and feed 2022-01-13 11:01:23 -06:00
mantikoros
411a739004 ante bets created at same time as contract 2022-01-13 10:40:08 -06:00
mantikoros
431f8d41cf Merge branch 'main' of https://github.com/manticmarkets/mantic 2022-01-12 23:44:34 -06:00
mantikoros
a8896375c7 migration script 2022-01-12 23:43:41 -06:00
mantikoros
bc454e89ba calculateMoneyRatio 2022-01-12 23:43:07 -06:00
jahooma
4f8d689ad8 Remove duplicate about, from merge error? 2022-01-12 22:06:11 -06:00
jahooma
de043de589 Add visibility field to contracts. Hot contracts & activity feed show only visibility 'public'. 2022-01-12 19:53:50 -06:00
jahooma
1fbde3646f Bump up feed padding on mobile 2022-01-12 15:32:50 -06:00
jahooma
33f4965fa4 Change activity feed to white bg, no hover bg, smaller width, centered 2022-01-12 15:23:29 -06:00
jahooma
cc5312f52e Change is prod to true 2022-01-12 15:23:29 -06:00
mantikoros
23e7c8aaf3
script to port to new dpm (#27)
* initial commit

* antes

* rename path, compute to contractPath, contractMetrics

* merge

* Include antes as bets; more calculations

* fees on estimated winnings

* mkt payout calculation

* contract: remove startPool, add phantomShares

* Merge branch 'main' into new-dpm

* dpm migration script

* my service account

* script to correct afterProb of last bet
2022-01-12 15:21:03 -06:00
Austin Chen
342cef8c1d Make "add funds" an outline button 2022-01-12 14:16:50 -05:00
mantikoros
9d5490cf9a
Switch to new dpm mechanism (#26)
* initial commit

* antes

* rename path, compute to contractPath, contractMetrics

* merge

* Include antes as bets; more calculations

* fees on estimated winnings

* mkt payout calculation

* contract: remove startPool, add phantomShares

* Merge branch 'main' into new-dpm

* dpm migration script

* my service account
2022-01-12 13:01:04 -06:00
Austin Chen
d38f1300c3 Reduce visual weight of "add funds" button 2022-01-12 13:35:11 -05:00
Austin Chen
7c1d70313b Uncardify activity feed 2022-01-12 13:20:28 -05:00
Austin Chen
5c4235a247 Narrower padding for mobile 2022-01-12 12:57:35 -05:00