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
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
jahooma
179fa8c608
Stephen's feedback: change 🔥 => 24h vol in card
2022-01-09 17:59:37 -06:00
jahooma
7528ac0604
Filter out creators and tags with no 7 day volume and sort displayed contracts by 7 day volume.
2022-01-09 15:55:10 -06:00
jahooma
e655462a2f
When sorting by creator or tag, use 7 day volume instead of pool size.
2022-01-09 15:32:04 -06:00
jahooma
cedd8df45c
Show hot market 24 hour volume instead of pool
2022-01-09 15:21:30 -06:00
jahooma
d1c6e5bc91
Change useContracts to return undefined instead of 'loading'. Serve static props on tag page
2022-01-09 14:51:20 -06:00
jahooma
16ab0e0c37
Query hot contracts from volume24Hours field.
2022-01-09 14:26:51 -06:00
jahooma
6b4417d8b8
Every 15 minutes, compute contract volume in last 24 hours and 7 days
2022-01-09 13:34:42 -06:00
jahooma
6d4554e9ef
Don't show resolved markets in hot markets
2022-01-09 12:14:20 -06:00
jahooma
34b208f63d
...and gray-500 text for resolution panel
2022-01-08 23:12:53 -06:00
jahooma
519dda6473
Use gray-500 instead of gray-400 for text against gray bg.
2022-01-08 23:10:08 -06:00
jahooma
e4206d6277
Add an extra new line when you add to a market description
2022-01-08 23:09:19 -06:00
jahooma
1013192281
Show the floor of your balance
2022-01-08 12:14:20 -06:00
mantikoros
abb5d53431
ensure bet amounts are positive
2022-01-08 11:51:42 -06:00
jahooma
6398f93ffe
Show just the hot markets on homepage.
2022-01-08 00:23:50 -06:00
jahooma
44fa4f263b
Encode referrer url param for stripe checkout
2022-01-07 18:51:16 -06:00
James Grugett
af6387bbf3
Stripe ( #22 )
...
* basic working payments
* Select funds amount and prettier funds button / dialog
* Add funds page and nav menu option
* Format funds amount. Use ghost button for back.
* Add mantic dollars description
* Improve styles of add funds page
* about styling
* change faq => about
* change default font to Courier
* header sign out menu item; remove user card
* keep logo font
* fix header issue
* stripe webhook: handle repeat events
* Make add funds button a gradient
* add funds referer url
* Fix add funds page after merge
* Slight VisD tweaks
* Update add funds button position. Mantic => Manifold
* Remove Add funds menu option for now.
* Set up product ids and endpoint for stripe prod
* Swap back order in profile menu
Co-authored-by: mantikoros <sgrugett@gmail.com>
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-01-07 16:56:14 -06:00
Austin Chen
fccf52eb34
Use our new dynamic opengraph image
2022-01-07 12:19:17 -08:00
mantikoros
1b69a34270
allow updating contract description
2022-01-07 13:29:23 -06:00
jahooma
e3800de2ad
Update resolution panel to gray bg
2022-01-06 22:00:23 -06:00
mantikoros
a7c42ee8ec
meta image tag
2022-01-06 21:54:11 -06:00
mantikoros
59034839a9
meta tag image
2022-01-06 21:41:29 -06:00
jahooma
bdb46fc7c1
Tweaks for create market page
2022-01-06 21:32:46 -06:00
James Grugett
85b5ee5cbc
Rename to Manifold Markets! ( #19 )
...
* Update logo and about page to manifold
* Change urls, titles / metatags, landing page
2022-01-06 12:48:30 -06:00
Austin Chen
95472c5faf
Tweak bet panel UI
2022-01-06 01:49:41 -08:00
Austin Chen
4659cab18c
Only "Advanced" label should look clickable
2022-01-06 01:48:27 -08:00
Austin Chen
f218a74a0c
Add probability slider to Create Market
2022-01-06 00:45:30 -08:00
jahooma
477878a09f
Right align tweet button
2022-01-05 23:02:39 -06:00
mantikoros
95b28bd536
create page: disable form elements after submitting
2022-01-05 21:10:06 -06:00
Austin Chen
22894cb44e
Update Notion link
2022-01-05 15:51:56 -08:00
jahooma
75e9d419ee
Fix payout calculation for correct bet in bet panel.
2022-01-05 17:03:30 -06:00
mantikoros
0b8ad76b0f
global warming: warm up all cloud functions on client
2022-01-05 12:30:16 -06:00
jahooma
5eaf50612d
Advanced metrics for bet panel
2022-01-05 12:23:44 -06:00
jahooma
3302cbddbd
Move contract close time into contract details
2022-01-05 11:49:23 -06:00
jahooma
e20537bf49
Remove tags and date from card.
2022-01-05 01:06:30 -06:00
jahooma
1bc323d575
Hot markets! 🔥
2022-01-05 00:33:01 -06:00
mantikoros
4386422f02
fix make-predictions
2022-01-05 00:07:36 -06:00
mantikoros
7c875f80da
subsidized markets; create contract cloud function
2022-01-04 23:51:34 -06:00
jahooma
57ee53e133
Create page: Change "Prediction" to "Question" and make it gray
2022-01-04 21:03:00 -06:00
jahooma
67007c5897
Make tweet button smaller
2022-01-04 16:47:56 -06:00
jahooma
6d97b82aee
Use our own Tweet button instead of loading Twitter script
2022-01-04 16:34:07 -06:00
jahooma
596c6fe33d
Show tags in contract details.
2022-01-04 16:09:03 -06:00
jahooma
73f1116b8f
Add Tweet button to share market
2022-01-04 14:57:48 -06:00
jahooma
db1543ea71
Round bet amounts in feed
2022-01-04 09:55:34 -06:00
Austin Chen
583dc10e6a
Don't prematurely show close times in feed
2022-01-03 23:41:52 -08:00
Austin Chen
07ce27f20b
Show activity feed on each market & allow comments on your bets ( #18 )
...
* Copy feed template from TailwindUI
* Show all bets in a feed-like manner
* Tweak design of individual trades
* Allow traders to comment on their bets
* Code cleanups
* Incorporate contract description into the feed
* Support description editing from contract feed
* Group together bets placed within 24h
* Fix build error
* Add a feed item for market resolution
* Add a feed item for markets that have closed
* Comment on a separate subcollection
2022-01-03 23:21:14 -08:00
mantikoros
f0e045694a
update about page with more info about basic betting mechanics
2022-01-03 23:56:56 -06:00
mantikoros
7d5b4359f8
align sales price
2022-01-03 23:56:56 -06:00
jahooma
4d0646a200
Add payout if MKT. Current value uses MKT payout.
2022-01-03 23:44:58 -06:00
mantikoros
44f44272ff
create page: minor changes
2022-01-03 13:00:53 -06:00
jahooma
24e873b6de
Show "sold for" under sale price / payout column. Outcome label to new file
2022-01-03 12:56:02 -06:00
jahooma
a331faa1a7
Create page: Chance => Initial probabilty, description out of advanced, advanced arrow clickable
2022-01-03 12:39:44 -06:00
jahooma
f7d4926d22
Update to show sale price in column
2022-01-03 00:57:25 -06:00
Austin Chen
fb0e16d619
Add a closing date to Create Market ( #10 )
...
* Preview a slimmed-down version of /Create
* Rework dropdown to be on bottom
* Parse the close time as just before midnight
* Prevent invalid contracts from being created
* Prevent trading after contract has closed
2022-01-02 21:21:25 -08:00
jahooma
3ba96028f4
Parse tags to get unique ignoring case
2022-01-02 16:53:20 -06:00
James Grugett
bad7a2b543
Sort & query url params ( #17 )
...
* Sort query in progress
* Search and query url params!
2022-01-02 16:46:04 -06:00
jahooma
b375256e96
Reuse ResolutionOrChance component. Make smaller for card, larger for contract page.
2022-01-02 14:53:42 -06:00
jahooma
657b6b2763
Improve positioning of x% chance on mobile, break words in description.
2022-01-02 13:09:11 -06:00
mantikoros
cdf25ba659
contract page seo tags
2022-01-02 12:57:52 -06:00
mantikoros
907acec601
Mkt resolution 2: Enable MKT resolution ( #16 )
...
* new standard resolution; contract.totalBets; MKT resolution
* recalculate script
* enable resolve MKT
* different approach to resolve MKT
* comment out init
* Count payouts for bets with exluded sales
Co-authored-by: jahooma <jahooma@gmail.com>
2022-01-02 00:27:58 -06:00
jahooma
a9e8b4c1e7
Attempt to fix external link in description
2022-01-01 23:52:32 -06:00
jahooma
8c644da10d
Update contract title with resolution or percent chance
2022-01-01 22:52:55 -06:00
mantikoros
5890b74225
Mkt resolution: new standard resolution (pay back bets first) ( #15 )
...
* new standard resolution; contract.totalBets; MKT resolution
* recalculate script
* Fix one bug and change script name
Co-authored-by: jahooma <jahooma@gmail.com>
2022-01-01 19:03:18 -06:00
jahooma
4db7e03b92
Switch to old current value calculation
2021-12-31 17:22:15 -06:00
jahooma
50e3dc5cd0
Add Discord link as menu option!
2021-12-31 14:33:05 -06:00
jahooma
7d5e02a69c
username => name on user page
2021-12-31 14:25:01 -06:00
jahooma
0b9b2396f1
Est. Max Payout => Shares in bet table
2021-12-31 14:13:06 -06:00
jahooma
96d5ea0437
Add sort by tag
2021-12-31 13:41:41 -06:00
jahooma
f1977f26ea
Don't wrap external link with next/link
2021-12-31 13:41:41 -06:00
mantikoros
6eda71286c
nav bar: dark background, no shadow
2021-12-31 13:31:41 -06:00
jahooma
41a011a9bb
Increase size of creator name. Decrease spacing
2021-12-30 16:31:04 -06:00
jahooma
6a851fe86a
Update resolve descriptions
2021-12-30 15:55:50 -06:00
James Grugett
f78920c912
Organize markets by creator!! ( #14 )
2021-12-30 14:03:32 -06:00
jahooma
527a8a8b09
White panels, medium shadows
2021-12-30 13:52:05 -05:00
jahooma
a5e4411075
Load all contracts, and filter to 99 client-side.
2021-12-30 13:35:29 -05:00
Austin Chen
a9e1cbc0be
Point local server to prod Firebase for now ( #13 )
2021-12-29 23:31:26 -08:00
jahooma
a902dfebca
Fit long names on mobile
2021-12-24 16:29:24 -05:00
mantikoros
f48ae0170b
Sell bets ( #12 )
...
* sell bet
* dev mode
* single-pot no-refund payoff; bet selling
* Increase default fetch size 25 -> 99
* Fix about page numbering
* Don't flash no markets when loading on tag page.
* Change Title to use body font
* Make a bunch of predictions at once (#9 )
* Set up a page to make bulk predictions
* Integrate preview into the same card
* List created predictions
* Make changes per James's comments
* Increase the starting balance (#11 )
* Remove references to paying for our Mantic Dollars
* Update simulator to use new calculations
* Change simulator random to be evenly random again
* Sell bet UI
* Migrate contracts and bets script
* Add comment to script
* bets => trades; exclude sold bets
* change sale formula
* Change current value to uncapped sell value.
* Disable sell button while selling
* Update some 'bet' to 'trade'
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: jahooma <jahooma@gmail.com>
2021-12-24 15:06:01 -06:00
jahooma
856a2453a1
Remove references to paying for our Mantic Dollars
2021-12-21 14:02:24 -06:00
James Grugett
ff4550fe51
Increase the starting balance ( #11 )
2021-12-21 13:52:27 -06:00
Austin Chen
9d438dc356
Make a bunch of predictions at once ( #9 )
...
* Set up a page to make bulk predictions
* Integrate preview into the same card
* List created predictions
* Make changes per James's comments
2021-12-20 22:29:32 -08:00
Austin Chen
3841e2a98f
Change Title to use body font
2021-12-20 22:29:01 -08:00
jahooma
998b01cde7
Don't flash no markets when loading on tag page.
2021-12-20 18:06:24 -06:00
jahooma
05b8ce96b5
Fix about page numbering
2021-12-20 18:04:19 -06:00
Austin Chen
f79d69cd69
Increase default fetch size 25 -> 99
2021-12-20 09:56:27 -08:00
jahooma
5cbbb55dba
Tweak spacing
2021-12-19 23:15:18 -06:00
jahooma
918229c6ef
Make navbar line up with content
2021-12-19 22:37:11 -06:00
jahooma
4b3b6436a0
Improve navbar styles. Create Page component with navbar and page structure.
2021-12-19 22:06:30 -06:00
jahooma
702c0af33e
Rename Header to NavBar. Split profile menu and mantic logo out.
2021-12-19 21:12:12 -06:00
mantikoros
28a2199ec7
fix header issue
2021-12-19 18:06:47 -06:00
mantikoros
bf211b91fe
keep logo font
2021-12-19 18:02:42 -06:00
mantikoros
c03e68640e
header sign out menu item; remove user card
2021-12-19 17:56:22 -06:00
mantikoros
481b97d689
change default font to Courier
2021-12-19 17:47:13 -06:00
mantikoros
6270ec2c59
change faq => about
2021-12-19 17:39:15 -06:00
mantikoros
f0acc11b83
about styling
2021-12-19 17:38:10 -06:00
jahooma
58521b6503
Switch to yarn
2021-12-19 16:08:25 -06:00
jahooma
ccff8c9bec
Run a ts type checker in parallel with nextjs dev process
2021-12-19 15:26:59 -06:00
jahooma
1d9adcbeaf
Fix build
2021-12-19 15:05:39 -06:00
jahooma
80ffed9460
Change navigation to add FAQ, and bundle Your bets and Your markets as options under menu.
2021-12-19 14:57:44 -06:00
jahooma
6efdf46bb3
Don't show "No markets found" when loading markets
2021-12-19 14:40:54 -06:00
Austin Chen
0a4e05ad32
Actually fix build error >.>
2021-12-19 01:24:37 -08:00
Austin Chen
c563ecc88b
Fix build error
2021-12-19 01:17:25 -08:00
Austin Chen
a760940ae6
Support hashtags in the question
2021-12-19 01:08:12 -08:00
mantikoros
f1a96b5320
static loading of markets
2021-12-18 23:59:42 -06:00
jahooma
ab2011609f
Rename [slug] to [contractSlug]
2021-12-18 23:50:47 -06:00
jahooma
b87e751b2d
Improve spacing on landing-page, about faq.
2021-12-18 23:44:08 -06:00
Austin Chen
2a4ad3734b
Various spacing fixes
2021-12-18 17:23:34 -08:00
jahooma
77291956bc
Display N/A instead of cancel
2021-12-18 18:37:37 -06:00
jahooma
86e323bf25
Fix collapse carrot positioning...
2021-12-18 18:11:40 -06:00
jahooma
5be7ce5f8f
Standardize spacing across pages.
2021-12-18 17:42:06 -06:00
Austin Chen
d8dfd103b9
Minor spacing fix
2021-12-18 15:24:58 -08:00