Commit Graph

572 Commits

Author SHA1 Message Date
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
Austin Chen
2df96cc0b5 Replace '24h vol' with trending icon 2022-01-12 12:51:46 -05:00
Austin Chen
344ce69fee Move About page out of navbar 2022-01-12 02:18:14 -05:00
Austin Chen
edb3809f1c Standardize on max-w-4xl 2022-01-12 02:13:01 -05:00
Austin Chen
d121e59189 Only permit comments within an hour of betting 2022-01-12 01:47:56 -05:00
jahooma
8839ffc492 Require close date for new markets. Update description placeholder to say it's optional. 2022-01-11 23:40:41 -06:00
jahooma
ca38640b89 Tweak positioning of add funds button, no green initial probability 2022-01-11 23:29:50 -06:00
jahooma
5947be6647 Darker timestamp on feed 2022-01-11 22:00:03 -06:00
jahooma
2f88a5cdab Remove Activity Feed from create page per Stephen 2022-01-11 21:59:44 -06:00
jahooma
19c0f83b85 Activity feed on home page! All markets navbar option. 2022-01-11 21:56:11 -06:00
jahooma
ebb1bc7359 Fix feed layout on mobile, adjust spacing, max width. 2022-01-11 14:57:53 -06:00
mantikoros
f10f7bbaea market data cloud function 2022-01-11 13:30:18 -06:00
mantikoros
0fef0eeccb functions: change entry point after adding common directory 2022-01-11 13:30:00 -06:00
Austin Chen
5b431226d4
Show all recent activity on a central feed (#24)
* Tracks all market activity on a single page

* Support both global and per-contract feeds

* UI tweaks

* Include contract description in activity feed

* Show activity feed on Create page
2022-01-11 11:56:26 -05:00
jahooma
dc7460f209 Fix tweet button wrapping sometimes 2022-01-11 10:29:54 -06:00
jahooma
209089cc45 Update white bg logo to be white 2022-01-11 00:34:37 -06:00
James Grugett
bfd0af1c80
New logo: oragami crane (#25)
* new logo

* Switch out mantis for crane in logos

* White svg on dark background. Align correctly on landing page.

* Mobile navbar: hide your name, write out Manifold Markets

Co-authored-by: mantikoros <sgrugett@gmail.com>
2022-01-11 00:16:58 -06:00
jahooma
7fbecbc102 Extract bet amount input to component. 2022-01-10 21:41:42 -06:00
jahooma
6ef48af085 Hide add funds button if you are a first-time user (have 1000 balance) 2022-01-10 17:55:36 -06:00
mantikoros
9a834526c0 formatting 2022-01-10 17:52:03 -06:00
mantikoros
df4ecb3fe2 move prettier config to top level 2022-01-10 17:44:42 -06:00
mantikoros
a1aeabeab4 move market logic to common 2022-01-10 16:49:13 -06:00
mantikoros
8266fb995c safer payUser 2022-01-10 16:49:13 -06:00
mantikoros
129d66c10f improve slugs 2022-01-10 16:49:13 -06:00
jahooma
c5ab1ba2e0 HTML resolved market email 2022-01-10 16:08:38 -06:00
mantikoros
b97a65cf2c refactor data structures, calculations to common directory 2022-01-10 15:07:57 -06:00
jahooma
dd6edc3b7a Use sale amount for sold bets. Round one more item in the feed. 2022-01-10 11:38:44 -06:00
jahooma
188ab66029 Don't wrap text on Sign in to trade button 2022-01-10 11:02:43 -06:00
jahooma
d47e2f5d93 Decrease wide page width from 7xl to 6xl 2022-01-10 10:48:13 -06:00
jahooma
a04c978408 Keep page wide if showing resolve panel 2022-01-10 10:33:02 -06:00
jahooma
829c8a4b75 Disallow selling after close time! Enforce no trading after close on server. 2022-01-10 10:33:02 -06:00
mantikoros
01506fedeb about page 2022-01-10 01:12:14 -06:00
Austin Chen
a9b4570fff Cut creator name from OG card metadata
(It's already on the top)
2022-01-10 02:09:39 -05:00
Austin Chen
feca042e47
Use the generated OpenGraph card in all markets (#23)
* Run OpenGraph server on dev port 3001

* Cut '%' since frontend already passes it

* Use the generated card in markets

* Rename to ogCardProps

* Don't show creator avatar url, for now

* Remove bad comment
2022-01-10 02:05:24 -05:00
Austin Chen
ed37d93868
Dynamically generate Opengraph images for each market (#21)
* Start customizing opengraph image

* Fix cover image size to 1200x630

* Design a text-based, dynamic preview card

* Load designed html into template.ts

Remove twemoji for now too

* Take in params to configure Manifold card

* Switch back to hardcoded png for default case
2022-01-10 00:50:31 -05:00