Commit Graph

432 Commits

Author SHA1 Message Date
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
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
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
jahooma
dfcac2fb97 Hide ante bets in graph and feed 2022-01-13 11:01:23 -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
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
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
df4ecb3fe2 move prettier config to top level 2022-01-10 17:44:42 -06:00